Hey Guys,

For an install we have a custom action in our wixscript performing Regasm in
windows xp x64 environment. The install periodically fails at that point.
Sometimes it works..sometimes it doesnt. When I try to run regasm manually
using the command prompt on the same dll it always works.

Here is my custom action....

<CustomAction Id="CallRegASM" Directory="INSTALLDIR" Win64="no"
ExeCommand="&quot;[WindowsFolder]Microsoft.NET\Framework\v2.0.50727\regasm.exe&quot;
/codebase &quot;[ContentFilter]PNContentFilters.NetKPIDrawFilter.dll&quot;"
Return="check" />


It is being called in the <InstallExecuteSequence> like this.

<Custom Action="CallRegASM" After="InstallFinalize">NOT Installed</Custom>


The installer logs have the following in them...

Action start 10:36:08: CallRegASM.
> MSI (s) (80:68) [10:36:13:109]: Note: 1: 1722 2: CallRegASM 3: C:\Program
> Files (x86)\Matrikon\ProcessSuite\ProcessNet\ 4:
> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\regasm.exe" /codebase
> "C:\Program Files
> (x86)\Matrikon\ProcessSuite\ProcessNet\Web\NetKPI\ContentFilter\PNContentFilters.NetKPIDrawFilter.dll"
>
> MSI (c) (C8:9C) [10:36:13:125]: Font created.  Charset: Req=0, Ret=0,
> Font: Req=MS Shell Dlg, Ret=MS Shell Dlg
>
> Error 1722. 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.  Action CallRegASM, location:
> C:\Program Files (x86)\Matrikon\ProcessSuite\ProcessNet\, command:
> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\regasm.exe" /codebase
> "C:\Program Files
> (x86)\Matrikon\ProcessSuite\ProcessNet\Web\NetKPI\ContentFilter\PNContentFilters.NetKPIDrawFilter.dll"
>
> MSI (s) (80:68) [10:36:15:750]: Product: Matrikon NetKPI -- Error 1722.
> 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.  Action CallRegASM, location: C:\Program Files
> (x86)\Matrikon\ProcessSuite\ProcessNet\, command:
> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\regasm.exe" /codebase
> "C:\Program Files
> (x86)\Matrikon\ProcessSuite\ProcessNet\Web\NetKPI\ContentFilter\PNContentFilters.NetKPIDrawFilter.dll"
>
>
> Action ended 10:36:15: CallRegASM. Return value 3.
> Action ended 10:36:15: INSTALL. Return value 3.
>

As noted this does not happen all the time.

Any ideas why this may be happening?
-- 
. Abdullah Ahmed
. [EMAIL PROTECTED]
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to