This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Executing a .bat (DOS batch file) ...
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 07, 2006
07:40 PM
Executing a .bat (DOS batch file) ...
I have a need of executing a .bat file from the installer. I have tried the Execute Process bean without any luck.
Does anybody have any suggestions?
Greatly appreciated!
Thank you
Does anybody have any suggestions?
Greatly appreciated!
Thank you
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 08, 2006
10:04 AM
Execute Process is the way to go!
How are you using the Execute Process?
What are you using for your command?
Are you getting an error or it does it just no seem to run?
Is the batch file installed with your installation?
You can set a Process Exit Code Variable to something like BATCHRETURNCODE and set up a custom action after the Execute Process and print the variable in a message box or something of the sort!
How are you using the Execute Process?
What are you using for your command?
Are you getting an error or it does it just no seem to run?
Is the batch file installed with your installation?
You can set a Process Exit Code Variable to something like BATCHRETURNCODE and set up a custom action after the Execute Process and print the variable in a message box or something of the sort!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 08, 2006
04:23 PM
Hi,
The Execute Process is the way I have been going. I am able to launch many .exe program (e.g. word.exe, excel.exe, iexplorer.exe, etc.) and passing any kind of arguments, but when I try to launch cmd.exe I see absolutely no results. All I want is for the black DOS style window to popup and stay there.
Thanks
The Execute Process is the way I have been going. I am able to launch many .exe program (e.g. word.exe, excel.exe, iexplorer.exe, etc.) and passing any kind of arguments, but when I try to launch cmd.exe I see absolutely no results. All I want is for the black DOS style window to popup and stay there.
Thanks