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: How to I change directory before calling action executing process
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
‎Mar 23, 2006
05:41 PM
How to I change directory before calling action executing process
I am trying to do like this:
cd c:\tmp\xx
c:\tmp\xx\bin\yy.exe
But wizard action says it actually does "cd" to c:\tmp\xx\bin before running yy.exe which I dont want. How do I go to particular directory before I call yy.exe because yy.exe expects call from certain directory only and does this relatively.
Thanks,
Manish
cd c:\tmp\xx
c:\tmp\xx\bin\yy.exe
But wizard action says it actually does "cd" to c:\tmp\xx\bin before running yy.exe which I dont want. How do I go to particular directory before I call yy.exe because yy.exe expects call from certain directory only and does this relatively.
Thanks,
Manish
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 24, 2006
06:39 AM
I guess you could execute the command in java with a Custom Action!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 24, 2006
11:26 AM
I got around the problem by writing a batch file which expects directory as an argument and then using execute process action to call that batch file and do how the heck I want to do.