Hi Jack,
The file name is known but the full path is unknown it depends on where the user installed the first project.
In order to find the path where the user installed the first version of the product, you can go in the
Search page, use the
[New Search] toolbar button to add a new search, then click on the
[Search Location] toolbar button, select "Registry" and search for the registry entry that contains the path to your product. For example:
- Root: HKEY_LOCAL_MACHINE
Key: SOFTWARE\Your Company\Your Application
Name: Path
Type: Retrieve the raw value
Then you can use the resulted search property as the default path for this application in the Install Parameters page.
- installer loads data from a .config file
To achieve this, you can create your own custom action that takes the information from the .config file and stores it into properties.
- a dialog will contain some edit boxes filled with the information from the .config file from the same folder as the exe
You can go in the
Dialogs page, create a new dialog and design it as you please, then use the properties that contain the information to show it in the edit boxes (i.e. select an edit box, then in the "Properties" pane, "Property" field write a property that contain information taken from the .config file).
- user edits the edit boxes
- the installer changes the file with the user information entered
When the application is installed, the user can edit the information and it can be written in the .config file using the
XML File feature.
Just let us know anytime you need help.
Best regards,
Eusebiu