Read a custom properties during the uninstall - 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!

pmalick
Posts: 15
Joined: Fri Jul 10, 2009 4:43 pm

Read a custom properties during the uninstall

Hello,

When I upgrade my software, first the previous version will be uninstalled
I would like to know how to read the value of a custom properties during this uninstallation phase

I have no need to read this value when the user uninstalls the software through the add/remove panel

Thanks
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Read a custom properties during the uninstall

Hello,

In order to achieve what you want you can use our "Set persistent property" option. Also, you can take a look on our "Persistent MSI Properties" thread.

Let us know if this helps, otherwise please give us more details about your scenario.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
pmalick
Posts: 15
Joined: Fri Jul 10, 2009 4:43 pm

Re: Read a custom properties during the uninstall

Hello,

"Persistent property" does not work.

With more details, here is what I want to do

I have define two custom properties called MAJOR_UPGRADE and MINOR UPGRADE
I have defined two upgrade rules to set these custom properties

I would like to get back the value of MAJOR_UPGRADE and MINOR UPGRADE during the uninstall when the software is upgraded.

Best regards
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Read a custom properties during the uninstall

Hello,

I'm afraid I don't fully understand what you are trying to achieve. Can you give us a more detailed scenario (maybe exemplify)?

Also, please keep in mind that in order to clearly report an issue you can take a look on our How to report a problem for a faster resolution article.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”