Changing the Install Directory
Ive created a package for Paint Shop Pro 8 using wise, ive tired to change the directory its installed to by changing the script after costfinalize like it said on the website. Im trying to get it to point to the D drive. but it still defaults back to the C: anyone know how to change this?
0 Comments
[ + ] Show comments
Answers (10)
Please log in to answer
Posted by:
bkelly
20 years ago
Posted by:
nevik
20 years ago
Posted by:
MSIMaker
20 years ago
Posted by:
Rhonamac
20 years ago
Hi Nevik - not sure if you still need a solution for this. A few months ago, I was having a hard time getting the Install Directory changed to D:\ (using Wise). I tried RootDrive with no luck. I finally added a custom action to my script:
Created a new property called MYDIR (or something unique) and entered desired drive letter for the value (i.e. D:\)
After the Cost Finalize entry in the User Interface sequence, insert a Set Directory custom action
Enter a unique Custom Action Name - doesn't matter what it is as long as it's unique
For the Directory field, clicked on the Browse button, and chose the folder you want the app to install to, and click OK. The Directory field will be populated with the property name of the folder (i.e.INSTALLDIR)
In the Directory Value field, entered the custom property you created in all caps/square brackets, followed by the folder path you want the application to install to: i.e. [MYDIR]Program Files\Windows Resource Kits\Tools. Click OK
It worked like a charm.
Hope this helps.
Created a new property called MYDIR (or something unique) and entered desired drive letter for the value (i.e. D:\)
After the Cost Finalize entry in the User Interface sequence, insert a Set Directory custom action
Enter a unique Custom Action Name - doesn't matter what it is as long as it's unique
For the Directory field, clicked on the Browse button, and chose the folder you want the app to install to, and click OK. The Directory field will be populated with the property name of the folder (i.e.INSTALLDIR)
In the Directory Value field, entered the custom property you created in all caps/square brackets, followed by the folder path you want the application to install to: i.e. [MYDIR]Program Files\Windows Resource Kits\Tools. Click OK
It worked like a charm.
Hope this helps.
Posted by:
oofemioo
20 years ago
Posted by:
plangton
20 years ago
I've found the rootdrive command option to be problematic - its works on most occasions, but some vendor supplied MSI's have some weird properties - one I had had DIRPROPERTY1, DIRPROPERTY2 etc that all had to be set to D: as WELL as rootdrive ... I found all this by extensive logging of the installation and also looking at the file table and tracing the directory structure there.
Hope that helps.
Paul
Hope that helps.
Paul
Posted by:
oofemioo
20 years ago
Posted by:
murali_kbhat
19 years ago
Posted by:
s.diwakar
18 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.