I have spent to long looking at the same thing. This to me means I am missing something very easy.
Here is my code <?xml version='1.0'?> <Wix xmlns='http://schemas.microsoft.com/wix/2003/01/wi'> <Product Id='{308B164C-47F0-4f28-9DCE-7977275267DB}' Name='My Installer' Language='1033' Version='1.0.0.0' Manufacturer='It is me'> <Package Id='{2E3F9933-5681-429a-BD56-7B2B5A9D4214}' Description='Windows Installer package for My files' Comments='Installer for My Installer database' Manufacturer='It Is Me' InstallerVersion='200' Compressed='yes' /> <Media Id='1' Cabinet='product.cab' EmbedCab='yes' /> <Directory Id='SourceDir' Name='SourceDir'> <Directory Id='ProgramFilesFolder' Name='PFDir'> <Directory Id='Top' Name='Top' LongName='Top Level'> <Directory Id='FL' Name='FL' LongName='FolderT'> <Component Id='MyComponent' Guid='{C12C3500-2376-4c7d-B40F-9007A6EC59A9}'> <File Id='MyEXE' Name="MyE" LongName='MyExecutable.exe' DiskId='1' src='MyExecutable.exe' /> </Component> </Directory> </Directory> </Directory> </Directory> <Feature Id='MyFeature' Title='My 1st Feature' Level='1'> <ComponentRef Id='MyComponent' /> </Feature> <InstallExecuteSequence> <Custom Action='ManagedInstall' After="InstallFinalize" /> </InstallExecuteSequence> <CustomAction Id="ManagedInstall" Directory='FolderT' ExeCommand='"[ProgramFilesFolder]\Top Level\FolderT\MyExecutable.exe" ' Return='check'> </CustomAction> </Product> </Wix> This will compile fine when I run it I get "The Installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The Error Code is 2721" What am I doing wrong arrrgh! :-} ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users