jetnetadapter
Posts: 4
Joined: Tue Apr 25, 2017 8:06 pm

Using command line properties in uninstaller

Mon May 22, 2017 3:04 pm

Hi,
I'm running the installer with few properties and send a pixel (POST Request) to track the installs, something like:

setup.exe SUBID=12345 CAMPID=62626

its working well, i want to use same properties at uninstall process to track uninstalls.
I need to store the properties in registry? how can i read from registry and assign it back to properties?

Thanks

Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Using command line properties in uninstaller

Tue May 23, 2017 8:10 am

Hello,

Advanced Installer has predefined support for storing properties in the registry. These properties called "Persistent properties" are then used at Uninstall/Maintenance. Please take a look on our article : How do I make the properties in the package keep their values during Maintenance or Upgrade?
These are the steps to create persistent property:
1. go to "Install Parameters" page and create a new property
2. select "Set persistent property" option

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”