I have been looking through the Wix wxs files of the installer for Wix
itself.  I am assuming that this is a good place to look for best practices
type of information and have a few questions about what I see and hope that
someone can provide me with some answers.

In Product.wxs:

1.   <Product Id="*" Name="$(var.ProductName)" Language="1033"
Manufacturer="Microsoft Corporation" Version="$(var.WixVersion)"
UpgradeCode="3618724B-2523-44F9-A908-866AA619504D">


## Question 1 ###: Why is Wix using a new ProductCode for every build of the
installer?



  
2.   <!-- WixUI_Advanced scaffolding (to be replaced by extension authoring)
-->
        <Property Id="ApplicationFolderName"
Value="$(var.ProductDirectoryName)" />
        <Property Id="ALLUSERS" Value="1" />
        <Property Id="WixAppFolder" Value="WixPerMachineFolder" />
        <WixVariable Id="WixUISupportPerMachine" Value="1" />
        <WixVariable Id="WixUISupportPerUser" Value="0" />
        <UI>
            <DialogRef Id="PrerequisitesDlg" />
            <UIRef Id="WixUI_Advanced" />
            <UIRef Id="WixUI_ErrorProgressText"
/>registration</ProgressText>
            <ProgressText Action="VS90Setup" Template="[1]">Updating Visual
Studio 2008 registration</ProgressText>
        </UI>


### Question 2 ###: Why should WixUI_Advanced be replaced by extension
authoring?  Should I favor extension authoring over some other means of
providing a UI?





3. <!-- Directories -->
        <Directory Id="TARGETDIR" Name="SourceDir">
            <Directory Id="ProgramFilesFolder" />
            <?if $(var.Platform)=x64 ?>
            <Directory Id="ProgramFiles64Folder" />
            <?endif?>

            <Directory Id="APPLICATIONFOLDER"
Name="$(var.ProductDirectoryName)" />

            <Directory Id="ProgramMenuFolder" Name="ProgMenu">
                <Directory Id="WixShortcutFolder"
Name="$(var.ProductDirectoryName)" />
            </Directory>
        </Directory>


### Question 3 ###: Why does APPLICATIONFOLDER not live in
ProgramFilesFolder?  If not using Program Files why include them?


Thanks,
Ryan Parlee 




  


------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to