Hi,
This can be achieved very easy using Advanced Installer. Here is how you can do it:
1. Switch to "Install Parameters" page and a new property like this: Name: TEST_PATH (uppercase), Value: C:\
2. Switch to "Files and Folders" page and create a "New Folder->Property Based" choose the property created at step 1. Add the MDB files in this folder.
3. Switch to "Dialogs" page, select the "WelcomeDlg" and choose "New Dialog" from the context menu. Under this dialog add a "Radio Button Group" and two radio buttons on it.
4. Select the "Next" button on the dialog added at step 3. Add two control events on that button like this:
4.1.
Name: SetProperty (after you select "SetProperty" from the combo edit the field with: [TEST_PATH])
Argument: type the network path
Condition: PATH_PROP = 1 (PATH_PROP is the property of the "Radio Button Group" control and 1 is the value of the first radio control, you can edit those in the "Properties" list of the selected control)
4.2.
Name: SetProperty (after you select "SetProperty" from the combo edit the field with: [TEST_PATH])
Argument: [APPDIR] (the local folder)
Condition: PATH_PROP = 2
Hope this helps.
Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
FOLLOW US
Get the latest news in Application Packaging