You don't need the square brackets round your property name in [EMAIL PROTECTED] It wants the actual property name, not it's value.
Rob Magus wrote: > I am trying to add some RemoveFile/RemoveFolder. I've looking for an example > on the setup work. I have not found an example that has the Property Option > filled out. > Here it what I have > <Component Id ="OnUninstall" Guid ="PUT-GUID-HERE" DiskId="1"> > <RemoveFile Id ="RemoveLogFiles" On="uninstall" Property > ="[MainDirectory]" > Name="*log"/> > <RemoveFile Id ="RemoveSaveFiles" On ="uninstall" Property ="[Saves]" > Name="*.dat"/> > <RemoveFolder Id ="RemoveSaveFolder" On ="uninstall" Property > ="[Saves]"/> > </Component> > I have a setup project that uses MsiSetProperty(g_hInstall, "Saves", > szLocationofSaves); > MsiSetProperty(g_hInstall, > "MainDirectory", szlocationofMainDirectory); > Both are properties in my .wxs project > The Saves folder is MainDirectory\Saves and is not created until the User > runs my program and saves a file. > I also have this in the feature list > <Feature Id ="Uninstall_Feature_1" Title ="Remove Files created by user" > Description ="Remove User data" Level ="5" AllowAdvertise="system" Display > ="hidden"> > <ComponentRef Id ="OnUninstall"/> > </Feature> > > This doens't due anything though, Am I doing something wrong or need an > extra step? ------------------------------------------------------------------------- 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