I'm trying to play with the z sample application (from SDK 5.3), but the .wxs file that comes with it doesn't seem to be compatible with the current Wix3.0 release.
It gives the following errors (summarized):
Line 607, DestinationName and DestinationLongName cannot both be specified. Further, DestinationLongName is deprecated. So I remove the DestinationLongName attribute.
Lines 897, 907, the DirectorySearch Id "EhomeDirectory" is a duplicate. So I append "1" and "2" onto the end of EhomeDirectory for each one to make them unique.
Wix now runs and creates a .MSI file, but when I run it, near the end it starts rolling back. The install log shows:
MSI (s) (94:A4) [13:09:04:074]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=1300000)
MSI (s) (94:A4) [13:09:04:076]: Executing op: ServiceInstall(Name=DownloadManager,DisplayName=Z Download Manager,ImagePath="C:\Program Files\Microsoft\Z\DownloadManagerService.exe",ServiceType=16,StartType=3,ErrorControl=32769,,,,,Password=**********,Description=Manages file downloads for the Z Windows Media Center Sample Application)
MSI (s) (94:A4) [13:09:05:260]: Executing op: ActionStart(Name=ExecSecureObjects,,)
Action 13:09:05: ExecSecureObjects.
MSI (s) (94:A4) [13:09:05:265]: Executing op: CustomActionSchedule(Action=ExecSecureObjects,ActionType=3073,Source=BinaryData,Target=ExecSecureObjects,CustomActionData=Z_DownloadManagerService?ServiceInstall??Users?511)
MSI (s) (94:F8) [13:09:05:300]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIB41C.tmp, Entrypoint: ExecSecureObjects
ExecSecureObjects: Error 0x80070424: failed to get security info for object: Z_DownloadManagerService
Action ended 13:09:05: InstallFinalize. Return value 3.
MSI (s) (94:A4) [13:09:05:326]: User policy value 'DisableRollback' is 0
Can someone help me get this straightened out?