Hi I finished the tutorial using wix 2.x (http://www.tramontana.co.hu/wix). This is the tutorial that is pointed to on the sourceforge site. This first lesson went well. Then I ran into issues when trying to convert to the latest version of wix. (3.0.3617.0)
I have managed to remove most errors and warning but I can't seem to figure this out. I am evaluating WIX as a new means of creating msis. We are currently using some another wizard based software. I am getting these errors, which seems to be common, because I am getting plenty of hits one why these happen and how to fix them, but any implementation I try doesn't seem to work. I am also taking this oppurtunity to test out the cummunity services. I am compiling directly from VS2008. I am not using the command lines for candle and light. These are automatically executed in VS2008 environment Here are the erro I am getting. Error LGHT0204: ICE38: Component Dirs installs to user profile. It must use a registry key under HKCU as its KeyPath, not a file. Error LGHT0204: ICE43: Component MainExe has non-advertised shortcuts. It should use a registry key under HKCU as its KeyPath, not a file. Error LGHT0204: ICE57: Component 'MainExe' has both per-user and per-machine data with a per-machine KeyPath. Here is my complete XML: What am I doing wrong: Thanks for the help Marc <?xml version='1.0' encoding='utf-8'?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="B4C27EC8-E5F5-4b75-ADD1-9C12D27118F8" Name="Wix Windows Installer" Language="1033" Version="1.0.0.0" Manufacturer="Acme Inc" UpgradeCode="AA2D36F6-06F0-48bc-A073-0E35DFD8D4B5"> <!-- Name is the part that show up in the add remove programs --> <!-- <Package Id="F27AF9FE-E7CF-4287-B012-594168E7535C" Description="My Test Install Description" Comments="My Test Install Comment." InstallerVersion="200" Compressed="yes" /> --> <Package Description="My Test Install Description" Comments="My Test Install Comment." InstallerVersion="200" Compressed="yes" /> <Media Id="1" Cabinet="Product.cab" EmbedCab="yes" /> <Condition Message='Windows Server 2003'> VersionNT > 502 </Condition> <Property Id='ALLUSERS' Value='1' /> <Property Id='INSTALLDIR'> <RegistrySearch Id='MyInstallPath' Type='raw' Root='HKLM' Key='SOFTWARE\Acme\Application' Name='InstallPath' /> </Property> <Property Id='INSTALLDOC' Value='1' /> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id='ProgramFilesFolder' Name='PFiles'> <Directory Id='Acme' Name="Acme"> <Directory Id='INSTALLDIR' Name='Acme Folder' > <Component Id="MainExe" Guid="2875F13E-C4C2-40bd-930A-EF40D011F1B6"> <!-- TODO: Insert your files, registry keys, and other resources here. --> <File Id='DiagSkeletonEXE' Name='ExeFile' DiskId='1' Source='DialogSkeleton.exe' Vital='yes'> <Shortcut Id="startmenuSkeleton" Directory="ProgramMenuDir" Name="ExeFile" WorkingDirectory='INSTALLDIR' Icon="DiagSkeletonEXE" IconIndex="0" /> <Shortcut Id="desktopFSkeleton" Directory="DesktopFolder" Name="ExeFile" WorkingDirectory='INSTALLDIR' Icon="DiagSkeletonEXE" IconIndex="0" /> </File> <RegistryKey Id="RegFolder" Root="HKLM" Key="SOFTWARE\Acme\Application" Action="createAndRemoveOnUninstall" > <RegistryValue Id="RegInstallPath" Action="write" Type="string" Value="SOFTWARE\Acme\Application" /> </RegistryKey> <RemoveFolder Id="DeleteWix" On="uninstall" Directory="INSTALLDIR" /> <RemoveFolder Id='ProgramMenuDir' On='uninstall' /> </Component> <Component Id='HelperLibrary' Guid='A952AB44-067F-46a3-BEF4-19BAF9F1E9B6'> <File Id='HelperDLL' Name='Helper.dll' DiskId='1' Source='MSIAccess.dll' Vital='yes' /> </Component> <Component Id='Manual' Guid='61157560-1BD8-4caa-B4A2-C69DBDCF61EF'> <File Id='Manual' Name='WiX.chm' DiskId='1' Source='WiX.chm'> </File> </Component> </Directory> </Directory> </Directory> <Directory Id="ProgramMenuFolder" Name="PMenu" > <Directory Id="ProgramMenuDir" Name='AcmeLoc' > <Component Id="Dirs" DiskId="1" Guid="{0A3D0343-7286-4f1f-9D14-9023CA330440}"> <RemoveFolder Id='Null' On='uninstall'/> </Component> </Directory> </Directory> <Directory Id="DesktopFolder" Name="Desktop" /> <!--<Directory Id="TARGETDIR" Name="SourceDir">--> </Directory> <Feature Id='Complete' Level='1' Title='Acme Application' Description='The Complete Package' Display='expand' ConfigurableDirectory='INSTALLDIR'> <Feature Id='MainProgram' Level='1' Title='Program' Description='The main executable' > <ComponentRef Id='MainExe' /> <ComponentRef Id='HelperLibrary' /> <ComponentRef Id='Dirs' /> </Feature> <Feature Id='Documentation' Title='Help Files' Description='The are the product help files' Level='1000'> <ComponentRef Id='Manual' /> <!-- <Condition Level='1000'> INSTALLDOC </Condition> --> <!--<Condition Level='0'> INSTALLDOC </Condition> This causes the feature to not install--> </Feature> </Feature> <!-- <Icon Id="DiagSkeletonEXE" SourceFile="DialogSkeleton.exe" /> --> <Icon Id="DiagSkeletonEXE" SourceFile="DialogSkeleton.exe" /> </Product> </Wix> -- View this message in context: http://www.nabble.com/Wix-Newbie---Need-help-learning-something.-tp14439986p14439986.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

