Query on patch uninstall
[font="trebuchet ms"]Hi,
[font="trebuchet ms"]
[font="trebuchet ms"]I have a question on the behaviour of the patch install and uninstall.
[font="trebuchet ms"]
[font="trebuchet ms"]As of my understanding, when we apply the patch, it will take a back up of the base files(which it is going to upgrade) and then install the patch files. Adn when the patch is uninstalled, it restores the original files from the back up.
[font="trebuchet ms"]
[font="trebuchet ms"]Say, if i am installing my application from a nework share, say 'X:'. Then I am applying patch on the appl., After some point of time the network drive is disconnected. Now, I am trying to uninstall the patch. That time it is asking for the original source??? until we give the source patch uninstallation is not proceeding??
[font="trebuchet ms"]
[font="trebuchet ms"]Is this the standard behaviour of the installer?? Also, If i browse the same file from a diff location, should it accept??
[font="trebuchet ms"]
[font="trebuchet ms"]Please help me out, as i am facing this problem in my patch to be released..
[font="trebuchet ms"]
[font="trebuchet ms"]Thanks
[font="trebuchet ms"]
[font="trebuchet ms"]
[font="trebuchet ms"]
[font="trebuchet ms"]
[font="trebuchet ms"]
[font="trebuchet ms"]
[font="trebuchet ms"]
[font="trebuchet ms"]
[font="trebuchet ms"]
[font="trebuchet ms"]
[font="trebuchet ms"]
[font="trebuchet ms"]
[font="trebuchet ms"]
[font="trebuchet ms"]
0 Comments
[ + ] Show comments
Answers (6)
Please log in to answer
Posted by:
anonymous_9363
15 years ago
No, the files it's creating are rollback files which are only used if the install fails. Once the install completes, the files are deleted. If you want to back-up and restore the files which the patch replaces, you'll need to create your own EXE or script to do that. Obviously, the Custom Action calls to the back-up and restore will need to be appropriately conditioned so that they only execute at the appropriate time.
For your specific question concerning source files being network-hosted, the obvious solution is to use UNCs instead of mapped drives.
For your specific question concerning source files being network-hosted, the obvious solution is to use UNCs instead of mapped drives.
Posted by:
Inabus
15 years ago
Patches are funny, only certain files can be uninstalled when deploying a patch and in most cases you will find that the files you patch fall into the category of NOT being able to be uninstalled.
http://msdn.microsoft.com/en-us/library/aa372102(VS.85).aspx
The above link details what makes a patch uninstallable, which is pretty much everything :)
P
http://msdn.microsoft.com/en-us/library/aa372102(VS.85).aspx
The above link details what makes a patch uninstallable, which is pretty much everything :)
P
Posted by:
getIT
15 years ago
[font="trebuchet ms"]
[font="trebuchet ms"]
[font="trebuchet ms"]Hi Ian,
[font="trebuchet ms"]
[font="trebuchet ms"]Then, how is that the files are restored after the patch uninstall. From where these files are restored?
[font="trebuchet ms"]
[font="trebuchet ms"]Paul, the patch is getting uninstalled and also restoring the original files. But my problem is, it is asking for the source files(of the original appl).
Once the install completes, the files are deleted
[font="trebuchet ms"]
[font="trebuchet ms"]
[font="trebuchet ms"]
[font="trebuchet ms"]
[font="trebuchet ms"]
[font="trebuchet ms"]
Posted by:
anonymous_9363
15 years ago
You need to re-read my response. It's the rollback files which get deleted.
As to files being restored, I'm not aware of ANY standard functionality in the Installer engine which, during an uninstall, restores files which were replaced during the install.
Are you sure this is a patch (an MSP)?
As to files being restored, I'm not aware of ANY standard functionality in the Installer engine which, during an uninstall, restores files which were replaced during the install.
Are you sure this is a patch (an MSP)?
ORIGINAL: getITProcMon will show you.
[font="trebuchet ms"]From where these files are restored?
Posted by:
getIT
15 years ago
Posted by:
Inabus
15 years ago
In that case try:
http://msdn.microsoft.com/en-us/library/aa370841(VS.85).aspx
This details how and why a patch may require the original source :)
P
http://msdn.microsoft.com/en-us/library/aa370841(VS.85).aspx
This details how and why a patch may require the original source :)
P
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.