G'day,

Can one of you please put me out of my misery and tell me what stupid mistake I am making with this installation. I used to WixEdit to build a simple installer which has to copy one file to the Program Files/Microsoft Office/Office12/STARTUP folder and a couple of files to the [AppDataFolder]\Microsoft\Templates folder aka TemplatesFolder. I understand that this folder can be changed by the user but right now I'm trying to get what should have been a simple install sorted before I try to make it clever.

The xml below compiles and runs, successfully copying the test file to the STARTUP folder but although the registry entry is created nothing gets copied to the user template folder. I have attached the log from WixEdit in case it helps identify what I am doing wrong.

If I need to proide more evidence let me know.

Thanks in anticipation of being told what I am doing wrong.

Cheers,

Dave McLachlan
Canberra
Australia

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
<Product Id="79396E08-3762-42BF-A8A2-CA7261057802" Name="Diabologic Work Product Template" Language="1033" Version="11.05.14.0" Manufacturer="Diabologic " UpgradeCode="F608CBF4-D561-400C-9A6B-93270D52B5F1"> <Package Description="Diabologic Work Product Template" Comments="Diabologic Work Product Template" InstallerVersion="200" Compressed="yes" />
<Media Id="1" Cabinet="simple.cab" EmbedCab="yes" />
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Name="InstallFiles" Id="INSTALLFILES">
<Directory Id="WIXEDIT" Name="WixEdit">
</Directory>
</Directory>
<Directory Id="ProgramFilesFolder">
<Directory Id="MicrosoftOffice" Name="Microsoft Office">
<Directory Id="Office12" Name="Office12">
<Directory Id="STARTUP" Name="STARTUP" />
</Directory>
</Directory>
</Directory>
<Directory Id="TemplateFolder" />
</Directory>
<Feature Id="DefaultFeature" Title="Main Feature" Level="1">
<ComponentRef Id="CMP_InstallMeTXT" />
<ComponentRef Id="CMP_InstallMeTooTXT" />
</Feature>
<UI />
<UIRef Id="WixUI_Minimal" />
<DirectoryRef Id="STARTUP">
<Component Id="CMP_InstallMeTXT" Guid="4016D2E6-9063-4F91-A9F6-664BFE857F4F">
<File Id="INSTALLME.TXT_1" Name="InstallMe.txt" Source="InstallMe.txt" />
<RemoveFile Id="INSTALLME.TXT_1" Name="InstallMe.txt" On="uninstall" />
</Component>
</DirectoryRef>
<DirectoryRef Id="TemplateFolder">
<Component Id="CMP_InstallMeTooTXT" Guid="5C502927-9801-4B62-B460-C10A77988A19"> <File Id="INSTALLMETOO.TXT_1" Name="InstallMeToo.txt" Source="InstallMeToo.txt" /> <File Id="INSTALLMETHREE.TXT" Name="InstallMeThree.txt" Source="InstallMeThree.txt" /> <RegistryValue Value="11.05.14.0" KeyPath="yes" Action="write" Type="string" Id="DefenceWorkProductTemplate" Name="version" Key="Software\Diabologic\WorkProductTemplate" Root="HKCU" /> <RemoveRegistryValue Id="DefenceWorkProductTemplate" Key="Software\Diabologic\WorkProductTemplate" Name="version" Root="HKCU" /> <RemoveFile Id="INSTALLMETOO.TXT_1" Name="InstallMeToo.txt" On="uninstall" /> <RemoveFile Id="INSTALLMETHREE.TXT" Name="InstallMeThree.txt" On="uninstall" />
</Component>
</DirectoryRef>
</Product>
</Wix>


------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to