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.
-------------------------------------------------------------------------
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

Reply via email to