[WiX-users] Problem with User Macros in WiX projects
In my WiX project's pre-build and post-build steps I have attempted to reference user macros (variables) that I have defined in Visual Studio Property Sheets but it appears that they are not being passed. Is there something I need to do? Is this not possible? Is this an oversight/bug? I am using WiX 3.8 and Visual Studio 2013. Regards, Greg Prosch -- Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Why is RollbackBoundary discarded?
Jeremiah, yes, the relative pathing is correct. The problem is not about finding the file but rather the rollback logic. Thank you for the suggestion though. Greg -- Message: 1 Date: Thu, 2 May 2013 18:20:10 -0500 From: Jeremiahf jeremi...@gmail.com Subject: Re: [WiX-users] Why is RollbackBoundary discarded? To: General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Message-ID: cab-_04mkj8xnmvzsr7kzvl094zdxchtjf-2sosdfk64hkax...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 Are you sure this is correct? $(var.ProjectDir)..\..\ How many folders are you actually backing out then back into and are they located in your Project Directory? J On Thu, May 2, 2013 at 6:05 PM, Prosch, Greg gregpro...@a-tsolutions.comwrote: For the burn code below I am getting the following error message: warning LGHT1129: The RollbackBoundary 'After_PowerShellAccessPolicyConfig' was discarded because it was not followed by a package. Without a package the rollback boundary doesn't do anything. Verify that the RollbackBoundary element is not followed by another RollbackBoundary and that the element is not at the end of the chain. Why? The RollbackBoundary appears to be followed by a package. !-- Set the PowerShell ExecutionPolicy to unrestricted -- ExePackage Id=PowerShellAccessPolicyConfig SourceFile=$(var.ProjectDir)..\..\ATTACExplorerLauncher\InstallScripts\PowerShellAccessPolicyConfig.bat Cache=no Compressed=yes PerMachine=yes Permanent=yes Vital=yes /ExePackage RollbackBoundary Id=After_PowerShellAccessPolicyConfig / !-- Ensure that all of the required Windows Features are enabled -- ExePackage Id=EnableWindowsFeatures SourceFile=$(var.ProjectDir)..\..\ATTACExplorerLauncher\InstallScripts\EnableWindowsFeatures.bat Cache=no Compressed=yes PerMachine=yes Permanent=yes Vital=yes After=PowerShellAccessPolicyConfig /ExePackage -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Why is RollbackBoundary discarded?
Bingo! Thank you Bob. I really didn't need those since I wasn't changing the default flow anyway. Greg Date: Thu, 02 May 2013 21:35:54 -0400 From: Bob Arnson b...@joyofsetup.com Subject: Re: [WiX-users] Why is RollbackBoundary discarded? To: wix-users@lists.sourceforge.net Message-ID: 5183147a.6000...@joyofsetup.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 02-May-13 19:05, Prosch, Greg wrote: Why? The RollbackBoundary appears to be followed by a package. Physically but not logically, because you reordered the packages using the After attribute. -- sig://boB http://joyofsetup.com/ -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Why is RollbackBoundary discarded?
For the burn code below I am getting the following error message: warning LGHT1129: The RollbackBoundary 'After_PowerShellAccessPolicyConfig' was discarded because it was not followed by a package. Without a package the rollback boundary doesn't do anything. Verify that the RollbackBoundary element is not followed by another RollbackBoundary and that the element is not at the end of the chain. Why? The RollbackBoundary appears to be followed by a package. !-- Set the PowerShell ExecutionPolicy to unrestricted -- ExePackage Id=PowerShellAccessPolicyConfig SourceFile=$(var.ProjectDir)..\..\ATTACExplorerLauncher\InstallScripts\PowerShellAccessPolicyConfig.bat Cache=no Compressed=yes PerMachine=yes Permanent=yes Vital=yes /ExePackage RollbackBoundary Id=After_PowerShellAccessPolicyConfig / !-- Ensure that all of the required Windows Features are enabled -- ExePackage Id=EnableWindowsFeatures SourceFile=$(var.ProjectDir)..\..\ATTACExplorerLauncher\InstallScripts\EnableWindowsFeatures.bat Cache=no Compressed=yes PerMachine=yes Permanent=yes Vital=yes After=PowerShellAccessPolicyConfig /ExePackage -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users