/build/static/layout/Breadcrumb_cap_w.png

Rolling back a package install

I am currently trying to create a script that will update the symantec antivirus client from 10.1.6.6000 to 10.1.7.7000.

The script needs to include the ability to rollback to 10.1.6.6000 should the 10.1.7.7000 installation fail.

I was trying to use system restore to rollback, however, when I run the system restore on my restore point, it gives me this message:

A restoration to "SAV5/29/2008 9:34:08 AM" restore point failed. No changes have been made to the system.

Two questions:
1. Any ideas as to why the system restore is not succeeding?
2. Is there a better way of rolling back the version I am not thinking of?

Thanks for any help you can give!

0 Comments   [ + ] Show comments

Answers (4)

Posted by: anonymous_9363 15 years ago
Red Belt
0
Why on earth would you need a script? AFAIK, Symantec AV is supplied in MSI form (or, at least, the set-up stub extracts and executes an MSI) and as such rollback is built-in.
Posted by: jmcfadyen 15 years ago
5th Degree Black Belt
0
additional to that I would be relatively surprised if this wasn't default behaviour. Symantec do seem to be relatively well across Windows Installer.
Posted by: Lies0034 15 years ago
Yellow Belt
0
Thanks for your replies, the reason I am trying to do this and not just relying on the MSI is that I want to roll back further than what I think the MSI will do, I would like to rollback to the previous version of Symantec.

Example:
10.1.6.6000 is installed > begin 10.1.7.7000 install (which removes 10.1.6.6000) >10.1.7.7000 install somehow fails > rollback to 10.1.6.6000

Maybe this is a pipe dream, but if you have any thoughts I would be appreciative.
Posted by: jmcfadyen 15 years ago
5th Degree Black Belt
0
ahh ok I get whats going on now.

well have a look at FindRelatedProducts and RemoveExistingProducts actions. These are used during the upgrade actions.

You can have two scenarios

Uninstall completely old version then install new version

or

Partially uninstall old version, partially install new version.

The differences are found by moving the RemoveExistingProducts action closer or further aware from the FindRelatedProducts actions.

In your case I would try full uninstall then install. by default I think Symantec apps do the opposite. For some reason seems like your failing install due to incorrectly uninstalled previous versions.

On fail of new version you cannot rollback to older version in upgrade scenario (as far as I am aware)
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ