According to the docs, the path given when using a Property element needs to resolve to the full path.
Rob Magus wrote: > I get an error when trying to run the application if I have those liines of > code in. "Could not access network Location Saves". Note that this is > while trying to install the app. I have not been able to get to uninstall > with thsese lines of code active. > > Rob Hamflett wrote: >> 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 >> >> > ------------------------------------------------------------------------- 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