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: Urgent Help! Set Customed Directory
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
Jan 21, 2008
04:23 PM
Urgent Help! Set Customed Directory
Hi,
I am working on an Installscript MSI project and created a customized folder "MyRoot" in Files and Folders->Destination Computer's Folder. I added couple of files in MyRoot. In the wizard, the users could change to their desired directory. Could anyone tell me how to define/set the MyRoot value in InstallScript? I tried MSISetProperty but these files were never installed under MyRoot directory.
Any comments will be very much appreciated! Thanks ahead!
David
I am working on an Installscript MSI project and created a customized folder "MyRoot" in Files and Folders->Destination Computer's Folder. I added couple of files in MyRoot. In the wizard, the users could change to their desired directory. Could anyone tell me how to define/set the MyRoot value in InstallScript? I tried MSISetProperty but these files were never installed under MyRoot directory.
Any comments will be very much appreciated! Thanks ahead!
David
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 22, 2008
05:22 PM
Perhaps try using a public property (one with an all-capital name: MYROOT instead of MyRoot), and, depending where you're calling the script, try MsiSetTargetPath?
If nothing else, perhaps try creating an MSI log file to check the property values?
If nothing else, perhaps try creating an MSI log file to check the property values?