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!

mli04
Posts: 32
Joined: Tue Mar 02, 2021 10:15 am

How to display the Save File As dialog

I have a special requirement. The customer needs to back up an important file during the installation process. How do I display a dialog box for saving a file in the installation program?

I found the following example of opening a file, but this is not what I need, I want a dialog box to save a file, I hope anyone can help me, thank you.
https://www.advancedinstaller.com/user- ... -file.html
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: How to display the Save File As dialog

Hello,

Unfortunately, I am afraid there isn't any build-in support for your requirement.

However, please have a look over the following forum thread:

SaveFileDialog on button click

where I have explained how to achieve this through a custom action.

I am not 100% aware of your scenario, but in order to backup a file during the installation, you could simply use a "File Copy/Move" operation.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”