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

How to display the Save File As dialog

Wed Jul 21, 2021 9:30 am

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: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: How to display the Save File As dialog

Wed Jul 21, 2021 4:18 pm

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”