cfs80
Posts: 27
Joined: Tue Mar 30, 2010 9:10 am

Permanent and persistant user data wizard

Dear Sir,

What is the difference between selecting "Permanent" on "Organization" page and using "Persistant user data wizard"? What will the effect be if you deselect the function "Permanent" for a file on the next "Major Upgrade" you do? Also when using these functions will the file(s) remain untouched or will they first be backed up before installation starts and then restored in the end of installation?
Thanks!

Brgds
Christian
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Permanent and persistant user data wizard

Hi Christian,
What is the difference between selecting "Permanent" on "Organization" page and using "Persistant user data wizard"?
The differences are underlined in this user guide article.
What will the effect be if you deselect the function "Permanent" for a file on the next "Major Upgrade" you do?
When removing that "Major Upgrade" from the target machine( e.g. performing an upgrade or regular uninstall ), the component for which the option is disabled will be uninstalled accordingly.
Also when using these functions will the file(s) remain untouched or will they first be backed up before installation starts and then restored in the end of installation?
The latter would be the behavior from the child articles of the article above or when using the "Persistent User Data" wizard.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
cfs80
Posts: 27
Joined: Tue Mar 30, 2010 9:10 am

Re: Permanent and persistant user data wizard

Hi Mihai,

Thanks for your reply. If I understand you correctly, I can then use "Permanent" on "Organization" page to effectively hinder any uninstallation (upgrade) of file(s) (they will remain untouched?) until such time when I choose to unselect "Permanent" on "Organization" page on a "Major Upgrade" and then it will again be possible to upgrade/uninstall that/those file(s)?

Thanks!

Brgds
Christian
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Permanent and persistant user data wizard

Hi Christian,

Indeed if you deselect the option for a major upgrade then the next version major upgrade after that will be able to uninstall those files.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
cfs80
Posts: 27
Joined: Tue Mar 30, 2010 9:10 am

Re: Permanent and persistant user data wizard

Hi Mihai,

Just to make sure I don't misunderstand something,. Consider the following scenario:

1. I install a file named Test.exe version 1.0 which has been ticked with "Permanent" on "Organization" page in a "Major Upgrade" build.
2. Then I decide to build a new "Major Upgrade" containing a new version of file Test.exe version 1.1 for which I now untick "Permanent" on "Organization" page.

Will Test.exe version 1.0 now be overwritten or replaced (upgraded) with the new version of the file (Test.exe v1.1) from the "Major Upgrade" built under 2.?

When using "persistant user data wizard" is it the same as ticking "Never Overwrite" on "Organization" page?

And now for a completely different question. How do I get something installed under the path C:\Program Files\ on a Win 7, 64 bit version, ie avoiding that it get resolved to C:\Program Files (x86)\ ?

Thanks for your assistance!

Brgds
Christian
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Permanent and persistant user data wizard

Hi Christian,
Will Test.exe version 1.0 now be overwritten or replaced (upgraded) with the new version of the file (Test.exe v1.1) from the "Major Upgrade" built under 2.?
No, it will not be be overwritten or replaced. The component will not be removed during any uninstall.
When using "persistant user data wizard" is it the same as ticking "Never Overwrite" on "Organization" page?
"Never Overwrite" option affects only future installers which try to overwrite the component key path. In case of an "Uninstall old version first and then install new version" upgrade order the component is replaced.
If you use "Install new version first and then uninstall old version" the component will be preserved.
http://www.advancedinstaller.com/user-g ... rades.html

The "Persistent User Data" wizard sets "Never Overwrite" for the selected components and changes the upgrade order to "Install new version first and then uninstall old version".

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
cfs80
Posts: 27
Joined: Tue Mar 30, 2010 9:10 am

Re: Permanent and persistant user data wizard

Hi Mihai,
Will Test.exe version 1.0 now be overwritten or replaced (upgraded) with the new version of the file (Test.exe v1.1) from the "Major Upgrade" built under 2.?

No, it will not be be overwritten or replaced. The component will not be removed during any uninstall.
If I add your earlier statement:
Indeed if you deselect the option for a major upgrade then the next version major upgrade after that will be able to uninstall those files.
Have I understood it correctly then that
Test.exe version 1.0 will be overwritten or replaced (upgraded) with the new version of the file (Test.exe v1.1)
after the second ("Permanent unticked") "Major Upgrade" counting from the "Major Upgrade" where "Permanent" on "Organization" page were ticked? :?

Thanks!

Brgds
Christian
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Permanent and persistant user data wizard

Hi Christian,

My sentence:
Indeed if you deselect the option for a major upgrade then the next version major upgrade after that will be able to uninstall those files.
was in response to yours:
when I choose to unselect "Permanent" on "Organization" page on a "Major Upgrade" and then it will again be possible to upgrade/uninstall that/those file(s)?
and implies three versions:
1. original ( 1.0.0 )
* this version has "Permanent" enabled for component X

2. "major upgrade" ( 1.2.0 ) -> without original( 1.0.0 ) the term "Major Upgrade" wouldn't make sense
* this version will not be able to delete component X
* this version has "Permanent" disabled for component X

3. "major upgrade after that" ( 1.3.0 )
* this version will be able to uninstall component X

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”