Uninstall generates 2343 error

Got a problem you cannot solve? Try here.
mprentice
Posts: 5
Joined: Thu Feb 09, 2012 11:37 am

Uninstall generates 2343 error

Postby mprentice » Thu Feb 09, 2012 11:50 am

Hi!

I have been trying to figure out why I keep getting a 2343 Windows error when doing an uninstall. I've used the debugger and think the problem is with installing a directory that uses a variable that is not $TARGETDIR$.

For example, I have:
Install Files D:\Bin\*.* to $TARGETDIR$\Bin, include subfolders
Install Files D:\Client\*.* to $CLIENTDIR$, include subfolders

Apply Install (get result into variable SUCCESS)

This generates the 2343 error on uninstall. If I comment out the $CLIENTDIR$ file install, I do not receive an error.

Is there a recommended workaround for this issue? Any assistance is appreciated.

Thank you.

giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Uninstall generates 2343 error

Postby giaviv » Thu Feb 09, 2012 11:55 pm

Hi,,

Are you making any changes to that folder between installing and removing the program?
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

mprentice
Posts: 5
Joined: Thu Feb 09, 2012 11:37 am

Re: Uninstall generates 2343 error

Postby mprentice » Fri Feb 10, 2012 11:49 am

Thank you for your response. I commented out everything after the $CLIENTDIR$ install line so that I could narrow down the problem so I do nothing with the files following the installation. I did add a watch on that variable and it is populated correctly before Apply Install is called. The files are installed successfully but when I uninstall, I get the 2343 error. The funny thing is all the files get removed anyway.

giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Uninstall generates 2343 error

Postby giaviv » Sat Feb 11, 2012 7:08 pm

Hi,

Thanks for your input. What are you using the unistaller return code for?
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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 77 guests