Inno setup cannot launch exe
hi everybody,
I have created windows vb application running on 32bit machine and packaged through Inno Setup Compiler 5.4.2. Once i install the application in the machine successfully it doesn't launch the application , the log file shows all dependencies are installed successfully.
Can anyone help me to sort out this issue?
regards
Rozario
Re: Inno setup cannot launch exe
Have you got a run section in your inno script, if not add it and see if it works. The help files, even the online help files, are quite good, otherwise look at the example below:
Code:
[Run]
; Run Post Install, use the no postinstall flag if you always want the application to run as postinstall creates a check box allowing the user to cancel this step.
Filename: "{app}\YourApplication.exe"; Description: "{cm:LaunchProgram,your application}"; Flags: postinstall
; append "; Flags: nowait" to the end if you don't need to wait for this app to execute before continuing the install
Re: Inno setup cannot launch exe
Quote:
Originally Posted by
Rozario
hi everybody,
I have created windows vb application running on 32bit machine and packaged through Inno Setup Compiler 5.4.2. Once i install the application in the machine successfully it doesn't launch the application , the log file shows all dependencies are installed successfully.
Can anyone help me to sort out this issue?
regards,
Rozario
Try the Tarma Installer instead. It works. QuickInstall should do it for you. Very inexpensive. Good Luck.
Re: Inno setup cannot launch exe
Quote:
Originally Posted by
Witis
Have you got a run section in your inno script, if not add it and see if it works. The help files, even the online help files, are quite good, otherwise look at the example below:
Code:
[Run]
; Run Post Install, use the no postinstall flag if you always want the application to run as postinstall creates a check box allowing the user to cancel this step.
Filename: "{app}\YourApplication.exe"; Description: "{cm:LaunchProgram,your application}"; Flags: postinstall
; append "; Flags: nowait" to the end if you don't need to wait for this app to execute before continuing the install
i have already included this flag but doesn't seems to be working , infact whenever i replace the build (MyAppp.exe) from the IDE with packaged exe(MyApp.exe from the installed directory) the application run smoothly.This is the thing that i stucked on .. please advice me
Thanks in advance
Re: Inno setup cannot launch exe
Quote:
Originally Posted by
Code Doc
Try the Tarma Installer instead. It works. QuickInstall should do it for you. Very inexpensive. Good Luck.
The compiler works fine i tested it, the matter i stucked on is the myApp.exe doesnt run after packaging , but when i replace the exe with build from the IDE the application works fine
Thanks in advance
Re: Inno setup cannot launch exe
Quote:
Originally Posted by
Rozario
i have already included this flag but doesn't seems to be working , infact whenever i replace the build (MyAppp.exe) from the IDE with packaged exe(MyApp.exe from the installed directory) the application run smoothly.This is the thing that i stucked on .. please advise me
Thanks in advance
It might be a corruption of inno (eg due to a virus or malware), so next why not try re downloading the inno setup package from here: http://www.jrsoftware.org/isdl.php and make sure you scan for viruses. This feature is tried and tested and should work.
Re: Inno setup cannot launch exe
Quote:
Originally Posted by
Witis
It might be a corruption of inno (eg due to a virus or malware), so next why not try re downloading the inno setup package from here:
http://www.jrsoftware.org/isdl.php and make sure you scan for viruses. This feature is tried and tested and should work.
I downloaded the same ,but getting the same issue.
Thanks
Re: Inno setup cannot launch exe
Quote:
Originally Posted by
Rozario
I downloaded the same ,but getting the same issue.
Thanks
Can you post the run section of your inno setup script here?
Re: Inno setup cannot launch exe
Quote:
Originally Posted by
Witis
Can you post the run section of your inno setup script here?
Please go through the run section
[Run]
Filename: "{app}\MyApp.0.exe"; Description: "{cm:LaunchProgram,My Application}"; Flags: nowait postinstall skipifsilent
Correct me if i am wrong
Thanks
Re: Inno setup cannot launch exe
Quote:
Originally Posted by
Rozario
Please go through the run section
[Run]
Filename: "{app}\MyApp.0.exe"; Description: "{cm:LaunchProgram,My Application}"; Flags: nowait postinstall skipifsilent
Correct me if i am wrong
Thanks
That looks non standard to me, try and rename your application .exe instead of .0.exe.
Re: Inno setup cannot launch exe
Quote:
Originally Posted by
Witis
That looks non standard to me, try and rename your application .exe instead of .0.exe.
sorry it was mistake
the run portion of the code is below please go through it
[Run]
Filename: "{app}\MyApp.exe"; Description: "{cm:LaunchProgram,My Application}"; Flags: nowait postinstall skipifsilent
thanks in advance
Re: Inno setup cannot launch exe
Quote:
Originally Posted by
Rozario
sorry it was mistake
the run portion of the code is below please go through it
[Run]
Filename: "{app}\MyApp.exe"; Description: "{cm:LaunchProgram,My Application}"; Flags: nowait postinstall skipifsilent
thanks in advance
It might be due to the skipifsilent flag:
skipifsilent
Valid only in a [Run] section. Instructs Setup to skip this entry if Setup is running (very) silent.
You can also try this alternative to see if it works:
Code:
[Run]
Filename: "{app}\MYPROG.EXE"; Description: "Launch application"; Flags: postinstall
Also here is the online help regarding the run section:
http://www.jrsoftware.org/ishelp/ind...pic=runsection
Re: Inno setup cannot launch exe
Quote:
Originally Posted by
Witis
It might be due to the skipifsilent flag:
skipifsilent
Valid only in a [Run] section. Instructs Setup to skip this entry if Setup is running (very) silent.
You can also try this alternative to see if it works:
Code:
[Run]
Filename: "{app}\MYPROG.EXE"; Description: "Launch application"; Flags: postinstall
Also here is the online help regarding the run section:
http://www.jrsoftware.org/ishelp/ind...pic=runsection
i just edited the [Run] code as you mentioned , but it persist the same issue
im so confused , stucked please advice me
thanks
Re: Inno setup cannot launch exe
Quote:
Originally Posted by
Rozario
i just edited the [Run] code as you mentioned , but it persist the same issue
im so confused , stucked please advise me
thanks
Seems like a weird problem to me, that example is directly from the inno help file so it should work. Perhaps there is something wrong with your pc. Can you try building it on another pc? Or it might even be an internationalization issue.
If you try building on another pc and it still fails, then I suggest you post in the inno setup newsgroup: http://www.jrsoftware.org/newsgroups.php
Re: Inno setup cannot launch exe
Moved To Application Deployment