Hi All,
 
Sorry, this is really long because I've included heaps of samples and
logging output.  We build various webapps, often for internal use, and
normally install them to inetpub.  We have some canned wix templates that
help with this, and they work very well.  We have a webapp that we wish to
install to D:\<application_group>\<application> and then create a bunch of
virtual directories pointing at this location.  I have no problem with the
virtual directories - all my problems seem to lie with installing to D:\.
 
When run interactively, the msi installs successfully.
When run using msiexec /qn, we receive an error 1603, which seems to imply
we're out of disk space.  
 
[exec] Starting 'msiexec.exe ( /i
D:\Builds\M1OS\20081203_1107\oasis.m1os.online.Setup.msi
ADDLOCAL=ConfigProject10 ALLUSERS=2 /qn)' in 'd:\Builds\Tools'

The logfile contains:
MSI (s) (F0:AC) [11:47:45:560]: Product: Oasis MoneyOne Online (M1OS) 2.0.0
-- Disk full: Out of disk space -- Volume: 'M1OS'; required space: 18,346
KB; available space: 0 KB. Free some disk space and retry.
 
Disk full: Out of disk space -- Volume: 'M1OS'; required space: 18,346 KB;
available space: 0 KB. Free some disk space and retry.
Action ended 11:47:45: InstallValidate. Return value 3.
Action ended 11:47:45: INSTALL. Return value 3.
 
The problem is both C: & D: have gigabytes of free space available.  M1OS is
not a volume, but it seems to be treating it as such.  When run
interactively, it works fine.  The bits that matter (we think) from our .wxs
file are below - some vdirs trimmed for brevity.
 
 
        <Property Id="WIXUI_INSTALLDIR" Value="WEBAPPFOLDER" />
        <Property Id="TARGETDIR" Value="D:\" /><!-- Install to D Drive -->
        <Property Id="SITEPORT" Value="80">
            <RegistrySearch Id="M1OSWebAppPort" Type="raw" Root="HKLM"
Key="SOFTWARE\Oasis\Uninstall\$(var.product_name)" Name="SitePort" />
        </Property>
        <Property Id="SSLPORT" Value="443">
            <RegistrySearch Id="M1OSWebAppSSLPort" Type="raw" Root="HKLM"
Key="SOFTWARE\Oasis\Uninstall\$(var.product_name)" Name="SSLPort" />
        </Property>
        <Property Id="ENVCONFIG" Value="none" Secure="yes">
            <RegistrySearch Id="M1OSWebAppEnvConfig" Type="raw" Root="HKLM"
Key="SOFTWARE\Oasis\Uninstall\$(var.product_name)" Name="EnvironmentConfig"
/>
        </Property>
         <Property Id="INSTALLDIR">
            <!--<RegistrySearch Id="M1OSWebAppInstallDir" Type="raw"
Root="HKLM" Key="SOFTWARE\Oasis\Uninstall\$(var.product_name)"
Name="M1OSWebAppInstallDir" />-->
            <!--<RegistrySearch Id="Search" Root="HKLM"
Key="Software\Microsoft\InetStp" Name="PathWWWRoot" Type="raw" />-->
            <DirectorySearch Id="M1OSWebAppInstallDir" Path="D:\MoneyOne" />
        </Property>
       <Property Id="WEBAPPFOLDER" Value="M1OS">
            <RegistrySearch Id="M1OSWebAppDir" Type="raw" Root="HKLM"
Key="SOFTWARE\Oasis\Uninstall\$(var.product_name)" Name="M1OSWebAppDir" />
        </Property> 
 
        <WebDirProperties Id="WSDirProperties" WindowsAuthentication="yes"
AnonymousAccess="yes" DefaultDocuments="Login.aspx" />
        <Directory Id='TARGETDIR' Name='SourceDir'>
            <Directory Id="INSTALLDIR">
                <Directory Id="WEBAPPFOLDER">
<Component Id="WixWebAppVirtualDirComponent"
Guid="49FC724E-8337-4AC1-B5C3-E69B26BDE306">
                        <WebAppPool Id="M1OSAppPool" Name="M1OSAppPool" />
                        <WebVirtualDir Id="WebAppVirtualDir"
Alias="[VDIRNAME]" Directory="WEBAPPFOLDER" WebSite="DefaultWebSite"
DirProperties="WSDirProperties">
                            <WebApplication Id="WebApplication"
Name="[VDIRNAME]" WebAppPool="M1OSAppPool"/>
                        </WebVirtualDir>
                        <!-- Actually create the virtual dirs -->
                        <WebVirtualDir Id="WebAppVD01" Alias="[VDIR01]"
Directory="WEBAPPFOLDER" WebSite="DefaultWebSite"
DirProperties="WSDirProperties">
                            <WebApplication Id="WebApplication01"
Name="[VDIRNAME]" WebAppPool="M1OSAppPool"/>
                        </WebVirtualDir>
                        <WebVirtualDir Id="WebAppVD02" Alias="[VDIR02]"
Directory="WEBAPPFOLDER" WebSite="DefaultWebSite"
DirProperties="WSDirProperties">
                            <WebApplication Id="WebApplication02"
Name="[VDIRNAME]" WebAppPool="M1OSAppPool"/>
                        </WebVirtualDir>
                        <!-- etc etc for the vdirs -->
                      <Registry Action="createKeyAndRemoveKeyOnUninstall"
Root="HKLM" Key="SOFTWARE\OASIS\Uninstall\$(var.product_name)">
                            <Registry Action="write" Type="string"
Name="M1OSWebAppVD" Value="[VDIRNAME]" />
                            <Registry Action="write" Type="string"
Name="SitePort" Value="[SITEPORT]" />
                            <Registry Action="write" Type="string"
Name="EnvironmentConfig" Value="[ENVCONFIG]" />
                            <Registry Action="write" Type="string"
Name="M1OSWebAppDir" Value="[WEBAPPFOLDER]" />
                            <Registry Action="write" Type="string"
Name="M1OSWebAppInstallDir" Value="[INSTALLDIR]" />
                            
                            <!-- Write the values to the registry for the
fund vdirs -->
                            <Registry Action="write" Type="string"
Name="M1OSFundVD01" Value="[VDIR01]" />
                            <Registry Action="write" Type="string"
Name="M1OSFundVD02" Value="[VDIR02]" />
                    <!-- etc etc -->
                        </Registry>
                    </Component>
                    <Component Id="InstallM1OSSITCfg"
Guid="FE862940-EA2B-4920-8926-F45656D5A891">
                        <File Id="InstM1OSSITCfg" Name="web.cfg"
LongName="web.config" src="$(var.ConfigDir)\SIT\web.config" Vital="yes"
DiskId="1" />
                        <File Id="InstM1OSSITWebNlogCfg" Name="webnlog.cfg"
LongName="web.nlog" src="$(var.ConfigDir)\SIT\web.nlog" Vital="yes"
DiskId="1" />
                        <File Id="InstM1OSSITConnStrings" Name="connStr.cfg"
LongName="connectionStrings.config"
src="$(var.ConfigDir)\SIT\connectionStrings.config" Vital="yes" DiskId="1"
/>
                    </Component>
                    <Component Id="InstallM1OSUATCfg"
Guid="54D68412-C488-425B-B293-E5A038631F3C">
                        <File Id="InstM1OSUATCfg" Name="web.cfg"
LongName="web.config" src="$(var.ConfigDir)\UAT\web.config" Vital="yes"
DiskId="1" />
                        <File Id="InstM1OSUATWebNlogCfg" Name="webnlog.cfg"
LongName="web.nlog" src="$(var.ConfigDir)\UAT\web.nlog" Vital="yes"
DiskId="1" />
                        <File Id="InstM1OSUATConnStrings" Name="connStr.cfg"
LongName="connectionStrings.config"
src="$(var.ConfigDir)\UAT\connectionStrings.config" Vital="yes" DiskId="1"
/>
                    </Component>
                    <Component Id="InstallM1OSProject10Cfg"
Guid="6EB406D0-F2F7-4FB4-AF40-E4382EC708DB">
                        <File Id="InstM1OSProject10Cfg" Name="web.cfg"
LongName="web.config" src="$(var.ConfigDir)\Project10\web.config"
Vital="yes" DiskId="1" />
                        <File Id="InstM1OSProject10WebNlogCfg"
Name="webnlog.cfg" LongName="web.nlog"
src="$(var.ConfigDir)\Project10\web.nlog" Vital="yes" DiskId="1" />
                        <File Id="InstM1OSProject10ConnStrings"
Name="connStr.cfg" LongName="connectionStrings.config"
src="$(var.ConfigDir)\Project10\connectionStrings.config" Vital="yes"
DiskId="1" />
                    </Component>
                    <Component Id="InstallM1OSProdCfg"
Guid="55B9BA53-EA2A-466B-AB4B-E777447D533A">
                        <File Id="InstM1OSProdCfg" Name="web.cfg"
LongName="web.config" src="$(var.ConfigDir)\prod\web.config" Vital="yes"
KeyPath="yes" DiskId="1" />
                        <File Id="InstM1OSProdWebNlogCfg" Name="webnlog.cfg"
LongName="web.nlog" src="$(var.ConfigDir)\prod\web.nlog" Vital="yes"
DiskId="1" />
                        <File Id="InstM1OSProdConnStrings"
Name="connStr.cfg" LongName="connectionStrings.config"
src="$(var.ConfigDir)\prod\connectionStrings.config" Vital="yes" DiskId="1"
/>
                    </Component>
                    <Directory Id="WSBINFOLDER" Name="bin" />
                </Directory>
            </Directory>
        </Directory>
 
We use a dropdown in a generic dialogue to specify the config required,
which uses a feature to specify the component to use:
        <FeatureRef Id="OASIS.M1OS.Online.Feature">
            <Feature Id='ConfigSIT' Level='1' Description='Configuration
(SIT)' Title='SIT config'>
                <ComponentRef Id="InstallM1OSSITCfg" />
            </Feature>
            <Feature Id='ConfigUAT' Level='1' Description='Configuration
(UAT)' Title='UAT config'>
                <ComponentRef Id="InstallM1OSUATCfg" />
            </Feature>
            <Feature Id='ConfigProject10' Level='1'
Description='Configuration (Project10)' Title='Project10 config'>
                <ComponentRef Id="InstallM1OSProject10Cfg" />
            </Feature>
            <Feature Id='ConfigProd' Level='1' Description='Configuration
(Production)' Title='Production config'>
                <ComponentRef Id="InstallM1OSProdCfg" />
            </Feature>
        </FeatureRef>
 
 
Also, when using ORCA to validate the msi, the following errors are found:
ICE18 ERROR KeyPath for Component: 'WixWebAppVirtualDirComponent' is
Directory: 'WEBAPPFOLDER'. The Directory/Component pair must be listed in
the CreateFolders table.
 
The following seem to be related to site specific configs - I think we'll
have to remove the default files in the source folders before building the
msi, but I'm not sure:
ICE30 ERROR The target file 'CONNEC_1.CON|connectionStrings.config' is
installed in 'M1OS' by two different components on an LFN system:
'component' and 'InstallM1OSProdCfg'. This breaks component reference
counting.
ICE30 ERROR The target file 'CONNEC_1.CON|connectionStrings.config' is
installed in 'M1OS' by two different components on an LFN system:
'component' and 'InstallM1OSProdCfg'. This breaks component reference
counting.
ICE30 ERROR The target file 'WEB_1.CON|Web.config' is installed in 'M1OS' by
two different components on an LFN system: 'component' and
'InstallM1OSProdCfg'. This breaks component reference counting.
ICE30 ERROR The target file 'WEB_1.CON|Web.config' is installed in 'M1OS' by
two different components on an LFN system: 'component' and
'InstallM1OSProdCfg'. This breaks component reference counting.
etc etc
 
 
We don't really care about the following if we can get it working:
ICE48 WARNING Directory 'TARGETDIR' appears to be hardcoded in the property
table to a local drive.
ICE48 WARNING Directory 'WEBAPPFOLDER' appears to be hardcoded in the
property table to a local drive.
 
What should I do about this:
ICE82 WARNING This action WelcomeDlg has duplicate sequence number 1298 in
the table InstallUISequence
ICE82 WARNING This action MaintenanceWelcomeDlg has duplicate sequence
number 1298 in the table InstallUISequence
 
-- 
View this message in context: 
http://n2.nabble.com/Installing-to-D%3A-and-ORCA-errors-tp1611595p1611595.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to