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: 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
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
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