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!

NovaES
Posts: 149
Joined: Tue Feb 24, 2015 5:20 pm

To delete a file or several that are not recognized

Hello,

As well indicated in the title. In my application, creates files once the user is working with the application. I do not want to add these files in the installation, since when I released a new update, these files are removed and so I do not care.

Or if I could see any way when it detects will be updated installation package (which defaults to what I have to remove everything to reinstall the new version) if there was some way that when it detects that updates certain files nor delete or replace them, to leave them intact.

I hope your answers thanks
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: To delete a file or several that are not recognized

Hello,

I'm not sure I fully understand your scenario. Can you please give us more details, maybe exemplify?

Please note that during an uninstall, Windows Installer removes only the data registered into the MSI file. All other data created by custom actions, by the installed application or by the user is not registered in the MSI, therefore it will not be removed.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
NovaES
Posts: 149
Joined: Tue Feb 24, 2015 5:20 pm

Re: To delete a file or several that are not recognized

Hi Dan,

As you say, if you are not registered with MSI not eliminate. I wonder how I can create an action that only when the product is removed, delete certain files to indicate within the path where the product is installed (eg [ProgramFilesFolder][Manufacturer]\[ProductName])

For example, if the product is removed it can delete a file for example [ProgramFilesFolder][Manufacturer]\[ProductName]\listproduct.dat

Thank You
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: To delete a file or several that are not recognized

Hello,

If you want to also delete this data, you can use the Uninstall Cleanup wizard feature to remove any redundant files or folder. On the Files and Folders page, simply right click the folder that needs to be cleaned up upon uninstall and click Uninstall Cleanup. The “Wizard” will guide you through the rest of the process.

If you need any help, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
NovaES
Posts: 149
Joined: Tue Feb 24, 2015 5:20 pm

Re: To delete a file or several that are not recognized

Hello Dan, thank you for answering

I'm reviewing the tool. But you could show me a tutorial or images that leave no trace?

Thank You
Attachments
cleanerFolder.PNG
cleanerFolder.PNG (16.86 KiB) Viewed 6984 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: To delete a file or several that are not recognized

Hi,

Have you managed to get everything working? Does the Uninstall Cleanup Wizard work as expected?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
NovaES
Posts: 149
Joined: Tue Feb 24, 2015 5:20 pm

Re: To delete a file or several that are not recognized

Hi Dan,

Quite proud of this tool. Especially if you are indicating that when proceeding to an upgrade do nothing. The truth very happy with this tool, comfortable and without creating actions.

A question. Is there a way to revert the changes, that is, that I have set to do nothing? Just to see if you can reverse the changes and turn off the folder where you have been instructed
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: To delete a file or several that are not recognized

Hi,

When creating the Uninstall Cleanup operation, a file removal will be created in the folder that is set to be deleted. All you have to do is to delete the related file and the Uninstall Cleanup operation will not be performed.

If you have other questions, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
NovaES
Posts: 149
Joined: Tue Feb 24, 2015 5:20 pm

Re: To delete a file or several that are not recognized

Hi Dan,

I do not understand how to reverse these changes cso that does not interest me the removal tool. I explain it to me with images?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: To delete a file or several that are not recognized

Hi,

After the uninstall cleanup wizard, a file removal will be created in the related directory that is set to be deleted (see below):
FileRemoval.png
FileRemoval.png (8.95 KiB) Viewed 6957 times
In the File Removal Dialog you can further customize the file removal operation.

If you have other questions, please let me know.

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

Return to “Building Installers”