Hi,
This can be done by using a custom action and a DoAction Control Event. Here are the steps:
- create a custom action which connects to the web page and sets the properties of the controls you want to populate (you can use a VBScript or C++ DLL custom action)
- we have an example for a C++ DLL custom action which can be used as a starting point:
http://www.advancedinstaller.com/user-g ... n-dll.html
- in a C++ DLL custom action you can set installer properties by using the
MsiSetProperty function:
http://msdn2.microsoft.com/en-us/library/aa370391.aspx
- schedule the custom action under the "UI Custom Actions" sequence in the "Custom Actions" page
- go to the "Dialogs" page and select the "Next" button on your custom dialog
- in the
Published Events tab add this control event:
- where "myaction.dll" is the name of your custom action (for this example it's a DLL custom action)
After this custom actions runs, the properties of the controls you want populated are set, therefore the controls will have the default value you want.
Regards,
Cosmin
FOLLOW US
Get the latest news in Application Packaging