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
- :
- Unable to execute .bat 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
Feb 06, 2019
04:11 AM
Unable to execute .bat file
Hi,
I am trying to execute a bat file which will create folders and install a windows service. Due to some reason, it is always failing.
Any help is much appreciated.
Installshield 2015 - Basic MSI
I have attached the screenshot of my custom action settings
I am trying to execute a bat file which will create folders and install a windows service. Due to some reason, it is always failing.
Any help is much appreciated.
Installshield 2015 - Basic MSI
I have attached the screenshot of my custom action settings
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 06, 2019
08:08 AM
First thing I would try is to leave out the "\SysWOW64\". You don't need that. It might cause problems on a 32 bit system where that folder does not exist and on a 64 bit system that redirection will be handled for you.
If it still fails get a verbose log and take a look at that.
What exactly do you mean by "it is always failing"?
Is there an error message?
Another thing you can do is put several PAUSE's in your bat file to see how far you are getting or if the bat file gets executed at all.
Is there a reason that you are starting the service with a bat file instead of via using 'Services' under 'SYSTEM CONFIGURATION' in InstallShield.
If it still fails get a verbose log and take a look at that.
What exactly do you mean by "it is always failing"?
Is there an error message?
Another thing you can do is put several PAUSE's in your bat file to see how far you are getting or if the bat file gets executed at all.
Is there a reason that you are starting the service with a bat file instead of via using 'Services' under 'SYSTEM CONFIGURATION' in InstallShield.
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)