Call a text file update from a Custom Action - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

r00t
Posts: 28
Joined: Thu Jan 26, 2012 7:03 pm

Call a text file update from a Custom Action

hi,

how to call a Text file update from a Custom Action ?

Thanks !
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Call a text file update from a Custom Action

Hello,

I'm not sure I completely understand why you need to accomplish this. Can you please describe the scenario? Maybe there's a better solution for what you are trying.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
r00t
Posts: 28
Joined: Thu Jan 26, 2012 7:03 pm

Re: Call a text file update from a Custom Action

hi mihai,
In a dialogwindow ,i've a combobox with 2 items:
if the 1st item is selected, the text in my file has to stay with no changes, then i go directly to the VerifyReadyDlg.
but, if the 2nd item is selected, the next winow is an SqlConnectionDialog from witch i'get the informations to update my text file, then i go to the VerifyReadyDlg.
witch means that the launch of the Text Update is based on the selection of the item in my combobox,
Thanks.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Call a text file update from a Custom Action

Hello,

Actually here's what you can try:
- add the text update in the Files and Folders page
- reference the public properties associated with SQLConnectionDlg fields in the text update in the format you need
- condition the text update's component using the 2nd item combobox selected value

This way the text update will be created only if you select the 2nd item in the combobox. It will also contain the SQLConnectionDlg user information.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”