I ran into this problem while experimenting with custom actions.
My project has a custom action which is triggered during install. That action simply creates a file on my C: drive and writes a line to it.
The installation works fine, the file is created and correctly written to by the custom action.
However, when I run the uninstall from the Windows Add/Remove Programs utility I get a message like the following:
Exeption occurred while initializing the installation:
System.IO.FileNotFoundException: Could not load file or
assembly 'file:///C:\Program Files\MyTestProject\TestCustomActions\
AdvancedInstallerUtility.dll' or one of its dependencies
The system cannot find the file specified.
What am I doing wrong?
Thanks,
cats
PS I have used the MS “Windows Installer CleanUp Utility” (see: http://support.microsoft.com/kb/290301)
to force the uninstallation so that I can continue testing.