Hi all, I have a Wix 2.0 MSI that I've dark'd from a Visual Studio project. The problem is that every time I uninstall the MSI from a computer, the MSI causes the computer to be flagged for reboot, which I don't want. I was able to narrow it down to it claiming a dll file is currently in use and can't be deleted.
That particular dll is actually called by the installutil.dll (that I got from Visual Studio) custom action in the Wix file. All the MSI does is install a website with that dll included. So no process should be holding that file except possibly IIS (which I've tried stopping) and when the installutil attempts to uninstall. Here is a snippet of the custom action and binary... <CustomAction Id="_AC1AE6A8_7591_4D4A_DFB3_64922D9C3DE0.uninstall.SetProperty" Return="check" Property="_AC1AE6A8_7591_4D4A_DFB3_64922D9C3DE0.uninstall" Value="/installtype=notransaction /action=uninstall /LogFile= "[#_91DF8125647F46A795BBD633C9C1882E]" "[VSDFxConfigFile]"" /> <Binary Id="InstallUtil" SourceFile="InstallUtil.ibd" /> One thing to note is that when I try manually uninstalling the dll with installutil.exe it doesn't seem to flag the computer for a reboot. Any ideas on why the installer thinks the file is locked and/or how can I prevent a reboot flag when uninstalling my MSI. Thanks, - Alex ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users