Page 1 of 1

Cannot uninstall from disconnected network drive

Posted: Wed Apr 20, 2011 3:07 pm
by moldev
Hi,

I am setting up an installer with the following settings:
- Uncompressed directory layout
- Always cache setup sources = OFF

I can install my application sucessfully from a local drive, a USB key, a CD/DVD, or a network location.
If I subsequently delete the installer from the local drive, remove the USB key, or remove the CD/DVD from the drive, then uninstall, the application uninstalls successfully.
However, if I disconnect from the network, then uninstall, I get an error saying "Could not access network location <my network location>".

Can anyone provide information about why uninstallation works perfectly from disks, but not from network locations? Alternatively, are there other settings I can use which allow me to make this work?

I found that if I use an Single Compressed Exe instead of an Uncompressed Directory Layout, I do not see this issue. However, I would like to keep the uncompressed layout, so I don't want to take that route.

Thanks

Re: Cannot uninstall from disconnected network drive

Posted: Wed Apr 20, 2011 10:20 pm
by giaviv
Dear moldev,

Unfortunately the only workaround to your situation would be to use a different deployment method.
When you build uncompressed setups, the uninstallation link will point to your network drive, and therefore if its not connected your uninstalltion wont run.

Re: Cannot uninstall from disconnected network drive

Posted: Mon Aug 11, 2014 9:00 am
by ancere
Ok,
How can we prevent this problem from occurring in the future?

We can't anticipate the network setup of our end users, or how their network setup may change between versions of our software. How do we prevent this error from occurring? Are there specific install options that we should enable?

Are there any solutions for resolving this error? If an end user is having this problem, and can not install a new version because the uninstall is failing, how can we resolve this?

Obviously installing a new update to our software is very important to our users and us, are there any solutions if the original media/network location is unavailable? Are there any workarounds or registry entries that can be manipulated to allow the installation of the updated software?

John

Re: Cannot uninstall from disconnected network drive

Posted: Mon Aug 11, 2014 11:39 am
by FrancescoT
Dear John,

unfortunately, there isn't too much to do... and the aswer to your question is still the one before.

Regards
Francesco