|
-
Mar 29th, 2012, 12:23 AM
#1
Thread Starter
New Member
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
-
Mar 29th, 2012, 05:10 AM
#2
Addicted Member
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
All men have an inherent right to life, the right to self determination including freedom from forced or compulsory labour, a right to hold opinions and the freedom of expression, and the right to a fair trial and freedom from torture. Be aware that these rights are universal and inalienable (cannot be given, taken or otherwise transferred or removed) although you do risk losing the aforementioned rights should you fail to uphold them e.g Charles Taylor; United Nations sources: http://www.un.org/en/documents/udhr/, http://www.ohchr.org/EN/Professional...ages/CCPR.aspx. Also Charles I was beheaded on the 30th of January of 1649 for trying to replace parliamentary democracy with an absolute monarchy, the same should happen to Dr Phil and Stephen Fry; source: http://www.vbforums.com/showthread.p...ute-Monarchism.
The plural of sun is stars you Catholic turkeys.
-
Mar 29th, 2012, 06:55 PM
#3
Re: Inno setup cannot launch exe
 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.
-
Mar 30th, 2012, 12:02 AM
#4
Thread Starter
New Member
Re: Inno setup cannot launch exe
 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
-
Mar 30th, 2012, 12:14 AM
#5
Thread Starter
New Member
Re: Inno setup cannot launch exe
 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
-
Mar 30th, 2012, 12:29 AM
#6
Addicted Member
Re: Inno setup cannot launch exe
 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.
All men have an inherent right to life, the right to self determination including freedom from forced or compulsory labour, a right to hold opinions and the freedom of expression, and the right to a fair trial and freedom from torture. Be aware that these rights are universal and inalienable (cannot be given, taken or otherwise transferred or removed) although you do risk losing the aforementioned rights should you fail to uphold them e.g Charles Taylor; United Nations sources: http://www.un.org/en/documents/udhr/, http://www.ohchr.org/EN/Professional...ages/CCPR.aspx. Also Charles I was beheaded on the 30th of January of 1649 for trying to replace parliamentary democracy with an absolute monarchy, the same should happen to Dr Phil and Stephen Fry; source: http://www.vbforums.com/showthread.p...ute-Monarchism.
The plural of sun is stars you Catholic turkeys.
-
Mar 30th, 2012, 01:32 AM
#7
Thread Starter
New Member
Re: Inno setup cannot launch exe
 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
Last edited by Rozario; Mar 30th, 2012 at 04:02 AM.
-
Mar 30th, 2012, 04:37 AM
#8
Addicted Member
Re: Inno setup cannot launch exe
 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?
All men have an inherent right to life, the right to self determination including freedom from forced or compulsory labour, a right to hold opinions and the freedom of expression, and the right to a fair trial and freedom from torture. Be aware that these rights are universal and inalienable (cannot be given, taken or otherwise transferred or removed) although you do risk losing the aforementioned rights should you fail to uphold them e.g Charles Taylor; United Nations sources: http://www.un.org/en/documents/udhr/, http://www.ohchr.org/EN/Professional...ages/CCPR.aspx. Also Charles I was beheaded on the 30th of January of 1649 for trying to replace parliamentary democracy with an absolute monarchy, the same should happen to Dr Phil and Stephen Fry; source: http://www.vbforums.com/showthread.p...ute-Monarchism.
The plural of sun is stars you Catholic turkeys.
-
Mar 30th, 2012, 04:53 AM
#9
Thread Starter
New Member
Re: Inno setup cannot launch exe
 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
-
Mar 30th, 2012, 05:43 AM
#10
Addicted Member
Re: Inno setup cannot launch exe
 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.
All men have an inherent right to life, the right to self determination including freedom from forced or compulsory labour, a right to hold opinions and the freedom of expression, and the right to a fair trial and freedom from torture. Be aware that these rights are universal and inalienable (cannot be given, taken or otherwise transferred or removed) although you do risk losing the aforementioned rights should you fail to uphold them e.g Charles Taylor; United Nations sources: http://www.un.org/en/documents/udhr/, http://www.ohchr.org/EN/Professional...ages/CCPR.aspx. Also Charles I was beheaded on the 30th of January of 1649 for trying to replace parliamentary democracy with an absolute monarchy, the same should happen to Dr Phil and Stephen Fry; source: http://www.vbforums.com/showthread.p...ute-Monarchism.
The plural of sun is stars you Catholic turkeys.
-
Mar 30th, 2012, 06:33 AM
#11
Thread Starter
New Member
Re: Inno setup cannot launch exe
 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
-
Mar 30th, 2012, 06:54 AM
#12
Addicted Member
Re: Inno setup cannot launch exe
 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
Last edited by Witis; Mar 30th, 2012 at 07:01 AM.
All men have an inherent right to life, the right to self determination including freedom from forced or compulsory labour, a right to hold opinions and the freedom of expression, and the right to a fair trial and freedom from torture. Be aware that these rights are universal and inalienable (cannot be given, taken or otherwise transferred or removed) although you do risk losing the aforementioned rights should you fail to uphold them e.g Charles Taylor; United Nations sources: http://www.un.org/en/documents/udhr/, http://www.ohchr.org/EN/Professional...ages/CCPR.aspx. Also Charles I was beheaded on the 30th of January of 1649 for trying to replace parliamentary democracy with an absolute monarchy, the same should happen to Dr Phil and Stephen Fry; source: http://www.vbforums.com/showthread.p...ute-Monarchism.
The plural of sun is stars you Catholic turkeys.
-
Mar 30th, 2012, 07:46 AM
#13
Thread Starter
New Member
Re: Inno setup cannot launch exe
 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
Last edited by Rozario; Mar 30th, 2012 at 08:11 AM.
-
Mar 30th, 2012, 10:07 AM
#14
Addicted Member
Re: Inno setup cannot launch exe
 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
All men have an inherent right to life, the right to self determination including freedom from forced or compulsory labour, a right to hold opinions and the freedom of expression, and the right to a fair trial and freedom from torture. Be aware that these rights are universal and inalienable (cannot be given, taken or otherwise transferred or removed) although you do risk losing the aforementioned rights should you fail to uphold them e.g Charles Taylor; United Nations sources: http://www.un.org/en/documents/udhr/, http://www.ohchr.org/EN/Professional...ages/CCPR.aspx. Also Charles I was beheaded on the 30th of January of 1649 for trying to replace parliamentary democracy with an absolute monarchy, the same should happen to Dr Phil and Stephen Fry; source: http://www.vbforums.com/showthread.p...ute-Monarchism.
The plural of sun is stars you Catholic turkeys.
-
Mar 30th, 2012, 01:33 PM
#15
Re: Inno setup cannot launch exe
Moved To Application Deployment
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|