Need access to original setup files while uninstalling

Got a problem you cannot solve? Try here.
Christoph Schneegans
Posts: 55
Joined: Tue Jan 09, 2007 12:20 pm

Need access to original setup files while uninstalling

Postby Christoph Schneegans » Fri Feb 23, 2007 1:35 pm

Hello!

With my setup, some files need to be replaced after compilation. This works very well when I use the "Copy/Move Local Files" command like this:

Code: Select all

...
Copy Local Files $SFXPATH$\\file to $APPDATA$\\$TITLE$\\file
Apply Install
...
However, uninstall fails when the original setup files are no longer accessible. For example, you might have installed from an USB stick and removed the stick, or installed from a network share and disconnected from the network.

When I uninstall with the /l switch, I see the following messages in the log file:

MSI (s) (58:84) [17:47:53:448]: Product: Foo -- Error 1606. Could not access the network address \\\\server\\installfiles\\.

Any hints?

Christoph Schneegans
Posts: 55
Joined: Tue Jan 09, 2007 12:20 pm

Postby Christoph Schneegans » Sun Feb 25, 2007 10:44 am

I've learned from another thread that this problem is due a design limitation of Windows Installer. CopyFileA is the solution.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 111 guests