I created a setup project with Wix Toolset, which does something like this:

  *   install (into ProgramFiles/MyApp, Desktop shortcut, StartMenu,...)
  *   create a folder ProgramFiles/MyApp/InstallFolder
  *   create some files in the folder ProgramFiles/MyApp/InstallFolder
  *   run a powershell script, which installs some COM+ components
In the ProgramFiles/MyApp/InstallFolder is also a powershell script, which 
removes my COM+ applications (regsvcs /u). This script is executed as a custom 
action on uninstall. But here I made a mistake - the custom action had the 
attribute After="RemoveFiles" (it should of course be Before="RemoveFiles"). 
Now when I try to uninstall on my application, the uninstall process terminates 
with the exception "There is a problem with this Windows installer package. A 
program run as part of the setup did not finish as expected. Contact your 
support personnel or package vendor.". The same exception occurs if I try to 
install/repair/change my application...
Is there any possibility to uninstall my application without the last (faulty) 
custom action? Or to 'overinstall' it somehow?
Simon


Simon Gerhold, razvojni inženir / Development Engineer
Cetis d.d., Čopova 24, 3000 Celje, Slovenia - EU, T: +386 3 4278 785, F: +386 3 
4278 651, www.cetis.si<http://www.cetis.si/>

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to