Hi Badri,
I see that I might want to execute my custom "SendCollectedData" action during the RegisterUser "standard action". Can you please tell me (or point to some guide on) how I set this up now in my Professional installation?
I'm not sure how can I help. You can simply add the custom action anywhere you want in Custom Actions page.
Then added these in the ActionData:
[LogonUser][USERNAME][ShortProductName][Date]
-
LogonUser is a predefined installer property, so you don't need to do anything about it.
- To retrieve an user name you can add
LogonInformationDlg dialog in dialogs page. Its user name edit box uses the
USER_NAME property.
- I'm not sure what ShortProductName represents, but you may want to try using the
ProductName predefined property
-
Date is a predefined installer property, so you don't need to do anything about it.
In the end, you action data can be:
Code: Select all
[LogonUser]|[USER_NAME]|[ProductName]|[Date]
You server script can tokenize the values using "|" as a separator.
Regards,
Cosmin
FOLLOW US
Get the latest news in Application Packaging