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
- :
- Run a batch file with arguements
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
‎Nov 06, 2009
05:25 PM
Run a batch file with arguements
Hello All,
I am a total newbie . I tried doing variety of solutions on the forum but nothing worked :mad: .
In custom actions I am using "After File Transfer" and creating a new exe
Source Location:File exists on target computer
File Location: [SystemFolder]
file name and command line:
"[SystemFolder]cmd.exe" /c "[INSTALLDIR]install.bat [DATABASEDIR]file"
wait for action: yes
ignore exit code: no
i have the install.bat in [installdir] and file in [databasedir]
while brunning it gives me an error
File [SystemFolder] not found Cannot stream the file into binary mode. error code -1024.
Any help would be appreciated.
Thanks
Ankit
I am a total newbie . I tried doing variety of solutions on the forum but nothing worked :mad: .
In custom actions I am using "After File Transfer" and creating a new exe
Source Location:File exists on target computer
File Location: [SystemFolder]
file name and command line:
"[SystemFolder]cmd.exe" /c "[INSTALLDIR]install.bat [DATABASEDIR]file"
wait for action: yes
ignore exit code: no
i have the install.bat in [installdir] and file in [databasedir]
while brunning it gives me an error
File [SystemFolder] not found Cannot stream the file into binary mode. error code -1024.
Any help would be appreciated.
Thanks
Ankit
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 09, 2009
04:33 AM
pass [SystemFolder] in the arguments in place of [SystemFolder112].
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 10, 2009
09:44 AM
oops ... I did that only..... I passed [systemfolder] only in he arguements..... That was a typo ... sorry for that
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)