It looks like it is failing because it is trying to query from two
tables, _AppMappings and Error, that don't exist in your MSI file. The
2205 error means the table does not exist, as does 2228 when querying
it. You may have to define these tables to get it to work properly.
Jim Williams
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Christopher Butcher
Sent: Tuesday, April 08, 2008 12:50 PM
To: Jordan Fitzgibbon; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Reverse engineered VS2003 MSI
Hi Jordan,
The MSI builds ok.
So you run it, go through the UI, the progress bar runs through as it
installs, then it fails saying "The installer was interrupted before ***
could be installed. You need to restart the installer to try again."
Running the MSI generating a verbose logfile you get these entries...
MSI (s) (38:18) [20:44:40:250]: Doing action:
WEBCA_GatherWebFolderProperties
MSI (s) (38:18) [20:44:40:250]: Note: 1: 2205 2: 3: ActionText
Action start 20:44:40: WEBCA_GatherWebFolderProperties.
MSI (s) (38:5C) [20:44:40:265]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI6A.tmp, Entrypoint: GatherWebFolderProperties
MSI (s) (38!84) [20:44:40:921]: Note: 1: 2205 2: 3: _AppMappings
MSI (s) (38!84) [20:44:40:921]: Note: 1: 2228 2: 3: _AppMappings 4:
SELECT `Extension`, `ExePath`, `Verbs` FROM `_AppMappings` WHERE
`Directory_` = 'TARGETDIR'
MSI (s) (38:5C) [20:44:40:921]: Leaked MSIHANDLE (45) of type 790540 for
thread 5764
MSI (s) (38:5C) [20:44:40:921]: Note: 1: 2769 2:
WEBCA_GatherWebFolderProperties 3: 1
MSI (s) (38:5C) [20:44:40:921]: Note: 1: 2205 2: 3: Error
MSI (s) (38:5C) [20:44:40:921]: Note: 1: 2228 2: 3: Error 4: SELECT
`Message` FROM `Error` WHERE `Error` = 2769
DEBUG: Error 2769: Custom Action WEBCA_GatherWebFolderProperties did
not close 1 MSIHANDLEs.
The installer has encountered an unexpected error installing this
package. This may indicate a problem with this package. The error code
is 2769. The arguments are: WEBCA_GatherWebFolderProperties, 1,
Action ended 20:44:40: WEBCA_GatherWebFolderProperties. Return value 3.
I'll send the WXS to your personal email for your perusal.
Thanks
Chris
________________________________
From: Jordan Fitzgibbon [mailto:[EMAIL PROTECTED]
Sent: 08 April 2008 19:33
To: Christopher Butcher; wix-users@lists.sourceforge.net
Subject: RE: Reverse engineered VS2003 MSI
What errors did you get when you tried to build your MSI *with* the 3
CAs listed below?
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Christopher Butcher
Sent: Tuesday, April 08, 2008 9:13 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Reverse engineered VS2003 MSI
Hi guys
I've run DARK on a VS2003 MSI for a Web Service.
Using the WXS generated I've built a new MSI using CANDLE and LIGHT.
On first attempt it didn't work.
I discovered that it would work when I removed the following three lines
and then massaged the InstallExecutionSequence to cope with their
disappearance.
<CustomAction Id="WEBCA_GatherWebFolderProperties" Return="check"
BinaryKey="MSVBDPCADLL" DllEntry="GatherWebFolderProperties" />
<CustomAction Id="WEBCA_ApplyWebFolderProperties" Return="check"
Execute="commit" BinaryKey="MSVBDPCADLL"
DllEntry="ApplyWebFolderProperties" />
<CustomAction Id="WEBCA_RollbackApplyWebFolderProperties"
Return="check" Execute="rollback" BinaryKey="MSVBDPCADLL"
DllEntry="RollbackApplyWebFolderProperties" />
Build the MSI - it installs ok.
However...
It does not set the default document for the web application.
The custom table entry appears to be correct;
<CustomTable Id="_IISProperties">
<Column Id="Directory_" Type="string" Width="72" PrimaryKey="yes"
/>
<Column Id="Attributes" Type="int" Width="2" />
<Column Id="DefaultDoc" Nullable="yes" Type="string" Width="255"
/>
<Row>
<Data Column="Directory_"><![CDATA[TARGETDIR]]></Data>
<Data Column="Attributes"><![CDATA[594]]></Data>
<Data Column="DefaultDoc"><![CDATA[MyWebService.asmx]]></Data>
</Row>
</CustomTable>
<CustomTable Id="_VDirToUrl">
.......
</CustomTable>
<CustomTable Id="_UrlToDir">
.......
</CustomTable>
<CustomTable Id="_AppRootCreate">
......
</CustomTable>
<CustomTable Id="_VsdLaunchCondition">
.......
</CustomTable>
But it just won't set.
I could understand how the removal of the 3 custom actions above might
be causing this. But to be honest, unless I remove them, the MSI won't
run successfully.
I've read lots of mini-guides explaining to use WebSite, WebVirtualDir
and WebApplication. But they are all for WXS scripts started from
scratch. I'm trying to modify this VS2003 MSI so that I can preserve the
basic UI it already has in place.
Does anyone else have any experience of building customised WIX scripts
based on WXS extracted by DARK from VS2003 MSI's?
Krs
Chris
Disclaimer of IDOX Group plc ("IDOX")
This e-mail and any attachments are confidential, may be privileged and
are intended solely for the use of the intended recipient/s. If you are
not an intended recipient, please (a) notify the sender immediately,
copying [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> as appropriate; and (b)
delete the original e-mail and your reply from your system. Unless
authorized by IDOX, copying, forwarding, disclosing or using this e-mail
is prohibited. No liability is accepted for damage caused by the
presence of any virus. The contents of this e-mail are provided "subject
to contract". Views or opinions in this e-mail are those of the author
and not necessarily those of IDOX . IDOX may intercept, copy or monitor
e-mails from or to anyone using its facilities in accordance with the
law.
Disclaimer of IDOX Group plc ("IDOX")
This e-mail and any attachments are confidential, may be privileged and
are intended solely for the use of the intended recipient/s. If you are
not an intended recipient, please (a) notify the sender immediately,
copying [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> as appropriate; and (b)
delete the original e-mail and your reply from your system. Unless
authorized by IDOX, copying, forwarding, disclosing or using this e-mail
is prohibited. No liability is accepted for damage caused by the
presence of any virus. The contents of this e-mail are provided "subject
to contract". Views or opinions in this e-mail are those of the author
and not necessarily those of IDOX . IDOX may intercept, copy or monitor
e-mails from or to anyone using its facilities in accordance with the
law.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users