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!

meysam
Posts: 31
Joined: Fri Feb 27, 2015 11:23 am

delete folder after finish setup

how create custom action for remove a folder that created by setup.

my scenario is:

1- create new regular folder in PublicDocumentsFolder section in target pc and called "db"
2- add file database.bak to db folder
3- in duration setup with inline Tsql this database restored
4- after successfully restore folder "db" in root C:\Users\Public\Documents must deleted

how config custom action for step 4

best regards
meysam
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: delete folder after finish setup

Hi Meysam,

In order to delete the related folder, you can create a custom action.
Please take a look on the How do I remove a file or a folder during installation? article with related information for hints and guidance.

If you need any help, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”