CA MSI to launch setup within sub folder.
Having troubles launching an executable from a sub folder folder.
Situation is I have a folder "AdminImage" within this folder I have a setup file that installs an application suite. I need to create a custom action outside the "adminImage" folder that will launch the setup.exe withing that folder! Sounds weird but if I remove the contents of the "adminimage" folder and try running the exe i get an error because the "Adminimage" folder no longer exists. So my solution is CA.msi\AdminImage\setup.exe. Tried to create a CA but it doesn't seem to fire off the setup file. the MSI just installs but nothing happens. Could it be the path thats the issue? how do you specify .\adminimage as a relative path? tried putting this in the property table, does a CA read the property table? maybe not.
the MSI outside the "adminImage" folder just needs to be a dummy launcher,
The reason I have to create this method is due to our 3rd party import tool for deploying software. It will only import if you point to a exe or msi, it then takes all files and folders within that directory and not outside it
Could someone give me a detailed guide on how to go about this task. I have WPS and installshield2012
Community Chosen Answer
If you have WPS, create a WiseScript exe and that will easily launch the setup.exe inside the admin image folder. Since it is a script, you can use %INST%\AdminImage\Setup.exe to point to your adminimage folder and setup.exe
%INST% gives you the current directory in Wise Script.
If you really want to do it through MSI, then use this:
In the MSI, go to InstallExecuteSequence table and make sure you have ResolveSource Action there in the table. If not then you have to add it. It is an inbuilt action in MSI.
Then in the Custom Action you need to use the following path
SOURCEDIR property only resolves when you have ResolveSource Action in the sequence.
Hope it helps you resolve the issue now..