How to save file beofre installation

Got a problem you cannot solve? Try here.
Post Reply
Joc02
Posts: 5
Joined: Mon Nov 14, 2011 8:42 am

How to save file beofre installation

Post by Joc02 »

Hello,

I would like save any files before installation.
In my exemple I deploy a WebSite and I've a default image which name : logo.gif.
But my client can change this
I can't use the option on install file, because I've a lot file neer this and I use a *.* wildcard.

So I'd like save my file, uninstall the old version, re-install the new version and copy the save file into the project.
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: How to save file beofre installation

Post by giaviv »

I am sorry, but I don't understand what you are trying to do or what the issue is.
Could you please clarify?
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
ulrichard
Posts: 150
Joined: Thu Dec 27, 2007 5:45 am
Location: Switzerland
Contact:

Re: How to save file beofre installation

Post by ulrichard »

The problem is that an update is essentially uninstalling the old version and installing the new one. Windows installer has some black magic to decide which file to keep if there are changes, or newer files, but start reading the docs... and you curse at Microsoft.

I wish there was a cleaner solution, but we do it by calling xcopy from the installer script to backup to temp and then restore.

Maybe there is something in InstallAware or Windows installer to treat files like configuration files.
In the debian packaging system that's straight forward...
http://www.pointline.com
http://www.paraeasy.ch
http://ulrichard.ch
Post Reply