Uninstalling Addin leaves empty directory

Add-in Express™ Support Service
That's what is more important than anything else

Uninstalling Addin leaves empty directory
Uninstallation of the addin leaves the install folder 
Christopher Cardinal




Posts: 133
Joined: 2005-05-17
Hi

When uninstalling an addin, the folder where it was installed is not itself deleted. It is empty but still there.

Why?

Posted 27 May, 2009 09:45:35 Top
Sergey Grischenko


Add-in Express team


Posts: 7224
Joined: 2004-07-05
Hi Christopher.

I guess that the custom actions may cause the issue.
Please try to remove the adxloader custom actions from the setup and rebuild it. Let me know about results.
Posted 27 May, 2009 11:27:41 Top
Christopher Cardinal




Posts: 133
Joined: 2005-05-17
Sergey,

Are you asking me to remove the uninstall custom action entirely? I have the basic uninstall action as created by your project wizard.
Posted 28 May, 2009 17:16:46 Top
Sergey Grischenko


Add-in Express team


Posts: 7224
Joined: 2004-07-05
Hi Christopher.

Yes, correct. I guess that you will have to run our custom actions from an executable file (x86) added to the Custom Actions editor of the setup project.
To register the add-in from an exe application you just need to run the following command lines:

register:
<full path>\regsvr32.exe /s "<full path>\adxloader.dll"
unregister
<full path>\regsvr32.exe /u /s "<full path>\adxloader.dll"
Posted 29 May, 2009 08:00:18 Top
Christopher Cardinal




Posts: 133
Joined: 2005-05-17
? why wouldn't you just fix the uninstall custom action to remove the folder?

Posted 29 May, 2009 09:58:22 Top
Sergey Grischenko


Add-in Express team


Posts: 7224
Joined: 2004-07-05
We will fix it in the next build of the product.
Posted 29 May, 2009 10:26:59 Top
Sergey Grischenko


Add-in Express team


Posts: 7224
Joined: 2004-07-05
Hi Christopher.

To fix the issue you just need to remove the [Manufacturer] constant from the target location of the add-in in the setup project.
E.g. please try to replace
[AppDataFolder][Manufacturer]\[ProductName]
with
[AppDataFolder][ProductName]


Posted 23 Jun, 2009 07:46:21 Top