Remove file from C drive when uninstalled from control panel - 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!

qwertyuiop
Posts: 35
Joined: Wed Dec 12, 2012 6:05 am

Remove file from C drive when uninstalled from control panel

Hi,

I have created EXE file and i installed it.when i suppose to remove it from control panel it does remove from control panel but the related file which are located at C drive is not removing .how to remove the file located at C drive when i uninstalled the exe from control panel.

Thanks
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Remove file from C drive when uninstalled from control p

Hi,

Normally when a package is created it has an unique Product Code assigned. Also, all its files are organized in components which has their own GUID assigned.

When the package is uninstalled, the OS searches for its Product Code and remove all its registered components.

There are some settings you can make in a project so that some files will not be removed at uninstall.

I'm not sure what files are not removed in your package and what is the reason they remain there after uninstall.

Can you please give us more details about your scenario? Along with the aip file and a verbose log.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
qwertyuiop
Posts: 35
Joined: Wed Dec 12, 2012 6:05 am

Re: Remove file from C drive when uninstalled from control p

Hi,

I have converted the jar file and patch file as Exe.The files related to EXE are stored in C drive (ie) the file that i have used to convert to Exe.When i supposed to uninstall the Exe from control panel the exe uninstalled successfully but the related file which it is stored in C drive is not deleted.

Thanks,
qwertyuiop
Posts: 35
Joined: Wed Dec 12, 2012 6:05 am

Re: Remove file from C drive when uninstalled from control p

Hi,

sorry i failed to attach the api.

please find the attached api.

Thanks.
Attachments
host.aip
(19.61 KiB) Downloaded 337 times

Return to “Common Problems”