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
- :
- What is the working directory variable for the root of install disc ??
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 30, 2010
08:26 AM
What is the working directory variable for the root of install disc ??
I am trying to setup a basic msi project.
I want the installer to run a file from the disc during installation.
for example, my disc layout looks like this:
setup.exe
next.exe
both files are in the root of the installation disc.
I want to make the installer run next.exe towards the end of the install.
so i set a custom action to run an exe.
What do I type for the Working Directory?
When i type SourceDir as the working directory, setup does not run next.exe, as if it doesn't recognize the variable.
I want the installer to run a file from the disc during installation.
for example, my disc layout looks like this:
setup.exe
next.exe
both files are in the root of the installation disc.
I want to make the installer run next.exe towards the end of the install.
so i set a custom action to run an exe.
What do I type for the Working Directory?
When i type SourceDir as the working directory, setup does not run next.exe, as if it doesn't recognize the variable.
(1) Reply
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 30, 2010
07:44 PM
Hello, pman626
You can add CA which run installscript code, here is the installscript code:
MsiGetProperty(hMSI, "SETUPEXEDIR", svPropertyValue, nvBufferSize);
LaunchAppAndWait( svPropertyValue ^ "next.exe", "", WAIT);
Hope this helps!
Kevin
You can add CA which run installscript code, here is the installscript code:
MsiGetProperty(hMSI, "SETUPEXEDIR", svPropertyValue, nvBufferSize);
LaunchAppAndWait( svPropertyValue ^ "next.exe", "", WAIT);
Hope this helps!
Kevin
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)