removing components from uninstall
We have a legacy package that needs a Q: drive mapped to install the program. The package does not install if the Q: drive is not mapped to that specific share.
I mapped the Q drive to the share and the install went fine.
Issue: On Uninstall of this package, we are getting an error:
Error1306: Another application has exclusive access to the file Q:\<path>\filename.dat. Please shut down all other applications, then click retry.
I made sure that no one has this file opened. (Thinking that it might be a shared file, and someone might still have the program open). We are still getting the same error.
Is there a way to disable uninstalling of this feature/component (filename.dat) in the uninstall table or somewhere else? All I want is that when we uninstall the program, there should be no check for this filename.dat component, and the program should just uninstall fine.
Any ideas?
I mapped the Q drive to the share and the install went fine.
Issue: On Uninstall of this package, we are getting an error:
Error1306: Another application has exclusive access to the file Q:\<path>\filename.dat. Please shut down all other applications, then click retry.
I made sure that no one has this file opened. (Thinking that it might be a shared file, and someone might still have the program open). We are still getting the same error.
Is there a way to disable uninstalling of this feature/component (filename.dat) in the uninstall table or somewhere else? All I want is that when we uninstall the program, there should be no check for this filename.dat component, and the program should just uninstall fine.
Any ideas?
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
aek
15 years ago
Quick note:
I opened the wsi and found the InstallDIR to Q:\<path>
I opened the wsi and deleted references to the specific <file>.dat, and then ran a msiexec /x with this changed msi; it still did not work.
The program creates no local folders on the c drive, but adds an entry in the Add-Remove programs, adds an entry in the startup and creates few reg entries.
I created an uninstall.bat to remove the shortcut and reg entries, how do I remove the entry from the Add-Remove programs? If I do this, then the program is as good as non existent on the machine.
Thank you,
I opened the wsi and found the InstallDIR to Q:\<path>
I opened the wsi and deleted references to the specific <file>.dat, and then ran a msiexec /x with this changed msi; it still did not work.
The program creates no local folders on the c drive, but adds an entry in the Add-Remove programs, adds an entry in the startup and creates few reg entries.
I created an uninstall.bat to remove the shortcut and reg entries, how do I remove the entry from the Add-Remove programs? If I do this, then the program is as good as non existent on the machine.
Thank you,
Posted by:
aek
15 years ago
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.