Problem adding folder with transform to USERPROFILE directory
Hi folks,
I have an application (vendor supplied MSI) that requires configuration during the first time it is run. Normally for apps like these I snapshot the changes during that first run and wrap them into a transform; reg key changes, .ini files, etc.
The application I am working with now dumps a bunch of files in a folder off of C:\Doc and Settings\<username> during the configuration. I built a transform with Admin Studio intending to add that folder to the USERPROFILE directory.
Instead of putting it where I wanted the installer decided to put the directory on the root of C:\. I played around with the transform and was able to change the directory property table and get the custom folder to install anywhere else, just not where I wanted it.
I decided to commit the cardinal sin of repackaging a vendor MSI, just to see the tables after it finished and compare them to mine, and from the looks of things they look the same.
The entry in the directory table has the Directory field set to PIVIEWER (the name of the custom folder). Parent is USERPROFILE. Default Dir is PIVIEWER.
Any suggestions would be appreciated, thanks!
I have an application (vendor supplied MSI) that requires configuration during the first time it is run. Normally for apps like these I snapshot the changes during that first run and wrap them into a transform; reg key changes, .ini files, etc.
The application I am working with now dumps a bunch of files in a folder off of C:\Doc and Settings\<username> during the configuration. I built a transform with Admin Studio intending to add that folder to the USERPROFILE directory.
Instead of putting it where I wanted the installer decided to put the directory on the root of C:\. I played around with the transform and was able to change the directory property table and get the custom folder to install anywhere else, just not where I wanted it.
I decided to commit the cardinal sin of repackaging a vendor MSI, just to see the tables after it finished and compare them to mine, and from the looks of things they look the same.
The entry in the directory table has the Directory field set to PIVIEWER (the name of the custom folder). Parent is USERPROFILE. Default Dir is PIVIEWER.
Any suggestions would be appreciated, thanks!
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
AngelD
15 years ago
Posted by:
SpriteAM
15 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.