Upgrade with persistent data - 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!

pauldennis
Posts: 50
Joined: Fri Oct 31, 2008 11:36 am

Upgrade with persistent data

I have updated our installer to version 3.33 and generated a new product code. We used to use the vbs script method that switched over to the persistent data Wizard when this became available. We are using the persistent data wizard to retain two files on the user's machine which include their data. All other files should be replaced with new ones. I have the "install first remove after" option selected in the upgrades page and there is a custom action "removeexistingproducts" with condition AI_UPGRADE<>"No" which I think is created by the wizard. However in testing the software is not removing and replacing the older files. the new product code is installed but all of the old files remain, not just the two files we wish to keep.

I'm using version 7.2 of AI.

any ideas?

regards
Paul
pauldennis
Posts: 50
Joined: Fri Oct 31, 2008 11:36 am

Re: Upgrade with persistent data

I think the issue is this custom action but I cannot delete it. Delete is greyed out ?
How do you remove standard action?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Upgrade with persistent data

Hi,
However in testing the software is not removing and replacing the older files. the new product code is installed but all of the old files remain, not just the two files we wish to keep.
Can you please send us the .aip file and averbose log of the installation so we can analyze this problem?
I think the issue is this custom action but I cannot delete it. Delete is greyed out ?
The problem is not caused by the standard action. This standard action already exists in the sequence, the wizard simply moves it to the end of the installation process,
this way the new installation first it installs and afterwards the old version is uninstalled.
How do you remove standard action?
Standard Actions cannot be deleted from the sequence, only custom actions can.
Standard actions can only be moved inside the installation sequence.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
pauldennis
Posts: 50
Joined: Fri Oct 31, 2008 11:36 am

Re: Upgrade with persistent data

can you clarify how persistent data is working with the Vista virtualstore. in our application under Vista user data is virtualised into c:\user\Appdata\Local\virtualstore\our folder.

I am trying to use a persistent data Wizard but the files are not being restored when we upgrade. We are currently using their VBS method to manage this.
regards
Paul
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Upgrade with persistent data

Hi Paul,

I'm afraid that Vista virtual store hasn't been tested for this feature. The feature has been tested to work only on normal
hard disk locations (no virtualization).

You can try to use it but problems could appear so if the wizard doesn't work consistently I recommend keep using the VBS scripts.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
pauldennis
Posts: 50
Joined: Fri Oct 31, 2008 11:36 am

Re: Upgrade with persistent data

Hello Bogdan,

Is there any update on the Issue of using the persistent data Wizard with Vista and the virtual store? Do you have FAQ or something similar on using persistent data with Vista ?
Thanks
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Upgrade with persistent data

Hi Paul,

As I said in my previous link I'm afraid that Virtual Store has not been tested and therefore we cannot guarantee a correct behavior.

A sure alternative to this is explained in the following article from our user guide.

Please let us know if you have any questions.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”