I got a little problem with Property Based Folders (using AI 5.2.1).
I though, it's gonna to work this way: Create a new property in "Install Parameters/Properties" and then in "Files and Folders" create a new Properts Based Folder and assign it to the property.
But when the MSI-package initializes, it always fails with the message "Could not access network location Your Value." (where "Your Value" is the default property value set in "Install Parameters").
Never mind, solved it removing the property from "Install Parameters" and creating a Custom Action "Property set with Formatted" where I initialize the property an another Custom Action with a VB-script where I set the propper value. That works fine
(Take it as tweak-report btw ^^)
What I'm now trying to do, is to install my application and its data into two separate folders (e.g. "C:\Program Files\MyApp\" for binaries and "C:\Documents and Settings\All Users\Application Data\MyApp\" for data).
Since I can only specify one path during UI installation, I found the tutorial how to add a custom folder dialog to the UI sequence. Well, in the example it looks well, but i need to modify it a litte bit:
I would like to have it AFTER the "SetupTypeDlg"-dialog and it must not appear when the database-feature is not selected...
I can't figure out how to change the sequence of dialogs and also I've got no idea woh to bind the folder dialog to the feature...
Comments and ideas welcome ^^
FOLLOW US
Get the latest news in Application Packaging