Thanks!  That was just what I was looking for.  I did try the /f flag
before but the options I was using weren't working.

Thanks again,

Jeff


> 1. Build a new MSI (with the same ProductCode) that uninstalls correctly.
> 2. "msiexec /fv new.msi" to recache/reinstall your MSI over the bad MSI.
> 3. You should now be able to uninstall.
>
> On Tue, Feb 15, 2011 at 11:32 AM, <s...@pacaccess.com> wrote:
>
>> Although my issue and question isn't wix-specific, it does pertain to
>> installers in general so I'm hoping someone on this mailing list might
>> have some suggestions.
>>
>> I'm working on the installer for my product (using the VisualStudio 2008
>> Setup Project template) and I've boxed myself into a corner.  I've been
>> playing around with custom actions and messed up the uninstall custom
>> action.  The problem is that the original MSI doesn't exist anymore (I
>> overwrote it when I rebuilt the installer), and when I try to uninstall
>> (via Add/Remove Programs, or directly via msiexec) the uninstall's
>> custom
>> action fails and I can't remove the product.  When I try to run a new
>> version of my installer, I get an error from the system telling me that
>> another version of the product exists and to use Add/Remove programs.
>>
>> In RegEdit I've located my product within
>>
>> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{my_product_guid}
>> and when I try:
>>
>>    msiexec /x {my_product_guid}
>>
>> ...I get the error I mentioned.  The error/issue is that the custom
>> delete
>> action requires a parameter passed in, and when the parameter is missing
>> the uninstall fails, however when I provide the missing parameter:
>>
>>    msiexec /x {my_product_guid} MY_PARAMETER="some_value"
>>
>> ...I still get the error telling me the parameter is missing.
>>
>>
>> Is there a way to force an uninstall and to ignore errors?  Or is there
>> a
>> way to brute force the removal?
>>
>> Thanks,
>>
>> Jeff
>>
>>
>>
>> ------------------------------------------------------------------------------
>> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio
>> XE:
>> Pinpoint memory and threading errors before they happen.
>> Find and fix more than 250 security defects in the development cycle.
>> Locate bottlenecks in serial and parallel code that limit performance.
>> http://p.sf.net/sfu/intel-dev2devfeb
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
>
>
> --
> virtually, Rob Mensching - http://RobMensching.com LLC
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>



------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to