Re: [WiX-users] Shortcut not being deleted
Thank you for all your help. Don't know how I missed it but the reason was that the folder I created in the start menu is using a property and of course on uninstall the property was empty so it did not know where to delete from. Silly mistake that I missed. -Original Message- From: Phil Wilson [mailto:phildgwil...@gmail.com] Sent: 04 September 2013 18:21 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Shortcut not being deleted RemoveFolder doesn't remove the folder if it contains files. It's possible that you need to explicitly use RemoveFile to delete the shortcut, maybe in conjunction with RemoveFolder. Also, it wouldn't hurt to verify that the component associated with the RemoveFolder/RemoveFile is actually being removed (in case it's shared, permanent). Phil Wilson On Wed, Sep 4, 2013 at 5:23 AM, Alexey Ivanov alexey.iva...@gmail.comwrote: oops http://support.microsoft.com/kb/223300 2013/9/4 Alexey Ivanov alexey.iva...@gmail.com msiexec /i yourfile.msi /L*v c:\temp\yourinstall.log or enable in windows by default http://support.microsoft.com/kb/223300/ru 2013/9/4 Natalie Carr natalie.c...@measuresoft.com Hi, Thank you, done exactly the same and it still is not deleting :( -Original Message- From: Alexey Ivanov [mailto:alexey.iva...@gmail.com] Sent: 04 September 2013 10:50 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Shortcut not being deleted Separate shortcut from the component. like this: https://github.com/krab/vacuum-im-wix-installer/blob/master/Product.wx s#L20 https://github.com/krab/vacuum-im-wix-installer/blob/master/Files.wxs# L54 2013/9/4 Natalie Carr natalie.c...@measuresoft.com Hi I have this code for a shortcut. This setup is an add on for my main product so the code adds a shortcut to the shortcuts already installed on the target machine. On uninstall however the add on shortcut is never removed, can anyone see what I am doing wrong? Component Id=PIDShortcut Guid=696E79B3-D417-4352-9CEE-378DEECD9295 Directory=ProgramMenuDir Shortcut Id=PIDShortcut Directory=ProgramMenuDir Name=PID Controller Icon=pid_cf.exe IconIndex=0 Target=[BIN]pid_cf.exe Icon Id=pid_cf.exe SourceFile=E:\Products\Measuresoft_SCADA\Processors\PID_Controll er\So urces\ PID_CF\res\pid_cf.ico/ ShortcutProperty Key=System.AppUserModel.ExcludeFromShowInNewInstall Value=1/ /Shortcut RemoveFolder Id='ProgramMenuDir' On='uninstall'/ RegistryValue Root='HKCU' Key='Software\ShortcutProperty\[PRODUCTNAME]' Type='string' Value='1' KeyPath='yes' Name='PIDShortcut'/ /Component Thanks - - Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.c lktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- -- -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.c lktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.c lktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way
Re: [WiX-users] Shortcut not being deleted
Hi, Thank you, done exactly the same and it still is not deleting :( -Original Message- From: Alexey Ivanov [mailto:alexey.iva...@gmail.com] Sent: 04 September 2013 10:50 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Shortcut not being deleted Separate shortcut from the component. like this: https://github.com/krab/vacuum-im-wix-installer/blob/master/Product.wxs#L20 https://github.com/krab/vacuum-im-wix-installer/blob/master/Files.wxs#L54 2013/9/4 Natalie Carr natalie.c...@measuresoft.com Hi I have this code for a shortcut. This setup is an add on for my main product so the code adds a shortcut to the shortcuts already installed on the target machine. On uninstall however the add on shortcut is never removed, can anyone see what I am doing wrong? Component Id=PIDShortcut Guid=696E79B3-D417-4352-9CEE-378DEECD9295 Directory=ProgramMenuDir Shortcut Id=PIDShortcut Directory=ProgramMenuDir Name=PID Controller Icon=pid_cf.exe IconIndex=0 Target=[BIN]pid_cf.exe Icon Id=pid_cf.exe SourceFile=E:\Products\Measuresoft_SCADA\Processors\PID_Controller\So urces\ PID_CF\res\pid_cf.ico/ ShortcutProperty Key=System.AppUserModel.ExcludeFromShowInNewInstall Value=1/ /Shortcut RemoveFolder Id='ProgramMenuDir' On='uninstall'/ RegistryValue Root='HKCU' Key='Software\ShortcutProperty\[PRODUCTNAME]' Type='string' Value='1' KeyPath='yes' Name='PIDShortcut'/ /Component Thanks -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.c lktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Shortcut not being deleted
Hi I have this code for a shortcut. This setup is an add on for my main product so the code adds a shortcut to the shortcuts already installed on the target machine. On uninstall however the add on shortcut is never removed, can anyone see what I am doing wrong? Component Id=PIDShortcut Guid=696E79B3-D417-4352-9CEE-378DEECD9295 Directory=ProgramMenuDir Shortcut Id=PIDShortcut Directory=ProgramMenuDir Name=PID Controller Icon=pid_cf.exe IconIndex=0 Target=[BIN]pid_cf.exe Icon Id=pid_cf.exe SourceFile=E:\Products\Measuresoft_SCADA\Processors\PID_Controller\Sources\ PID_CF\res\pid_cf.ico/ ShortcutProperty Key=System.AppUserModel.ExcludeFromShowInNewInstall Value=1/ /Shortcut RemoveFolder Id='ProgramMenuDir' On='uninstall'/ RegistryValue Root='HKCU' Key='Software\ShortcutProperty\[PRODUCTNAME]' Type='string' Value='1' KeyPath='yes' Name='PIDShortcut'/ /Component Thanks -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Setting a value XmlConfig
Hi I am trying to change a value setting in a config file using the following: Component Id=Enable32BitAppPoolComponent Guid=* Directory=INSTALLLOCATION CreateFolder/ util:XmlConfig Id=Enable32BitAppPool Node=value ElementPath=//configuration/system.applicationHost/applicationPools/add[\[] @name='DefaultAppPool'[\]]/@enable32BitAppOnWin64 File=[inetsrv]\config\applicationHost.config Value=true On=install/ /Component This code does not change the value in the applicationHost.config file. I tried adding the action=create but I then got the error during the setup that it could not open the XML file. What am I doing wrong? -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Setting a value XmlConfig
Hi John, I haven't done anything regarding permissions, although I am writing to it on a different component and that seems to be working. I am not trying to create a AppPool as I am using the default, I am just trying to change the enable32BitAppOnWin64 from false to true. Thanks -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: 28 August 2013 14:19 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Setting a value XmlConfig 1) I assume you have previously obtained permissions to the IIS [7-8] applicationHost.config file. Not just anybody can write to it. 2) It looks like you're creating an AppPool the hard way. One of the things the IIS Extension does really well is create AppPools. I would use the IIS Extension unless there's a compelling reason not to. 3) here's how I use util:XmlConfig: lt;util:XmlConfig Id=DeleteErrorSinkSinks Action=delete ElementPath=/logging/categories/error File=[#FileEnterpriseLoggingConfig] Node=element On=install Sequence=10 VerifyPath=/logging/categories/error/sinks /gt; lt;util:XmlConfig Id=WriteErrorSink Action=create ElementPath=/logging/categories/error File=[#FileEnterpriseLoggingConfig] Node=document On=install Sequence=11 Value=[ERROR_INNERTEXT] /gt; -- John Merryweather Cooper Build Install Engineer -- ESA Jack Henry Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: Wednesday, August 28, 2013 5:16 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Setting a value XmlConfig Hi I am trying to change a value setting in a config file using the following: Component Id=Enable32BitAppPoolComponent Guid=* Directory=INSTALLLOCATION CreateFolder/ util:XmlConfig Id=Enable32BitAppPool Node=value ElementPath=//configuration/system.applicationHost/applicationPools/add[\[] @name='DefaultAppPool'[\]]/@enable32BitAppOnWin64 File=[inetsrv]\config\applicationHost.config Value=true On=install/ /Component This code does not change the value in the applicationHost.config file. I tried adding the action=create but I then got the error during the setup that it could not open the XML file. What am I doing wrong? -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Setting a value XmlConfig
Steven, Thanks I was using that but decided to try a different approach. Just a quick question as appcmd is not available on iis 6 do you use another method or do you not support it? Thanks Natalie -Original Message- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: 28 August 2013 14:56 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Setting a value XmlConfig I am using a custom action for that (I set mine to false) however after our product was released I saw this post: http://stackoverflow.com/questions/11687870/wix-installer-always-changes-app pool-to-enable-32bit-app below is my custom action just in case... [CustomAction] public static ActionResult Enable32BitApplicationPool(Session session) { try { if (session == null) { throw new ArgumentNullException(session); } var tempString = GetSessionProperty(session, CustomActionData, false); var parts = tempString.Split(new[] { '|' }); var applicationPool = parts[0]; const string Quote = \; var cmdLineParameters = set apppool /apppool.name: + Quote + applicationPool + Quote + /enable32BitAppOnWin64:false; var cmdLineExe = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.System), inetsrv\\appcmd.exe); // Prepare the process to run var startInfo = new ProcessStartInfo { UseShellExecute = true, Arguments = cmdLineParameters, FileName = cmdLineExe, WindowStyle = ProcessWindowStyle.Hidden, CreateNoWindow = true }; // Run the external process wait for it to finish using (Process proc = Process.Start(startInfo)) { proc.WaitForExit(); } } catch (Exception ex) { WriteErrorLogInstall(session, Enable32BitApplicationPool failed: , ex, true); } return ActionResult.Success; } -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: August-28-13 9:41 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Setting a value XmlConfig Hi John, I haven't done anything regarding permissions, although I am writing to it on a different component and that seems to be working. I am not trying to create a AppPool as I am using the default, I am just trying to change the enable32BitAppOnWin64 from false to true. Thanks -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: 28 August 2013 14:19 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Setting a value XmlConfig 1) I assume you have previously obtained permissions to the IIS [7-8] applicationHost.config file. Not just anybody can write to it. 2) It looks like you're creating an AppPool the hard way. One of the things the IIS Extension does really well is create AppPools. I would use the IIS Extension unless there's a compelling reason not to. 3) here's how I use util:XmlConfig: lt;util:XmlConfig Id=DeleteErrorSinkSinks Action=delete ElementPath=/logging/categories/error File=[#FileEnterpriseLoggingConfig] Node=element On=install Sequence=10 VerifyPath=/logging/categories/error/sinks /gt; lt;util:XmlConfig Id=WriteErrorSink Action=create ElementPath=/logging/categories/error File=[#FileEnterpriseLoggingConfig] Node=document On=install Sequence=11 Value=[ERROR_INNERTEXT] /gt; -- John Merryweather Cooper Build Install Engineer -- ESA Jack Henry Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: Wednesday, August 28, 2013 5:16 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Setting a value XmlConfig Hi I am trying to change a value setting in a config file using the following: Component Id=Enable32BitAppPoolComponent Guid=* Directory=INSTALLLOCATION CreateFolder/ util:XmlConfig Id=Enable32BitAppPool Node=value ElementPath=//configuration/system.applicationHost/applicationPools/add[\[] @name='DefaultAppPool'[\]]/@enable32BitAppOnWin64 File=[inetsrv]\config\applicationHost.config Value=true On=install/ /Component This code does not change the value in the applicationHost.config file. I tried adding the action=create but I then got the error during the setup that it could not open the XML file. What am I doing wrong? -- Learn the latest--Visual Studio 2012
Re: [WiX-users] Setting a value XmlConfig
Steven, Just to show you how I done it within WiX: :) CustomAction Id=Enable32BitAppPool_Cmd Property=Enable32BitAppPool Value=quot;[SystemFolder]inetsrv\appcmdquot; set apppool /apppool.name:quot;Map_Poolquot; /enable32BitAppOnWin64:true Execute=immediate/ CustomAction Id=Enable32BitAppPool BinaryKey=WixCA DllEntry=CAQuietExec Execute=deferred Return=check Impersonate=no/ -Original Message- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: 28 August 2013 14:56 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Setting a value XmlConfig I am using a custom action for that (I set mine to false) however after our product was released I saw this post: http://stackoverflow.com/questions/11687870/wix-installer-always-changes-app pool-to-enable-32bit-app below is my custom action just in case... [CustomAction] public static ActionResult Enable32BitApplicationPool(Session session) { try { if (session == null) { throw new ArgumentNullException(session); } var tempString = GetSessionProperty(session, CustomActionData, false); var parts = tempString.Split(new[] { '|' }); var applicationPool = parts[0]; const string Quote = \; var cmdLineParameters = set apppool /apppool.name: + Quote + applicationPool + Quote + /enable32BitAppOnWin64:false; var cmdLineExe = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.System), inetsrv\\appcmd.exe); // Prepare the process to run var startInfo = new ProcessStartInfo { UseShellExecute = true, Arguments = cmdLineParameters, FileName = cmdLineExe, WindowStyle = ProcessWindowStyle.Hidden, CreateNoWindow = true }; // Run the external process wait for it to finish using (Process proc = Process.Start(startInfo)) { proc.WaitForExit(); } } catch (Exception ex) { WriteErrorLogInstall(session, Enable32BitApplicationPool failed: , ex, true); } return ActionResult.Success; } -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: August-28-13 9:41 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Setting a value XmlConfig Hi John, I haven't done anything regarding permissions, although I am writing to it on a different component and that seems to be working. I am not trying to create a AppPool as I am using the default, I am just trying to change the enable32BitAppOnWin64 from false to true. Thanks -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: 28 August 2013 14:19 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Setting a value XmlConfig 1) I assume you have previously obtained permissions to the IIS [7-8] applicationHost.config file. Not just anybody can write to it. 2) It looks like you're creating an AppPool the hard way. One of the things the IIS Extension does really well is create AppPools. I would use the IIS Extension unless there's a compelling reason not to. 3) here's how I use util:XmlConfig: lt;util:XmlConfig Id=DeleteErrorSinkSinks Action=delete ElementPath=/logging/categories/error File=[#FileEnterpriseLoggingConfig] Node=element On=install Sequence=10 VerifyPath=/logging/categories/error/sinks /gt; lt;util:XmlConfig Id=WriteErrorSink Action=create ElementPath=/logging/categories/error File=[#FileEnterpriseLoggingConfig] Node=document On=install Sequence=11 Value=[ERROR_INNERTEXT] /gt; -- John Merryweather Cooper Build Install Engineer -- ESA Jack Henry Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: Wednesday, August 28, 2013 5:16 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Setting a value XmlConfig Hi I am trying to change a value setting in a config file using the following: Component Id=Enable32BitAppPoolComponent Guid=* Directory=INSTALLLOCATION CreateFolder/ util:XmlConfig Id=Enable32BitAppPool Node=value ElementPath=//configuration/system.applicationHost/applicationPools/add[\[] @name='DefaultAppPool'[\]]/@enable32BitAppOnWin64 File=[inetsrv]\config\applicationHost.config Value=true On=install/ /Component This code does not change the value in the applicationHost.config file. I tried adding the action=create but I then got
[WiX-users] Modifiing Burn UI to make silent
Is there any way to modify burn to only show the Msi dialogs? I would like to use burn to install .Net Framework but don't like the two dialogs being shown and have tried to play around with the HyperLinkTheme.xml but cannot figure out if it can be done so that it is silent and to fire the Msi dialogs. Thanks Natalie -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Condition on components validation
Hi Blair, I implemented number one yesterday. I thought it was a better approach also. Thanks Natalie -Original Message- From: Blair Murri [mailto:os...@live.com] Sent: 20 August 2013 19:54 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Condition on components validation You discovered the certain circumstances (if the condition is false the component is removed during the repair). There are two other things you can do: either read in the registry value and rewrite it as part of the repair, or move the component to a different feature and effectively disable repair of that new feature. The latter is doable but harder to get right (you will have to isolate and test your feature handling custom action in every possible scenario), I recommend the former (read it in appsearch and just rewrite the registry key in the component as-is). From: natalie.c...@measuresoft.com To: wix-users@lists.sourceforge.net Date: Tue, 20 Aug 2013 09:08:02 +0100 Subject: Re: [WiX-users] Condition on components validation Hi John, Ah that makes sense, I didn't know that. The component is a registry value and gets set on a key dialog, on a new install the key dialog will always get shown as there is no unlock key in the registry and that is what is needed to unlock the software. However on a repair I only show the dialog if the unlock key is not in the registry, i.e. if it got corrupted/deleted. I wanted to place a condition on the component as on a repair if the key dialog is not shown the registry value is not being set and I get an error when trying to write it. What certain circumstances are there? Thanks for your help Natalie -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: 19 August 2013 17:01 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Condition on components validation Well, on a Repair, a previously installed component is going to be reinstalled. By default, component conditions are considered only once. You'd need to make the Component Transitive. But then you're going to run into the situation where the component may uninstall under certain circumstances during Repair. Why are you trying to block reinstall of that Component on Repair? -- John Merryweather Cooper Build Install Engineer -- ESA Jack Henry Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: Monday, August 19, 2013 10:34 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Condition on components validation I have a conditional component and the conditional statement is created via a custom actin that is run in the Install Execute Sequence before the CostFinalize action. However the component is always getting installed regardless of the condition. My Condition: ConditionPROMPTLOCKMODE = 0/Condition I have checked my log and it shows the validation property being set properly to 1 which then my component should not be getting installed but it is and this is the component in the log. LockEntries; Installed: Local; Request: Local; Action: Local This is on a repair. Anyone know what I am doing wrong? Thanks Natalie -- -- -- 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://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.c lktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. -- -- -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.c lktrk ___ WiX-users mailing list WiX-users
Re: [WiX-users] Condition on components validation
Hi John, Ah that makes sense, I didn't know that. The component is a registry value and gets set on a key dialog, on a new install the key dialog will always get shown as there is no unlock key in the registry and that is what is needed to unlock the software. However on a repair I only show the dialog if the unlock key is not in the registry, i.e. if it got corrupted/deleted. I wanted to place a condition on the component as on a repair if the key dialog is not shown the registry value is not being set and I get an error when trying to write it. What certain circumstances are there? Thanks for your help Natalie -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: 19 August 2013 17:01 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Condition on components validation Well, on a Repair, a previously installed component is going to be reinstalled. By default, component conditions are considered only once. You'd need to make the Component Transitive. But then you're going to run into the situation where the component may uninstall under certain circumstances during Repair. Why are you trying to block reinstall of that Component on Repair? -- John Merryweather Cooper Build Install Engineer -- ESA Jack Henry Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: Monday, August 19, 2013 10:34 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Condition on components validation I have a conditional component and the conditional statement is created via a custom actin that is run in the Install Execute Sequence before the CostFinalize action. However the component is always getting installed regardless of the condition. My Condition: ConditionPROMPTLOCKMODE = 0/Condition I have checked my log and it shows the validation property being set properly to 1 which then my component should not be getting installed but it is and this is the component in the log. LockEntries; Installed: Local; Request: Local; Action: Local This is on a repair. Anyone know what I am doing wrong? Thanks Natalie -- 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://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Condition on components validation
John, Just looked at that transitive attribute and it seems it will not help me as it will uninstall my component if my condition changes to false. Thanks Natalie -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: 19 August 2013 17:01 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Condition on components validation Well, on a Repair, a previously installed component is going to be reinstalled. By default, component conditions are considered only once. You'd need to make the Component Transitive. But then you're going to run into the situation where the component may uninstall under certain circumstances during Repair. Why are you trying to block reinstall of that Component on Repair? -- John Merryweather Cooper Build Install Engineer -- ESA Jack Henry Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: Monday, August 19, 2013 10:34 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Condition on components validation I have a conditional component and the conditional statement is created via a custom actin that is run in the Install Execute Sequence before the CostFinalize action. However the component is always getting installed regardless of the condition. My Condition: ConditionPROMPTLOCKMODE = 0/Condition I have checked my log and it shows the validation property being set properly to 1 which then my component should not be getting installed but it is and this is the component in the log. LockEntries; Installed: Local; Request: Local; Action: Local This is on a repair. Anyone know what I am doing wrong? Thanks Natalie -- 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://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Condition on components validation
I have a conditional component and the conditional statement is created via a custom actin that is run in the Install Execute Sequence before the CostFinalize action. However the component is always getting installed regardless of the condition. My Condition: ConditionPROMPTLOCKMODE = 0/Condition I have checked my log and it shows the validation property being set properly to 1 which then my component should not be getting installed but it is and this is the component in the log. LockEntries; Installed: Local; Request: Local; Action: Local This is on a repair. Anyone know what I am doing wrong? Thanks Natalie -- 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://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Msiexec command prompt when running setup
Hi Guys, I am not running my setup from the command line, I am double clicking on the MSI file. I have attached an image of the prompt that appears. Thank you for all your help. Natalie -Original Message- From: Phil Wilson [mailto:phil.wil...@mvps.org] Sent: 08 August 2013 19:15 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Msiexec command prompt when running setup but Natalie is saying that it just appears, says opening connection, sits there and goes away at the end. The fact that you can open a command prompt to perform msiexec commands doesn't seem relevant to Natalie's issue, which is why clarification on the exact meaning of msiexec command prompt might be useful. This could be something as ordinary as a command prompt window being opened by a command prompt program that's running as a custom action, but I've not previously heard that described as an msiexec command prompt. Phil -Original Message- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: Thursday, August 08, 2013 10:53 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Msiexec command prompt when running setup In a dos box (cmd prompt) you type msiexec.exe /I Myinstaller.msi you can add other options like logging, no reboot etc.. -Original Message- From: Phil Wilson [mailto:phil.wil...@mvps.org] Sent: August-08-13 1:46 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Msiexec command prompt when running setup I don't know what an msiexec command propt is - you may need to be more specific about what it is and the exact message text. The only scenarios I can think of where you might see that kind of informational dialog that just goes away are remote desktop types, or maybe Terminal Server or VMWare connections. Something like that anyway. Phil -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: Thursday, August 08, 2013 6:28 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Msiexec command prompt when running setup Hi, Seeing a strange problem with a few of my setups, when they are run a msiexec command prompt opens saying opening connection and it stays until the setup has been completed. Does anyone know why this would be happening? Thanks Natalie -- 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://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- 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://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- 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://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- 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://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- 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
[WiX-users] Msiexec command prompt when running setup
Hi, Seeing a strange problem with a few of my setups, when they are run a msiexec command prompt opens saying opening connection and it stays until the setup has been completed. Does anyone know why this would be happening? Thanks Natalie -- 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://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Replace a file in MSI
Hi everyone, I have a customer who would like to replace a certain file in my MSI setup. At the moment I am currently writing a guide on how to do this and at the moment I have this scenario: Remove cab from MSI Extract all files from Cab Replace file Rebuild cab file Add cab back into MSI This is done using the SDK commands. Is there an easier way to do this via orca/transforms? My user wold like the new file embedded inside the MSI and not at the root folder. Thank you. -- Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Replace a file in MSI
Hi Christopher, That certainly seems a far better approach. Would you have an example or point me in thr right direction on how to implement this please? Thank You Natalie Carr -Original Message- From: Christopher Painter [mailto:chr...@iswix.com] Sent: 01 August 2013 14:48 To: General discussion for Windows Installer XML toolset.; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Replace a file in MSI I take a slightly different approach. Not as optimal but simpler and less invasive. Using C#/DTF: Create a new cab with my file. Stream cab into MSI Update Media Table Update File Table This essentially orphans the original file and touches as little MSI table data as possible. From: Natalie Carr natalie.c...@measuresoft.com Sent: Thursday, August 01, 2013 8:41 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Replace a file in MSI Hi everyone, I have a customer who would like to replace a certain file in my MSI setup. At the moment I am currently writing a guide on how to do this and at the moment I have this scenario: Remove cab from MSI Extract all files from Cab Replace file Rebuild cab file Add cab back into MSI This is done using the SDK commands. Is there an easier way to do this via orca/transforms? My user wold like the new file embedded inside the MSI and not at the root folder. Thank you. -- Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Capital only Edit Control
Hello, Having a bit of a problem doing this and not sure of it can be done. I have an edit control that a user types into, I would like for the input to be all in capital letters. I tried having a custom action on the edit control to get the property, convert to capital letters and set the property again each time a letter is set but it does not work. I guessed it wouldn't but no harm in trying..:) Has anyone else solved this? I would like to do it without having a button to press if possible. The dialog in question is a twin dialog if that helps at all. Thanks for your help Natalie -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Custom action only on uninstall and not upgrade
Hi I have my custom action defined like so: Custom Action=DeleteTempRegKey Before=InstallFinalizeNOT INSTALLED AND NOT UPGRADINGPRODUCTCODE/Custom I only want the custom action to run on uninstall and not when getting removed by an upgrade. Is this possible? Thanks Natalie -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Are conditions case sensitive?
Simple question that I cannot find the answer to? Are conditions case sensitive? Thanks Natalie Carr -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Custom action on button issues
Hi, I have custom actions running on many of my Next buttons on my dialogs. However I seem to be experiencing an issue with them. Any button with a custom action I have to double click to get it to go to the next dialog. Would anyone know why this would be? Thanks -- Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with 2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Writing a WiX tutorial
Hi, I have been asked to write a WiX tutorial for my colleagues to take over my role when I leave. Has anyone written anything like this that they would be willing to help me out with? I am using the WiX tutorial online but would like your opinions on what I should include. Thanks Natalie -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Writing a WiX tutorial
Hi John, Yes that is the tutorial I am basing my own on. Just curious if anyone had any extra tips. Thank you for yours its very helpful..:) Natalie -Original Message- From: John Ludlow [mailto:john.ludlow...@gmail.com] Sent: 20 May 2013 10:07 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Writing a WiX tutorial Hi Natalie, Have you seen the tutorial at http://wix.tramontana.co.hu/? You may want to emulate this, since it's a good tutorial for general use, but you may want one tailored to your team and your product. You should include topics on things that you use (for example, Burn, patching and early REPs), as well as WiX/MSI conventions and best practices. Also describe how your code is organised and how you'd build it. On 20 May 2013 09:30, Natalie Carr natalie.c...@measuresoft.com wrote: Hi, I have been asked to write a WiX tutorial for my colleagues to take over my role when I leave. Has anyone written anything like this that they would be willing to help me out with? I am using the WiX tutorial online but would like your opinions on what I should include. Thanks Natalie -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Writing a WiX tutorial
Hi everyone, I am only a placement student and will be returning to complete my studies in September. I have created all new setups for the company I am working for, I want to leave documents on how to maintain the setups I have created and also how to do small modifications as nobody is familiar with WiX. It will not be a case of teaching someone it all, that would be impossible. One year later and things are still foreign to me. :) In the tutorial I will be outlining the main aspects of this, etc. and off course I will post it (I doubt it will be much help to anyone as I am such a newbie..lol) Thanks for all your replies. Natalie -Original Message- From: Alain Forget [mailto:afor...@cmu.edu] Sent: 20 May 2013 13:47 To: chr...@iswix.com; 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Writing a WiX tutorial I had no experience with WiX, but that very same tutorial that's been referenced and this mailing list has brought me up to speed. But if your superiors want you spending your time on updating the wheel (as opposed to other more useful things you could be doing), so be it. Could you at least post this newer tutorial somewhere? Alain -Original Message- From: Christopher Painter [mailto:chr...@iswix.com] Sent: May 20, 2013 08:37 To: General discussion for Windows Installer XML toolset.; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Writing a WiX tutorial Let me guess, your colleagues don't have an installer / windows installer / wix experience and they think that a couple of quick how to's will explain everything? Am I close and/or cynical? 10 FWIW, I've had 12 jobs in 16 years. I always document unique specifics but it's not my job to teach someone how to be a setup developer when I give my two weeks notice. It isn't possible in that amount of time. From: Natalie Carr natalie.c...@measuresoft.com Sent: Monday, May 20, 2013 3:36 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Writing a WiX tutorial Hi, I have been asked to write a WiX tutorial for my colleagues to take over my role when I leave. Has anyone written anything like this that they would be willing to help me out with? I am using the WiX tutorial online but would like your opinions on what I should include. Thanks Natalie -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Changinf output direcoty of MSI
Hi, Is there any way to change the output directory of an MSI? I have it building to my custom folder, however its builds like so : CustomFolder\en-US\Setup.msi I would like it to build to : CustomFolder\Setup.msi Is this possible? Thanks Natalie -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Extract Binary file from MSI C++
Hi this is my full working code: extern C UINT __stdcall InstallDrivers(MSIHANDLE hInstall) { HRESULT hr = S_OK; UINT er = ERROR_SUCCESS; HANDLE hFile = INVALID_HANDLE_VALUE; BYTE* pbData = NULL; DWORD cbData = 0; char pwzFilename[MAX_PATH], szDriverType[MAX_PATH], pwzSentinelFilename[MAX_PATH], szIsInstalled[MAX_PATH]; LPWSTR szValueBuf = NULL, szIsHaspInstalled = NULL, szIsSentinelInstalled = NULL; hr = WcaInitialize(hInstall, InstallDrivers); ExitOnFailure(hr, Failed to initialize); WcaLog(LOGMSG_STANDARD, Initialized.); WcaLog(LOGMSG_STANDARD, %s, szValueBuf); CreateDirectory(C:\\Temp, NULL); strcpy_s(pwzFilename, C:\\Temp\\HASPUserSetup.exe); hr = ExtractBinary(LHasp, pbData, cbData); ExitOnFailure(hr, failed to extract binary data); if ((hFile = CreateFile(pwzFilename, GENERIC_WRITE,FILE_SHARE_WRITE, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL)) == INVALID_HANDLE_VALUE) { PMSIHANDLE hRecord = MsiCreateRecord(0); MsiRecordSetString(hRecord, 0, TEXT(Could not create new temporary file)); MsiProcessMessage(hInstall, INSTALLMESSAGE(INSTALLMESSAGE_ERROR + MB_OK), hRecord); return ERROR_INSTALL_USEREXIT; } DWORD cbWritten = 0; if ( !WriteFile(hFile, pbData, cbData, cbWritten, NULL) ) { PMSIHANDLE hRecord = MsiCreateRecord(0); MsiRecordSetString(hRecord, 0, TEXT(Could not write to file)); MsiProcessMessage(hInstall, INSTALLMESSAGE(INSTALLMESSAGE_ERROR + MB_OK), hRecord); return ERROR_INSTALL_USEREXIT; } CloseHandle(hFile); strcpy_s(pwzSentinelFilename, C:\\Temp\\sentinel_setup.exe); hr = ExtractBinary(LSentinel, pbData, cbData); ExitOnFailure(hr, failed to extract binary data); if ((hFile = CreateFile(pwzSentinelFilename, GENERIC_WRITE,FILE_SHARE_WRITE, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL)) == INVALID_HANDLE_VALUE) { PMSIHANDLE hRecord = MsiCreateRecord(0); MsiRecordSetString(hRecord, 0, TEXT(Could not create new temporary file)); MsiProcessMessage(hInstall, INSTALLMESSAGE(INSTALLMESSAGE_ERROR + MB_OK), hRecord); return ERROR_INSTALL_USEREXIT; } if ( !WriteFile(hFile, pbData, cbData, cbWritten, NULL) ) { PMSIHANDLE hRecord = MsiCreateRecord(0); MsiRecordSetString(hRecord, 0, TEXT(Could not write to file)); MsiProcessMessage(hInstall, INSTALLMESSAGE(INSTALLMESSAGE_ERROR + MB_OK), hRecord); return ERROR_INSTALL_USEREXIT; } CloseHandle(hFile); hr = WcaGetProperty(LDRIVER, szValueBuf); ExitOnFailure(hr, failed to get driver info); wcstombs(szDriverType, szValueBuf, 260); if (strcmp(szDriverType, Hasp) == 0) { hr = WcaGetProperty(LSENTINELINSTALLED, szIsSentinelInstalled); ExitOnFailure(hr, failed to get driver info); wcstombs(szIsInstalled, szValueBuf, 260); if (strcmp(szIsInstalled, Sentinel Protection Installer 7.6.5) == 0) { ShellExecute(NULL, open, pwzSentinelFilename, NULL, NULL, SW_SHOWNORMAL); } ShellExecute(NULL, open, pwzFilename, NULL, NULL, SW_SHOWNORMAL); }else { hr = WcaGetProperty(LHASPINSTALLED, szIsHaspInstalled); ExitOnFailure(hr, failed to get driver info); wcstombs(szIsInstalled, szIsHaspInstalled, 260); if (strcmp(szIsInstalled, Sentinel Runtime) == 0) { ShellExecute(NULL, open, pwzFilename, NULL, NULL, SW_SHOWNORMAL); } ShellExecute(NULL, open, pwzSentinelFilename, NULL, NULL, SW_SHOWNORMAL); } LExit: er = SUCCEEDED(hr) ? ERROR_SUCCESS : ERROR_INSTALL_FAILURE; return WcaFinalize(er); } / ExtractBinary - helper function / HRESULT ExtractBinary( __in LPCWSTR wzBinaryId, __out BYTE** pbData, __out DWORD* pcbData ) { HRESULT hr = S_OK; LPWSTR pwzSql = NULL; PMSIHANDLE hView; PMSIHANDLE hRec; // make sure we're not horked from the get-go hr = WcaTableExists(LBinary); if (S_OK != hr) { if (SUCCEEDED(hr)) { hr = E_UNEXPECTED; } ExitOnFailure(hr, There is no Binary table.); } ExitOnNull(wzBinaryId, hr, E_INVALIDARG, Binary ID cannot be null);
Re: [WiX-users] Msitrans error 110
Tom, Thank you very much, was slowly driving me mad...:) I have been doing it with ORCA, I just wanted to automate the process. -Original Message- From: tom [mailto:tomer.d...@intergraph.com] Sent: Tuesday, February 26, 2013 8:18 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Msitrans error 110 Natalie i had the same problem Try this command msitran.exe -a TransformName YourMsi.msi Note that it will transform on the MSI so better copy it to different location first A nother option is to use ORCA to apply a transform -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Msitrans-error -110-tp7583954p7583965.html Sent from the wix-users mailing list archive at Nabble.com. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Msitrans error 110
Hi, I am trying to apply a transform to my msi without running it and I am using the MsiTran.exe. However I am getting the error 110 - cannot open database. Does anyone know how to solve this? Kind Regards, Natalie Carr -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] WcaGetProperty returning Invalid handle
Hi, I am calling WcaGetProperty multiple times like so: hr = WcaGetProperty(LANALOG_INPUT,szAnalogInput); ExitOnFailure(hr, failed to get the number of channels); strcpy(szChannelInfo, ANALOG_INPUT); ReadChannelInfo(hInstall, szChannelInfo, szAnalogInput); hr = WcaGetProperty(LDIGITAL_INPUT,szDigitalInput); ExitOnFailure(hr, failed to get the number of channels); strcpy(szChannelInfo, DIGITAL_INPUT); ReadChannelInfo(hInstall, szChannelInfo, szDigitalInput); hr = WcaGetProperty(LANALOGO_OUTPUT,szAnalogOutput); ExitOnFailure(hr, failed to get the number of channels); strcpy(szChannelInfo, ANALOG_OUTPUT); ReadChannelInfo(hInstall, szChannelInfo, szAnalogOutput); Although the first call works fine but the second one returns Invalid Handle, I have no idea what is happening as I have done this before without any problems. Any ideas? Kind Regards, Natalie Carr -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WcaGetProperty returning Invalid handle
Peter, That was exactly it, stupidly I missed that (it's monday) :) Thanks -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: Monday, February 25, 2013 3:05 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] WcaGetProperty returning Invalid handle The only thing I can think of right now is that WcaFinalize has been called prematurely ? -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 25 February 2013 14:41 To: wix-users@lists.sourceforge.net Subject: [WiX-users] WcaGetProperty returning Invalid handle Hi, I am calling WcaGetProperty multiple times like so: hr = WcaGetProperty(LANALOG_INPUT,szAnalogInput); ExitOnFailure(hr, failed to get the number of channels); strcpy(szChannelInfo, ANALOG_INPUT); ReadChannelInfo(hInstall, szChannelInfo, szAnalogInput); hr = WcaGetProperty(LDIGITAL_INPUT,szDigitalInput); ExitOnFailure(hr, failed to get the number of channels); strcpy(szChannelInfo, DIGITAL_INPUT); ReadChannelInfo(hInstall, szChannelInfo, szDigitalInput); hr = WcaGetProperty(LANALOGO_OUTPUT,szAnalogOutput); ExitOnFailure(hr, failed to get the number of channels); strcpy(szChannelInfo, ANALOG_OUTPUT); ReadChannelInfo(hInstall, szChannelInfo, szAnalogOutput); Although the first call works fine but the second one returns Invalid Handle, I have no idea what is happening as I have done this before without any problems. Any ideas? Kind Regards, Natalie Carr - - Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] IIS- delete hidden segment error
Hi I am trying to delete a hidden segment when installing a web application. I am using the following code: CustomAction Id=DeleteHiddenSegment Return=asyncNoWait Directory=TARGETDIR ExeCommand=[SystemFolder]inetsrv\appcmd set config /section:requestfiltering /-hiddensegments.[segment=quot;binquot;] Impersonate=no Execute=deferred / But I am getting the error: error LGHT0204: ICE03: Invalid format string Can anyone please help me out? Kind Regards, Natalie Carr -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] IIS- delete hidden segment error
Peter, Thanks it seems to be the square brackets it's not liking. Not sure if the command will do as expected but I will test it. Kind Regards, Natalie Carr -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: Wednesday, January 30, 2013 12:34 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] IIS- delete hidden segment error Keep deleting parts of the execommand string until it compiles. The quot; s are most likely causes. -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 30 January 2013 12:27 To: wix-users@lists.sourceforge.net Subject: [WiX-users] IIS- delete hidden segment error Hi I am trying to delete a hidden segment when installing a web application. I am using the following code: CustomAction Id=DeleteHiddenSegment Return=asyncNoWait Directory=TARGETDIR ExeCommand=[SystemFolder]inetsrv\appcmd set config /section:requestfiltering /-hiddensegments.[segment=quot;binquot;] Impersonate=no Execute=deferred / But I am getting the error: error LGHT0204: ICE03: Invalid format string Can anyone please help me out? Kind Regards, Natalie Carr - - Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] IIS- delete hidden segment error
Super, thank you Kind Regards, Natalie Carr -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: Wednesday, January 30, 2013 12:53 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] IIS- delete hidden segment error Oh, of course. It tries to interpret anything in square brackets as a property name and [segment=quot;binquot;] isn't a property name. If you need literal brackets in the string then you have to escape them as [\[] and [\]] See http://msdn.microsoft.com/en-US/library/aa368609.aspx 5th bullet. -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 30 January 2013 12:42 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] IIS- delete hidden segment error Peter, Thanks it seems to be the square brackets it's not liking. Not sure if the command will do as expected but I will test it. Kind Regards, Natalie Carr -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: Wednesday, January 30, 2013 12:34 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] IIS- delete hidden segment error Keep deleting parts of the execommand string until it compiles. The quot; s are most likely causes. -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 30 January 2013 12:27 To: wix-users@lists.sourceforge.net Subject: [WiX-users] IIS- delete hidden segment error Hi I am trying to delete a hidden segment when installing a web application. I am using the following code: CustomAction Id=DeleteHiddenSegment Return=asyncNoWait Directory=TARGETDIR ExeCommand=[SystemFolder]inetsrv\appcmd set config /section:requestfiltering /-hiddensegments.[segment=quot;binquot;] Impersonate=no Execute=deferred / But I am getting the error: error LGHT0204: ICE03: Invalid format string Can anyone please help me out? Kind Regards, Natalie Carr - - Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - - Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] IIS- Adding script maps
Hi, Can anyone tell me the correct way to add a Script Map to a web application via wix? I have this but it's not adding the dll. It is also an ASPAI module. Component Id='WebVirtualDirComponent' Guid='52D0B071-0801-4B93-8C8F-F5FC92DD8D8F' Directory='INSTALLLOCATION' CreateFolder/ iis:WebVirtualDir Id='WebVirtualDir' Alias='[PRODUCTNAME]' Directory='INSTALLLOCATION' WebSite='DefaultWebSite' iis:WebDirProperties Id='WebVirtualDirProperties' Execute='yes' WindowsAuthentication='yes'/ iis:WebApplication Id='WebApplication' Name='[PRODUCTNAME]' WebAppPool='WebAppPool' iis:WebApplicationExtension Extension='dll' Executable='[#mod_Gsoap.dll]' CheckPath='yes' Script='yes'/ /iis:WebApplication /iis:WebVirtualDir /Component Kind Regards, Natalie Carr -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Custom actions failing on XP
Thanks everyone for your help, I have created a small text application to call my DLL and it seems to be failing on the function GetModuleFileNameExA, I am looking into this. Again thank you, you have been a great help. Kind Regards, Natalie Carr Measuresoft Development Ltd., Partnership Courtyard, The Ramparts, Dundalk, Co. Louth, Ireland. Tel: +353 42 9332399 Email: natalie.c...@measuresoft.com Web:  http://www.measuresoft.com -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: Friday, January 25, 2013 5:45 PM To: General discussion for Windows Installer XML toolset.; chr...@iswix.com Subject: Re: [WiX-users] Custom actions failing on XP Well, looking in the installer log on my laptop, it looks like it requires VersionNt = 5.1 and ServicePackLevel = 2). Based on that, the x86 version should support install on XP with SP2 or SP3. The binaries do not appear to be managed code, so I don't think .NET 4.5 is an issue. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: John Cooper Sent: Friday, January 25, 2013 11:16 AM To: chr...@iswix.com; General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom actions failing on XP Look in the assemblies in the runtime (ILDASM will work). If there are any .NET 4.5 dependencies, it will be a no-go on anything before Windows 7. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Christopher Painter [mailto:chr...@iswix.com] Sent: Friday, January 25, 2013 11:07 AM To: General discussion for Windows Installer XML toolset.; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Custom actions failing on XP Sorry, haven't read the whole thread Didn't I read somewhere that VS2012 C++ doesn't support Windows XP? http://stackoverflow.com/questions/13492056/vs2012-c-dll-compatability From: Natalie Carr natalie.c...@measuresoft.com Sent: Friday, January 25, 2013 4:39 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom actions failing on XP Hi along with my wix installer I have a dll created using the C++ custom action project. However on running my setup on XP the custom actions are all returning value 3 and failing. I believe they are not even getting entered as the logs don't show them being initialized. I need help asap as I have to resolve this quickly. Anyone any ideas what could be wrong? Please I am using VS2012 if that could be the issue. Kind Regards, Natalie Carr -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted
[WiX-users] Custom actions failing on XP
Hi along with my wix installer I have a dll created using the C++ custom action project. However on running my setup on XP the custom actions are all returning value 3 and failing. I believe they are not even getting entered as the logs don't show them being initialized. I need help asap as I have to resolve this quickly. Anyone any ideas what could be wrong? Please I am using VS2012 if that could be the issue. Kind Regards, Natalie Carr -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Custom actions failing on XP
Hi Peter, I am using the Multi-threaded for the runtime? Would that be causing the issue? Thanks for getting back to me Kind Regards, Natalie Carr -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: Friday, January 25, 2013 10:53 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom actions failing on XP Have you tried linking to the C++ runtimes statically instead of to the DLLs ? The target runtime might be missing on XP. -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 25 January 2013 10:35 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom actions failing on XP Hi along with my wix installer I have a dll created using the C++ custom action project. However on running my setup on XP the custom actions are all returning value 3 and failing. I believe they are not even getting entered as the logs don't show them being initialized. I need help asap as I have to resolve this quickly. Anyone any ideas what could be wrong? Please I am using VS2012 if that could be the issue. Kind Regards, Natalie Carr - - Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Custom actions failing on XP
Also I forgot to mention I installed the Visual Studio C++ Redistributables and it is still failig. Kind Regards, Natalie Carr -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: Friday, January 25, 2013 10:53 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom actions failing on XP Have you tried linking to the C++ runtimes statically instead of to the DLLs ? The target runtime might be missing on XP. -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 25 January 2013 10:35 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom actions failing on XP Hi along with my wix installer I have a dll created using the C++ custom action project. However on running my setup on XP the custom actions are all returning value 3 and failing. I believe they are not even getting entered as the logs don't show them being initialized. I need help asap as I have to resolve this quickly. Anyone any ideas what could be wrong? Please I am using VS2012 if that could be the issue. Kind Regards, Natalie Carr - - Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Custom actions failing on XP
I have done that and still no joy..:( Kind Regards, Natalie Carr -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Friday, January 25, 2013 11:27 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom actions failing on XP I think you need an update to VS2012 http://blogs.msdn.com/b/vcblog/archive/2012/10/08/10357555.aspx Neil -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: 25 January 2013 11:26 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom actions failing on XP I seem to remember reading that C++ code compiled using VS2012 cannot target XP. Neil -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 25 January 2013 10:35 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom actions failing on XP Hi along with my wix installer I have a dll created using the C++ custom action project. However on running my setup on XP the custom actions are all returning value 3 and failing. I believe they are not even getting entered as the logs don't show them being initialized. I need help asap as I have to resolve this quickly. Anyone any ideas what could be wrong? Please I am using VS2012 if that could be the issue. Kind Regards, Natalie Carr -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Custom actions failing on XP
Thanks for your help Peter, I have no idea why it is not running...:( Kind Regards, Natalie Carr -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: Friday, January 25, 2013 12:03 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom actions failing on XP Multithreaded ought to be fine - I was referring to the dynamically/statically linking options (lib vs dll), but if you've already got the runtimes on the machine, then it wasn't the problem I was thinking about. -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 25 January 2013 11:24 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Custom actions failing on XP Hi Peter, I am using the Multi-threaded for the runtime? Would that be causing the issue? Thanks for getting back to me Kind Regards, Natalie Carr -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: Friday, January 25, 2013 10:53 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom actions failing on XP Have you tried linking to the C++ runtimes statically instead of to the DLLs ? The target runtime might be missing on XP. -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 25 January 2013 10:35 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom actions failing on XP Hi along with my wix installer I have a dll created using the C++ custom action project. However on running my setup on XP the custom actions are all returning value 3 and failing. I believe they are not even getting entered as the logs don't show them being initialized. I need help asap as I have to resolve this quickly. Anyone any ideas what could be wrong? Please I am using VS2012 if that could be the issue. Kind Regards, Natalie Carr - - Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - - Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users
[WiX-users] Light command line error
Hi I am trying to change the directory in which my project builds using light. I have tried this in the pre-build command line: $(WiX)bin\light.exe -out E:\Products\newpath\ newpath \ newpath \Setup But I get this error: error LGHT0284: Invalid file name specified on the command line: 'E:\Products\oldpath\oldpath\oldpath\oldpath\bin\Release\en-US\E:\Products\ newpath\ newpath \ newpath \Setup.msi'. Error message: 'The given path's format is not supported.' What am I doing wrong? Kind Regards, Natalie Carr -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Iis error - Failed to open AppHostWritableAdminManager to configure IIS7
Hi I am trying to use the WIX iis extension and I am getting the following error when trying to install: MSI (s) (A8:24) [11:35:48:505]: Executing op: CustomActionSchedule(Action=WriteIIS7ConfigChanges,ActionType=11265,Source=B inaryData,Target=**,CustomActionData=**) MSI (s) (A8:AC) [11:35:48:536]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI20F9.tmp, Entrypoint: WriteIIS7ConfigChanges WriteIIS7ConfigChanges: Error 0x80040154: Failed to open AppHostWritableAdminManager to configure IIS7 WriteIIS7ConfigChanges: Error 0x80040154: WriteIIS7ConfigChanges Failed. CustomAction WriteIIS7ConfigChanges returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox) Action ended 11:35:48: InstallFinalize. Return value 3. Anyone have any ideas whats wrong? My wxs file: Component Id='WebVirtualDirComponent' Guid='*' Directory='INSTALLLOCATION' CreateFolder/ iis:WebAppPool Id=WebAppPool Name=DefaultAppPool / iis:WebVirtualDir Id='WebVirtualDir' Alias='[PRODUCTNAME]' Directory='INSTALLLOCATION' WebSite='DefaultWebSite' iis:WebDirProperties Id='WebVirtualDirProperties' Execute='yes'/ iis:WebApplication Id='WebApplication' Name='[PRODUCTNAME]' WebAppPool='WebAppPool' iis:WebApplicationExtension Extension='dll' Executable='[#mod_Gsoap.dll]' CheckPath='yes' Script='yes'/ /iis:WebApplication /iis:WebVirtualDir iis:WebSite Id='DefaultWebSite' Description='Default Web Site' Directory='INSTALLLOCATION' iis:WebAddress Id='AllUnassigned' Port='80' / iis:WebDirProperties Id='WebDirProperties' Execute='yes'/ /iis:WebSite /Component Kind Regards, Natalie Carr -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Don't uninstall files if they have been edited
Hi, I am installing a few text files that the user may or may not edit. If the user has edited these I want them to remain on the machine after uninstall. Is this possible via WIX? Kind Regards, Natalie Carr -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Installing files that already exist on target machine
Hi, My setup currently installs hundreds of files but some of these files may already exist on the target machine, is there any way to ensure all of my files get installed even if they already exist? Kind Regards, Natalie Carr -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Installing files that already exist on target machine
Hi John, Thank you for all your information. I have to allow for downgrades so I am now removing the file if it exists and then installing the new one regardless of versioning, etc. Thank you again Kind Regards, Natalie Carr -Original Message- From: John Ludlow [mailto:john.ludlow...@gmail.com] Sent: Friday, January 18, 2013 12:30 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Installing files that already exist on target machine The first thing you need to do is read these two topics: * Aaron Stebner on file replacement : http://blogs.msdn.com/b/astebner/archive/2005/08/30/458295.aspx * MSDN docs: http://msdn.microsoft.com/en-us/library/aa368267(v=vs.85).aspx If the files in question are versioned files (dlls and exes) then as long as the version numbers increase then by default will be replaced based on a highest-version-wins bases. This helps insure that you don't damage the system by installing an older version. If the files are unversioned, then the creation time and modification time are compared, and if they are different then the file has been edited since installation (as those two dates are synced up at installation time) and the file is considered user data which is not safe to overwrite (the user may have changed some settings which they want to keep, etc). You'll have to consider whether those rules are sufficient for your needs. If not, then you will need to look into the REINSTALLMODE (http://msdn.microsoft.com/en-gb/library/windows/desktop/aa371182(v=vs.85).a spx) property, possibly setting it to amus (which means replace all files regardless of versions or dates, and is generally not recommended). On 18 January 2013 12:06, Natalie Carr natalie.c...@measuresoft.com wrote: Hi, My setup currently installs hundreds of files but some of these files may already exist on the target machine, is there any way to ensure all of my files get installed even if they already exist? Kind Regards, Natalie Carr -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Find out the features selected immediately
Hi John, I did not think it was possible after trying multiple things, I'm glad there is a work around however. Do you have a quick sample you could show me? Kind Regards, Natalie Carr -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: Thursday, January 10, 2013 7:59 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Find out the features selected immediately Not really. The properties one could refer to aren't finalized until after CostFinalize which is going to be too late for most of your dialogs. The way I worked around it with one my multi-feature installers as to maintain a set of shadow properties that tracked each of the features. This requires manually updating them during any action that might change the installed features. Thankfully, this was mostly concentrated in the CustomizeDlg, but it is a lot of bookkeeping. I've tried AddLocal and all the rest, but those methods were either not reliable enough, or not valid before CostFinalize. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: Thursday, January 10, 2013 11:18 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Find out the features selected immediately Hi, Is there any way to find out which features a user selected from the feature dialog straight away via a custom action when they click Next on that dialog. I have tried to use the AddLocal property but it is not set and don't know how else to find this info out. Any help would greatly be appreciated. Thanks N -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Find out the features selected immediately
Hi, Is there any way to find out which features a user selected from the feature dialog straight away via a custom action when they click Next on that dialog. I have tried to use the AddLocal property but it is not set and don't know how else to find this info out. Any help would greatly be appreciated. Thanks N -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Update progress bar from custom actions
Hi I am trying to update the progress bar from my custom action, this is what I have so far and I am so confused looking online about what is happeneing. extern C UINT __stdcall InstallDrivers(MSIHANDLE hInstall) { AssertSz(FALSE, debug here); HRESULT hr = S_OK; UINT er = ERROR_SUCCESS; LPWSTR szValueBuf = NULL; char CustomActionData[MAX_PATH]; const UINT iTickIncrement = 1; const UINT iNumberItems = 10; const UINT iTotalTicks = iTickIncrement * iNumberItems; PMSIHANDLE hActionRec = MsiCreateRecord(10); PMSIHANDLE hProgressRec = MsiCreateRecord(3); hr = WcaInitialize(hInstall, InstallDrivers); ExitOnFailure(hr, Failed to initialize); WcaLog(LOGMSG_STANDARD, Initialized.); hr = WcaGetProperty(LCustomActionData,szValueBuf); ExitOnFailure(hr, failed to get CustomActionData); wcstombs(CustomActionData, szValueBuf, 260); char *token = std::strtok(CustomActionData, ,); while (token != NULL) { if (strcmp(token, Driver1) ==0) { MsiRecordSetString(hActionRec, 1, TEXT(Installing Alpha Driver)); token = strtok (NULL, ,); } else if (strcmp(token, Driver2) ==0) { MsiRecordSetString(hActionRec, 1, TEXT(Installing Modbus Master Driver)); token = strtok (NULL, ,); } else if (strcmp(token, Driver3) ==0) { MsiRecordSetString(hActionRec, 1, TEXT(Installing Modbus Slave Driver)); token = strtok (NULL, ,); } else if (strcmp(token, Driver4) ==0) { MsiRecordSetString(hActionRec, 1, TEXT(Installing Wits Input Driver)); token = strtok (NULL, ,); } else if (strcmp(token, Driver5) ==0) { MsiRecordSetString(hActionRec, 1, TEXT(Installing Wits Output Driver)); token = strtok (NULL, ,); } else if (strcmp(token, Driver6) ==0) { MsiRecordSetString(hActionRec, 1, TEXT(Installing Witsml Driver)); token = strtok (NULL, ,); } else if (strcmp(token, Supplementary) ==0) { MsiRecordSetString(hActionRec, 1, TEXT(Installing EdgeX Supplementary)); token = strtok (NULL, ,); } else if (strcmp(token, Driver7) ==0) { MsiRecordSetString(hActionRec, 1, TEXT(Installing Datascan 7000)); token = strtok (NULL, ,); } else { MsiRecordSetString(hActionRec, 1, TEXT()); token = strtok (NULL, ,); } WcaProcessMessage(INSTALLMESSAGE_ACTIONSTART, hActionRec); Anyone help me with how I get it actually showing? Please -- Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Condition Message only on install
Hi can anyone tell me what is wrong with my conditions? I thought they were correct as I only want the condition message to be evaluated on install and not on uninstall but it is still being evaluated on uninstall. Condition Message=Cannot access the server root directory for the installation to proceed.![CDATA[(SERVERINSTALLED) AND (NOT Installed)]]/Condition Kind Regards, Natalie Carr -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Condition Message only on install
Thanks for the info Peter, I will write a condition that is only checked on installation. Kind Regards, Natalie Carr -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: Wednesday, December 19, 2012 3:36 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Condition Message only on install Launch conditions always run, including during removal. Usually, you'd use the condition: Installed or ... if you want to write a condition that's only checked at first-time installation. -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 19 December 2012 15:10 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Condition Message only on install Hi can anyone tell me what is wrong with my conditions? I thought they were correct as I only want the condition message to be evaluated on install and not on uninstall but it is still being evaluated on uninstall. Condition Message=Cannot access the server root directory for the installation to proceed.![CDATA[(SERVERINSTALLED) AND (NOT Installed)]]/Condition Kind Regards, Natalie Carr - - LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Problem with license agreement text
I have it formatted I think, this is a line from the agreement: Where the Licence has been purchased through a distributor including [DISTRIBUTORNAME] Property: Property Id=DISTRIBUTORNAME Secure=yes Value=Company Ltd/ But it is still only showing [DISTRIBUTORNAME] in the agreement on the dialog. Kind Regards, Natalie Carr -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Friday, December 14, 2012 8:40 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Problem with license agreement text It will work if that column is marked Formatted in the MSI SDK. On Fri, Dec 14, 2012 at 2:37 AM, Natalie Carr natalie.c...@measuresoft.comwrote: Hi I am inserting the license agreement using Text tags with the rft formatting. It is showing up perfectly on the license agreement dialog. However I need to be able to pull a property from the setup and use it in the agreement, I am doing do but the agreement just shows with [PROPERTYNAME] instead of the value. Can this be done? Kind Regards, Natalie Carr -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching http://RobMensching.com LLC -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Problem with license agreement text
Oh silly me, I found it, unfortunately it does not support embedded properties..thanks Kind Regards, Natalie Carr -Original Message- From: Wesley Manning [mailto:wmann...@dynagen.ca] Sent: Monday, December 17, 2012 2:33 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Problem with license agreement text What he means is that you have to check the documentation to see if it accepts formatted text. If it doesn't it will display the text as is. -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: December-17-12 5:26 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Problem with license agreement text I have it formatted I think, this is a line from the agreement: Where the Licence has been purchased through a distributor including [DISTRIBUTORNAME] Property: Property Id=DISTRIBUTORNAME Secure=yes Value=Company Ltd/ But it is still only showing [DISTRIBUTORNAME] in the agreement on the dialog. Kind Regards, Natalie Carr -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Friday, December 14, 2012 8:40 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Problem with license agreement text It will work if that column is marked Formatted in the MSI SDK. On Fri, Dec 14, 2012 at 2:37 AM, Natalie Carr natalie.c...@measuresoft.comwrote: Hi I am inserting the license agreement using Text tags with the rft formatting. It is showing up perfectly on the license agreement dialog. However I need to be able to pull a property from the setup and use it in the agreement, I am doing do but the agreement just shows with [PROPERTYNAME] instead of the value. Can this be done? Kind Regards, Natalie Carr -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching http://RobMensching.com LLC -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Example of extracting a file from binary table
Hi does anyone have a full example of extracting a file from the binary table and executing it in C++? I cannot seem get it working at all. Kind Regards, Natalie Carr -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Problem with license agreement text
Hi I am inserting the license agreement using Text tags with the rft formatting. It is showing up perfectly on the license agreement dialog. However I need to be able to pull a property from the setup and use it in the agreement, I am doing do but the agreement just shows with [PROPERTYNAME] instead of the value. Can this be done? Kind Regards, Natalie Carr -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Regisytry Entry Permissions
This is what I had to use to get around that: Component Id=RegistryEntries Guid=* Win64=$(var.Win64) Directory=TARGETDIR RegistryKey Root=HKLM Key=Software\Manuafcturer\[PRODUCTNAME] ForceDeleteOnUninstall=yes ForceCreateOnInstall=yes !--RegistryValue Type=string Name=ProductName Value=[PRODUCTNAME] Permission TakeOwnership=yes User=everyone GenericAll=yes/ /RegistryValue-- RegistryValue Type=string Name=Installed Value=true KeyPath=yes Permission TakeOwnership=yes User=everyone GenericAll=yes/ /RegistryValue RegistryValue Type=string Name=Root: Value=[INSTALLLOCATION] Permission TakeOwnership=yes User=everyone GenericAll=yes/ /RegistryValue RegistryValue Type=integer Name=LockMode Value=[LOCKTYPE] Permission TakeOwnership=yes User=everyone GenericAll=yes/ /RegistryValue RegistryValue Type=string Name=Controls Value=ALL Permission TakeOwnership=yes User=everyone GenericAll=yes/ /RegistryValue RegistryValue Type=string Name=DistributorLink Value=[DISTRIBUTORLINK] Permission TakeOwnership=yes User=everyone GenericAll=yes/ /RegistryValue RegistryValue Type=string Name=DistributorName Value=[DISTRIBUTORNAME] Permission TakeOwnership=yes User=everyone GenericAll=yes/ /RegistryValue RegistryValue Type=string Name=DistributorPhone Value=[DISTRIBUTORPHONE] Permission TakeOwnership=yes User=everyone GenericAll=yes/ /RegistryValue Permission TakeOwnership=yes User=everyone GenericAll=yes/ /RegistryKey Kind Regards, Natalie Carr -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: Thursday, December 06, 2012 10:28 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Regisytry Entry Permissions Permissions are not cascaded down to subkeys. There might even be a bug/feature request still outstanding for it. -Original Message- From: Chaitanya [mailto:chaita...@pointcross.com] Sent: 06 December 2012 07:49 To: WiX-users@lists.sourceforge.net Subject: [WiX-users] Regisytry Entry Permissions Hi, Iam assigning permissions to Registry.(Admin-Fullcontrol,User-Read) permissions. Iam using code like. util:PermissionEx User=Orchestra_User_Access Read=yes ReadPermission=yes GenericRead=yes GenericExecute=yes ChangePermission=yes / util:PermissionEx User=Orchestra_Admin_Access GenericAll=yes ChangePermission=yes/ But in my registry its not showing dat permissions is assigned to that user. When I use. Permission User=Orchestra_Admin_Access GenericAll=yes ChangePermission=yes/ This tag.permissions I assigned.but its not inherited. Please help me how to assign permissions or to assign inheritance. Thanks, Chaitanya. - - LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] ProgramMenuFolder: Directory Shortcut
This is how I do it: !--Setting up the shortcuts for the product-- Directory Id=ProgramMenuFolder Name=Programs Directory Id=ProgramMenuDir Name=$(var.ShortcutName) Directory Id=ProgramMenuSubFolder Name=LOGGERS /Directory /Directory /Directory /Directory Component Id='LoggersShortcut' Guid='2A6D411E-5CE9-4F38-8F25-361CBFCABB5A' Directory='ProgramMenuSubFolder' CreateFolder Directory=ProgramMenuSubFolder / RemoveFolder Id='ProgramMenuSubFolder' On='uninstall' Directory='ProgramMenuSubFolder'/ RegistryValue Root='HKCU' Key='Software\ShortcutProperty\[PRODUCTNAME]' Type='string' Value='1' KeyPath='yes' / /Component Kind Regards, Natalie Carr Tel:Â +353 42 9332399 Email:Â natalie.c...@measuresoft.com Web:Â Â http://www.measuresoft.com -Original Message- From: Budde, Marco [mailto:bu...@telos.de] Sent: Wednesday, December 05, 2012 10:21 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] ProgramMenuFolder: Directory Shortcut Hi, I am just porting one of our setup projects from Visual Studio Setup Deployment to WiX. So far everything looks good, but I have one major problem. There is an example subdirectory in the installation directory. I have to install a shortcut to this directory in the start menu of Windows. I have already installed a lot of shortcuts to files, but I do not know how to install a shortcut to a directory. I have already tried several approaches, but I am always getting error messages when building the WiX project, e.g.: DirectoryRef Id=APPLICATIONROOTDIRECTORY Directory Id=API_DirExamples Name=examples ... /Directory Component Id=Test Guid=634c82e9-8adc-48cd-b054-ca2365a95b66 Shortcut Id=API_StartMenuExamples Name=Examples Directory=Main_DirStartMenu Advertise=yes / /Component /Directory I am getting this error: error LGHT0204: ICE18: KeyPath for Component: 'Test' is Directory: 'API_DirExamples'. The Directory/Component pair must be listed in the CreateFolders table. Adding a RegistryValue to the component results into other error messages. Best regards, Marco -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Shortcut Name
Hi Jacob, Yes I have a list of about 10 so I am sure I can make this work. Thanks for your help Kind Regards, Natalie Carr -Original Message- From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] Sent: Thursday, November 29, 2012 6:37 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Shortcut Name What he is saying is that the Shorcut tables Name property isn't formatted so you can't use properties ( []'s ) to change the name of the shortcut at install time. The only solutions I can think of to get a dynamic shortcut name are: If you only have a predefined set of possible names, then define them all in the MSI and use conditions to only install the one you want. If you really have no bounds and the shortcuts can be named anything, then you would have to write one or more custom actions to insert the records in the appropriate tables at runtime, which is not a trivial task to get right. -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: Thursday, November 29, 2012 10:08 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Shortcut Name Hi Phil, I see, something like this: Shortcut Id=MainAppOrch Directory=ProgramMenuDir Icon=mainmenuOrch IconIndex=0 Target=[BIN]mainmenu.exe Arguments=[PRODUCTNAME] Name= Although I'm not sure what to put in the name attribute? Kind Regards, Natalie Carr Tel:Â +353 42 9332399 Email:Â natalie.c...@measuresoft.com Web:Â Â http://www.measuresoft.com -Original Message- From: Phil Wilson [mailto:phil.wil...@mvps.org] Sent: Thursday, November 29, 2012 3:44 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Shortcut Name See the Shortcut table docs: http://msdn.microsoft.com/en-us/library/windows/desktop/aa371847(v=vs.85).as px Where the Name is not Formatted type. In contrast Arguments is Formatted, so it can be initialised dynamically from (say) a property name in square brackets. Phil -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: Wednesday, November 28, 2012 8:43 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Shortcut Name Hi Rob, Can u provide a quick sample, I'm not too sure what exactly you mean, Thanks. Kind Regards, Natalie Carr -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Wednesday, November 28, 2012 4:21 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Shortcut Name Yes but only if the Name column for the Shortcut is of type Formatted. On Wed, Nov 28, 2012 at 1:22 AM, Natalie Carr natalie.c...@measuresoft.comwrote: Hi, Is there any way to use a property defined at install time for the shortcut name attribute or does this have to be defined at build time? Kind Regards, Natalie Carr -- Keep yourself connected to Go Parallel: INSIGHTS What's next for parallel hardware, programming and related areas? Interviews and blogs by thought leaders keep you ahead of the curve. http://goparallel.sourceforge.net ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching http://RobMensching.com LLC -- Keep yourself connected to Go Parallel: INSIGHTS What's next for parallel hardware, programming and related areas? Interviews and blogs by thought leaders keep you ahead of the curve. http://goparallel.sourceforge.net ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Keep yourself connected to Go Parallel: INSIGHTS What's next for parallel hardware, programming and related areas? Interviews and blogs by thought leaders keep you ahead of the curve. http://goparallel.sourceforge.net ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project with help from experts and peers. http://goparallel.sourceforge.net ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project with help from experts and peers. http
Re: [WiX-users] Shortcut Name
Hi Phil, I see, something like this: Shortcut Id=MainAppOrch Directory=ProgramMenuDir Icon=mainmenuOrch IconIndex=0 Target=[BIN]mainmenu.exe Arguments=[PRODUCTNAME] Name= Although I'm not sure what to put in the name attribute? Kind Regards, Natalie Carr Tel:Â +353 42 9332399 Email:Â natalie.c...@measuresoft.com Web:Â Â http://www.measuresoft.com -Original Message- From: Phil Wilson [mailto:phil.wil...@mvps.org] Sent: Thursday, November 29, 2012 3:44 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Shortcut Name See the Shortcut table docs: http://msdn.microsoft.com/en-us/library/windows/desktop/aa371847(v=vs.85).as px Where the Name is not Formatted type. In contrast Arguments is Formatted, so it can be initialised dynamically from (say) a property name in square brackets. Phil -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: Wednesday, November 28, 2012 8:43 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Shortcut Name Hi Rob, Can u provide a quick sample, I'm not too sure what exactly you mean, Thanks. Kind Regards, Natalie Carr -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Wednesday, November 28, 2012 4:21 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Shortcut Name Yes but only if the Name column for the Shortcut is of type Formatted. On Wed, Nov 28, 2012 at 1:22 AM, Natalie Carr natalie.c...@measuresoft.comwrote: Hi, Is there any way to use a property defined at install time for the shortcut name attribute or does this have to be defined at build time? Kind Regards, Natalie Carr -- Keep yourself connected to Go Parallel: INSIGHTS What's next for parallel hardware, programming and related areas? Interviews and blogs by thought leaders keep you ahead of the curve. http://goparallel.sourceforge.net ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching http://RobMensching.com LLC -- Keep yourself connected to Go Parallel: INSIGHTS What's next for parallel hardware, programming and related areas? Interviews and blogs by thought leaders keep you ahead of the curve. http://goparallel.sourceforge.net ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Keep yourself connected to Go Parallel: INSIGHTS What's next for parallel hardware, programming and related areas? Interviews and blogs by thought leaders keep you ahead of the curve. http://goparallel.sourceforge.net ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project with help from experts and peers. http://goparallel.sourceforge.net ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project with help from experts and peers. http://goparallel.sourceforge.net ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Shortcut Name
Hi, Is there any way to use a property defined at install time for the shortcut name attribute or does this have to be defined at build time? Kind Regards, Natalie Carr -- Keep yourself connected to Go Parallel: INSIGHTS What's next for parallel hardware, programming and related areas? Interviews and blogs by thought leaders keep you ahead of the curve. http://goparallel.sourceforge.net ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Shortcut Name
Hi Rob, Can u provide a quick sample, I'm not too sure what exactly you mean, Thanks. Kind Regards, Natalie Carr -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Wednesday, November 28, 2012 4:21 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Shortcut Name Yes but only if the Name column for the Shortcut is of type Formatted. On Wed, Nov 28, 2012 at 1:22 AM, Natalie Carr natalie.c...@measuresoft.comwrote: Hi, Is there any way to use a property defined at install time for the shortcut name attribute or does this have to be defined at build time? Kind Regards, Natalie Carr -- Keep yourself connected to Go Parallel: INSIGHTS What's next for parallel hardware, programming and related areas? Interviews and blogs by thought leaders keep you ahead of the curve. http://goparallel.sourceforge.net ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching http://RobMensching.com LLC -- Keep yourself connected to Go Parallel: INSIGHTS What's next for parallel hardware, programming and related areas? Interviews and blogs by thought leaders keep you ahead of the curve. http://goparallel.sourceforge.net ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Keep yourself connected to Go Parallel: INSIGHTS What's next for parallel hardware, programming and related areas? Interviews and blogs by thought leaders keep you ahead of the curve. http://goparallel.sourceforge.net ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Share Folder Over A Network
Hi, I would like to share a folder over a network is this possible to be done in WIX? I have looked at the Util ShareFile element but I am not sure on the User attribute or even if it is possible. Any help would greatly be appreciated. Thanks Kind Regards, Natalie Carr -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Extract Binary file from MSI C++
I have got in extracting using this: StrAlloc(pwzFilename, MAX_PATH); ExitOnFailure(hr, Failed to allocate temporary path); ::GetTempPathW(MAX_PATH, pwzFilename); hr = ::StringCchCatW(pwzFilename, MAX_PATH, pwzBinary); ExitOnFailure(hr, Failed to append filename.); hr = ::StringCchCatW(pwzFilename, MAX_PATH, L.exe); ExitOnFailure(hr, Failed to append filename.); hr = ExtractBinary(pwzBinary, pbData, cbData); ExitOnFailure(hr, failed to extract binary data); hFile = CreateFileW(pwzFilename, GENERIC_WRITE,FILE_SHARE_WRITE, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); DWORD cbWritten = 0; if (!WriteFile(hFile, pbData, cbData, cbWritten, NULL)) CloseHandle(hFile); But can I extract it so that it is an exe that can be run? Kind Regards, Natalie Carr Measuresoft Development Ltd., Partnership Courtyard, The Ramparts, Dundalk, Co. Louth, Ireland. Tel:Â +353 42 9332399 Email:Â natalie.c...@measuresoft.com Web:Â Â http://www.measuresoft.com -Original Message- From: David Connet [mailto:d...@agilityrecordbook.com] Sent: Thursday, November 22, 2012 5:36 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Extract Binary file from MSI C++ And make sure the phView is actually pointing at a view handle. Usually, you'd have MSIHANDLE hView; ... If (MsiDatabaseOpenView(database, SELECT 'Data' FROM 'Binary' WHERE 'Name'= 'Hasp', hView) != ERROR_SUCCESS) ... Dave On 11/22/2012 9:19 AM, Peter Shirtcliffe wrote: Adjust that to PMSIHANDLE database = MsiGetActiveDatabase(hInstall); if (database == 0) ; //handle the error somehow and exit If (MsiDatabaseOpenView(database, SELECT 'Data' FROM 'Binary' WHERE 'Name'= 'Hasp', phView) != ERROR_SUCCESS) ; // handle the error somehow and exit If you're more interested in getting it done quickly then you can use ExtractBinary from the wix wcautil/dutil libraries. Its mentioned in these links Source http://wix.cvs.sourceforge.net/viewvc/wix/wix/src/ca/wixca/dll/shellex ecca.cp p?hideattic=1revision=1.4view=markuppathrev=MAIN Example http://blogs.msdn.com/b/icumove/archive/2009/06/23/custom-action-using -wix-re ading-from-the-binary-table.aspx -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 22 November 2012 17:03 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Extract Binary file from MSI C++ Peter, I know now what you mean: extern C UINT __stdcall InstallDrivers(MSIHANDLE hInstall) { MsiGetActiveDatabase(hInstall); MsiDatabaseOpenView(hInstall, SELECT 'Data' FROM 'Binary' WHERE 'Name' = 'Hasp', phView); MsiRecordReadStream(*phView, 1, szBuffer, cbBuf); CreateFile(szBuffer, GENERIC_WRITE,FILE_SHARE_WRITE, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); } Debugging throws up no errors it just ends the setup prematurely. Kind Regards, Natalie Carr -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: Thursday, November 22, 2012 4:54 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Extract Binary file from MSI C++ The argument to MsiDatabaseOpenView should be a handle to a database. That would be there return value of MsiGetActiveDatabase. MsiGetActiveDatabase takes and argument of an installation session which is what the custom action is passed on entry. You've passed and uninitialized database handle to both calls. -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 22 November 2012 16:35 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Extract Binary file from MSI C++ Hi I am trying to run a custom action to extract a binary file from my WIX installer, so far I have got this but I know it is not complete but I am not sure where I am going wrong. I am using a C++ Custom Action and the file is an exe. Any help would greatly be appreciated. MsiGetActiveDatabase(hDatabase); MsiDatabaseOpenView(hDatabase, SELECT 'Data' FROM 'Binary' WHERE 'Name' = 'Hasp', phView); MsiRecordReadStream(*phView, 1, szBuffer, cbBuf); CreateFile(szBuffer, GENERIC_WRITE,FILE_SHARE_WRITE, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Extract Binary file from MSI C++
Hi I am trying to run a custom action to extract a binary file from my WIX installer, so far I have got this but I know it is not complete but I am not sure where I am going wrong. I am using a C++ Custom Action and the file is an exe. Any help would greatly be appreciated. MsiGetActiveDatabase(hDatabase); MsiDatabaseOpenView(hDatabase, SELECT 'Data' FROM 'Binary' WHERE 'Name' = 'Hasp', phView); MsiRecordReadStream(*phView, 1, szBuffer, cbBuf); CreateFile(szBuffer, GENERIC_WRITE,FILE_SHARE_WRITE, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); Kind Regards, Natalie Carr -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Extract Binary file from MSI C++
Hi Peter, I've declared them like so I just forgot to add it, Is this what you mean: MSIHANDLE *phView = NULL; MSIHANDLE hDatabase = NULL ; Kind Regards, Natalie Carr -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: Thursday, November 22, 2012 4:54 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Extract Binary file from MSI C++ The argument to MsiDatabaseOpenView should be a handle to a database. That would be there return value of MsiGetActiveDatabase. MsiGetActiveDatabase takes and argument of an installation session which is what the custom action is passed on entry. You've passed and uninitialized database handle to both calls. -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 22 November 2012 16:35 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Extract Binary file from MSI C++ Hi I am trying to run a custom action to extract a binary file from my WIX installer, so far I have got this but I know it is not complete but I am not sure where I am going wrong. I am using a C++ Custom Action and the file is an exe. Any help would greatly be appreciated. MsiGetActiveDatabase(hDatabase); MsiDatabaseOpenView(hDatabase, SELECT 'Data' FROM 'Binary' WHERE 'Name' = 'Hasp', phView); MsiRecordReadStream(*phView, 1, szBuffer, cbBuf); CreateFile(szBuffer, GENERIC_WRITE,FILE_SHARE_WRITE, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); Kind Regards, Natalie Carr - - Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Extract Binary file from MSI C++
Peter, I know now what you mean: extern C UINT __stdcall InstallDrivers(MSIHANDLE hInstall) { MsiGetActiveDatabase(hInstall); MsiDatabaseOpenView(hInstall, SELECT 'Data' FROM 'Binary' WHERE 'Name' = 'Hasp', phView); MsiRecordReadStream(*phView, 1, szBuffer, cbBuf); CreateFile(szBuffer, GENERIC_WRITE,FILE_SHARE_WRITE, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); } Debugging throws up no errors it just ends the setup prematurely. Kind Regards, Natalie Carr -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: Thursday, November 22, 2012 4:54 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Extract Binary file from MSI C++ The argument to MsiDatabaseOpenView should be a handle to a database. That would be there return value of MsiGetActiveDatabase. MsiGetActiveDatabase takes and argument of an installation session which is what the custom action is passed on entry. You've passed and uninitialized database handle to both calls. -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 22 November 2012 16:35 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Extract Binary file from MSI C++ Hi I am trying to run a custom action to extract a binary file from my WIX installer, so far I have got this but I know it is not complete but I am not sure where I am going wrong. I am using a C++ Custom Action and the file is an exe. Any help would greatly be appreciated. MsiGetActiveDatabase(hDatabase); MsiDatabaseOpenView(hDatabase, SELECT 'Data' FROM 'Binary' WHERE 'Name' = 'Hasp', phView); MsiRecordReadStream(*phView, 1, szBuffer, cbBuf); CreateFile(szBuffer, GENERIC_WRITE,FILE_SHARE_WRITE, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); Kind Regards, Natalie Carr - - Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Registering DLL's properly
Hi I have to register a lot of DLL and I currently have a custom action to do this, however I would like to know the proper MSI way of doing this? Can anyone guide me in the right direction please? And also how to unregister them on uninstall. Kind Regards, Natalie Carr -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Registering DLL's properly
Is that using heat? Do you know what problems would occur if any using the second method? And how these would work on 64 bit machines? Thanks -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: 19 October 2012 10:39 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Registering DLL's properly The proper way is to harvest the registry entries. The other way is to set File/@SelfRegCost=1. Neil Hi I have to register a lot of DLL and I currently have a custom action to do this, however I would like to know the proper MSI way of doing this? Can anyone guide me in the right direction please? And also how to unregister them on uninstall. Kind Regards, Natalie Carr --- --- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Registering DLL's properly
Thanks, I think I will just use the SelfRegCost for now. I am trying to register DLL's that would be found on the target machine in their system folder, would you have any idea how I would achieve this? -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: 19 October 2012 10:51 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Registering DLL's properly I use heat as a starting point and then clean up the output. SelfRegCost works ok but it calls DllRegisterServer/DllUnRegisterServer which means it can be uncontrolled as you don't know what is happening in those functions, as a replacement for your CA it should be identical. It should work on 64 bit machines. Neil Is that using heat? Do you know what problems would occur if any using the second method? And how these would work on 64 bit machines? Thanks -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: 19 October 2012 10:39 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Registering DLL's properly The proper way is to harvest the registry entries. The other way is to set File/@SelfRegCost=1. Neil Hi I have to register a lot of DLL and I currently have a custom action to do this, however I would like to know the proper MSI way of doing this? Can anyone guide me in the right direction please? And also how to unregister them on uninstall. Kind Regards, Natalie Carr -- - --- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users --- --- -- -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users --- --- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Registering DLL's properly
Opps, silly me. Thanks for all your help Neil, greatly appreciated. -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: 19 October 2012 11:21 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Registering DLL's properly Why would you do that, if they are already installed then they should be registered, if not you should be installing and registering them. Neil Thanks, I think I will just use the SelfRegCost for now. I am trying to register DLL's that would be found on the target machine in their system folder, would you have any idea how I would achieve this? -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: 19 October 2012 10:51 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Registering DLL's properly I use heat as a starting point and then clean up the output. SelfRegCost works ok but it calls DllRegisterServer/DllUnRegisterServer which means it can be uncontrolled as you don't know what is happening in those functions, as a replacement for your CA it should be identical. It should work on 64 bit machines. Neil Is that using heat? Do you know what problems would occur if any using the second method? And how these would work on 64 bit machines? Thanks -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: 19 October 2012 10:39 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Registering DLL's properly The proper way is to harvest the registry entries. The other way is to set File/@SelfRegCost=1. Neil Hi I have to register a lot of DLL and I currently have a custom action to do this, however I would like to know the proper MSI way of doing this? Can anyone guide me in the right direction please? And also how to unregister them on uninstall. Kind Regards, Natalie Carr - - - --- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- - --- -- -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- - --- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users --- --- -- -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users --- --- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] ActionData to show file names
Hi Jacob, That is what I had tried but I get the error that InstallFiles is a duplicate primary key. -Original Message- From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] Sent: 16 October 2012 16:51 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] ActionData to show file names This might help as a starting point: http://wix.tramontana.co.hu/tutorial/user-interface-revisited/is-this-progre ss ... ProgressText Action=InstallFiles Template=File: [1], Directory: [9], Size: [6]Copying new files/ProgressText ... Control Id=ActionData Type=Text X=59 Y=165 Width=273 Height=41 Transparent=yes TabSkip=no Subscribe Event=ActionData Attribute=Text / /Control A while back I found the some of the parameters documented on MSDN, but I can't seem to find it today. -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: Tuesday, October 16, 2012 10:12 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] ActionData to show file names No problem Steve, I will post when I have it working. Messing around with it now to try to get it working..:) -Original Message- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: 16 October 2012 15:53 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] ActionData to show file names Hi Natalie, When you get that working I would love to see the code (that would be something I would be interested in seeing in my install as well) Steve -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: October-16-12 10:39 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] ActionData to show file names Hi, I want to show each file that is getting installed I used the actiondata control: Control Id=ActionData Type=Text X=70 Y=100 Width=285 Height=10 Subscribe Event=ActionData Attribute=Text //Control It shows the full file and directory but I would only like it to show the file. Is this possible? I am also installing a service that's name is a property found at install time, however when I changed this it gave the DisplayName as the literal property name. Kind Regards, Natalie Carr -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Adding ticks to immediate custom actions
I have a few custom actions that run just before InstallFinalize and I am trying to tidy up my progress bar because at the moment it runs two or three times and looks empty just before the install completes. They are immediate custom actions and I have used ProgressText to show text explaining what they do for the user but I would like to know how to give them ticks so that they are displayed correctly in the progress bar. Can anyone help me please? Kind Regards, Natalie Carr -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Adding ticks to immediate custom actions
Thanks Peter, I get 4 properties from my MSI in my custom action so that is why it is immediate. Am I correct in thinking you cannot get properties in deferred custom actions? -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: 17 October 2012 11:27 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Adding ticks to immediate custom actions You ultimately have to call MsiProcessMessage. The Wix SDK might have some useful functions to make that easier. Scheduling a deferred CA with WcaDoDeferredAction from the Wix SDK is easy because it allows you to specify the ticks as its 3rd parameter. There might be an equivalent for immediate actions. Have a read of the code for WcaDoDeferredAction in the wix sources in wcawrap.cpp if there isn't. -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 17 October 2012 10:42 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Adding ticks to immediate custom actions I have a few custom actions that run just before InstallFinalize and I am trying to tidy up my progress bar because at the moment it runs two or three times and looks empty just before the install completes. They are immediate custom actions and I have used ProgressText to show text explaining what they do for the user but I would like to know how to give them ticks so that they are displayed correctly in the progress bar. Can anyone help me please? Kind Regards, Natalie Carr - - Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Adding ticks to immediate custom actions
Thanks for all that info Peter, had a quick read and immediate custom actions is fine for what I want to do, now just to get them implemented in the progress bar. Also my progress bar fills completely and then resets for copying the files over, I have looked at my log and I can't seem to find what is causing this as I have no custom actions running in this period. Would you have any idea? Thanks -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: 17 October 2012 11:52 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Adding ticks to immediate custom actions You have to pass properties to deferred CAs in a particular way. Effectively, you concatenate their string values together, with some unique separator, into a property with the same name as your custom action. In the CA you read that property and parse the values back out. Again there are some wix SDK functions to make this simpler but it's not too tricky to do yourself either. The limitations and process are described here http://msdn.microsoft.com/en-us/library/windows/desktop/aa370543%28v=vs.85%2 9 .aspx The choice between immediate and deferred should be based on whether the action changes the system. Deferred actions run as the system, not as the installing user. I'd recommend reading this section http://msdn.microsoft.com/en-us/library/windows/desktop/aa368268%28v=vs.85%2 9 .aspx -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 17 October 2012 11:40 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Adding ticks to immediate custom actions Thanks Peter, I get 4 properties from my MSI in my custom action so that is why it is immediate. Am I correct in thinking you cannot get properties in deferred custom actions? -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: 17 October 2012 11:27 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Adding ticks to immediate custom actions You ultimately have to call MsiProcessMessage. The Wix SDK might have some useful functions to make that easier. Scheduling a deferred CA with WcaDoDeferredAction from the Wix SDK is easy because it allows you to specify the ticks as its 3rd parameter. There might be an equivalent for immediate actions. Have a read of the code for WcaDoDeferredAction in the wix sources in wcawrap.cpp if there isn't. -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 17 October 2012 10:42 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Adding ticks to immediate custom actions I have a few custom actions that run just before InstallFinalize and I am trying to tidy up my progress bar because at the moment it runs two or three times and looks empty just before the install completes. They are immediate custom actions and I have used ProgressText to show text explaining what they do for the user but I would like to know how to give them ticks so that they are displayed correctly in the progress bar. Can anyone help me please? Kind Regards, Natalie Carr - - Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - - Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download
[WiX-users] ActionData to show file names
Hi, I want to show each file that is getting installed I used the actiondata control: Control Id=ActionData Type=Text X=70 Y=100 Width=285 Height=10 Subscribe Event=ActionData Attribute=Text //Control It shows the full file and directory but I would only like it to show the file. Is this possible? I am also installing a service that's name is a property found at install time, however when I changed this it gave the DisplayName as the literal property name. Kind Regards, Natalie Carr -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] ActionData to show file names
No problem Steve, I will post when I have it working. Messing around with it now to try to get it working..:) -Original Message- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: 16 October 2012 15:53 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] ActionData to show file names Hi Natalie, When you get that working I would love to see the code (that would be something I would be interested in seeing in my install as well) Steve -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: October-16-12 10:39 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] ActionData to show file names Hi, I want to show each file that is getting installed I used the actiondata control: Control Id=ActionData Type=Text X=70 Y=100 Width=285 Height=10 Subscribe Event=ActionData Attribute=Text //Control It shows the full file and directory but I would only like it to show the file. Is this possible? I am also installing a service that's name is a property found at install time, however when I changed this it gave the DisplayName as the literal property name. Kind Regards, Natalie Carr -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Transform not working
Hi I am having trouble with my transforms, I have my main installer but when I transform it, it stays the exact same. I opened the transformed msi in Orca and it showed all my changes but when it is run I get the main installer and not my transformed one. Anyone know what would cause this to occur? Kind Regards, Natalie Carr -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Transform not working
I used Orca to create the transform and save the new transformed MSI. It was when I tried to run that newly saved transform. The main installer was already installed and when I uninstalled it, it worked as it should. Is this a limitation of the transforms that they cannot be run on an MSI that is already installed? -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: 09 October 2012 12:14 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Transform not working What command line did you use to install ? Does a verbose log mention the transform that's being applied ? -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 09 October 2012 11:34 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Transform not working Hi I am having trouble with my transforms, I have my main installer but when I transform it, it stays the exact same. I opened the transformed msi in Orca and it showed all my changes but when it is run I get the main installer and not my transformed one. Anyone know what would cause this to occur? Kind Regards, Natalie Carr - - Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] DLL helper functions
Thanks Peter..:) -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: 05 October 2012 12:07 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] DLL helper functions It's the wide/narrow string thing again. LPWSTR (note the W) means wide string. You likely want LPSTR (or just char *, which is the same thing). -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 05 October 2012 10:36 To: wix-users@lists.sourceforge.net Subject: [WiX-users] DLL helper functions Hi I am trying to write a helper function for my DLL so that I can call it from another function like in Wcautil. However it says error C3861: 'AppendCapEntry': identifier not found This is how I declare my helper function: static HRESULT AppendCapEntry(__in LPWSTR lpszString) And call it like this: AppendCapEntry(ComPort); What am I doing wrong? Kind Regards, Natalie Carr - - Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] DLL helper functions
Peter I looked at the Wix helper functions and they use LPWSTR..I will try your suggestions however and see if that makes a difference -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: 05 October 2012 12:07 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] DLL helper functions It's the wide/narrow string thing again. LPWSTR (note the W) means wide string. You likely want LPSTR (or just char *, which is the same thing). -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 05 October 2012 10:36 To: wix-users@lists.sourceforge.net Subject: [WiX-users] DLL helper functions Hi I am trying to write a helper function for my DLL so that I can call it from another function like in Wcautil. However it says error C3861: 'AppendCapEntry': identifier not found This is how I declare my helper function: static HRESULT AppendCapEntry(__in LPWSTR lpszString) And call it like this: AppendCapEntry(ComPort); What am I doing wrong? Kind Regards, Natalie Carr - - Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] AddLocal not selecting feature
Hi I have my feature: Feature Id=Solo Title=Solo Level=0 ComponentGroupRef Id=Solo / ComponentGroupRef Id=SoloConfig/ /Feature I want to install it depending on a radio button selection so on the relevant dialog I set this publish statement: Publish Dialog=DatascanPortDlg Control=Next Event=AddLocal Value=SoloDEVICETYPE = 3/Publish But it does not select the feature, can anyone help please? Kind Regards, Natalie Carr -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] AddLocal not selecting feature
I knew it would be something simple..:) Thank you -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: 08 October 2012 16:09 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] AddLocal not selecting feature It might be because the feature level is 0, which is disabled. Try setting it to something above the install level (which is 1 by default). -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 08 October 2012 16:00 To: wix-users@lists.sourceforge.net Subject: [WiX-users] AddLocal not selecting feature Hi I have my feature: Feature Id=Solo Title=Solo Level=0 ComponentGroupRef Id=Solo / ComponentGroupRef Id=SoloConfig/ /Feature I want to install it depending on a radio button selection so on the relevant dialog I set this publish statement: Publish Dialog=DatascanPortDlg Control=Next Event=AddLocal Value=SoloDEVICETYPE = 3/Publish But it does not select the feature, can anyone help please? Kind Regards, Natalie Carr - - Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] DLL helper functions
Hi I am trying to write a helper function for my DLL so that I can call it from another function like in Wcautil. However it says error C3861: 'AppendCapEntry': identifier not found This is how I declare my helper function: static HRESULT AppendCapEntry(__in LPWSTR lpszString) And call it like this: AppendCapEntry(ComPort); What am I doing wrong? Kind Regards, Natalie Carr -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Populating Listbox from Custom Action
Hi if anyone has a chance would they check out my question on SO as I think I am near to solving it but need an extra hand. Would greatly appreciate it..:) Thanks http://stackoverflow.com/questions/12562643/wix-add-to-listbox-from-c-custom -action -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Populating Listbox from Custom Action
Hi Peter, Me and C++ are not long introduced so please excuse if I am being really silly. What would you suggest I change? Comport to a Wide Char? Thanks -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: 04 October 2012 12:10 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Populating Listbox from Custom Action I've had a quick glance and it looks like you're compiling with 8-bit chars but you've also got LListBox and LCOMPORT which are wide chars. -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 04 October 2012 11:51 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Populating Listbox from Custom Action Hi if anyone has a chance would they check out my question on SO as I think I am near to solving it but need an extra hand. Would greatly appreciate it..:) Thanks http://stackoverflow.com/questions/12562643/wix-add-to-listbox-from-c-custom -action - - Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Populating Listbox from Custom Action
I tried that but it says that it is not compatible. When I converted ComPort to a Wide char I am having trouble initialising it correctly. -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: 04 October 2012 12:29 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Populating Listbox from Custom Action Since all your other strings seem to be 8-bit characters, delete the L from the front of any literal strings. That will make them 8-bit too. So LListBox - ListBox and LCOMPORT - COMPORT -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 04 October 2012 12:16 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Populating Listbox from Custom Action Hi Peter, Me and C++ are not long introduced so please excuse if I am being really silly. What would you suggest I change? Comport to a Wide Char? Thanks -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: 04 October 2012 12:10 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Populating Listbox from Custom Action I've had a quick glance and it looks like you're compiling with 8-bit chars but you've also got LListBox and LCOMPORT which are wide chars. -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 04 October 2012 11:51 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Populating Listbox from Custom Action Hi if anyone has a chance would they check out my question on SO as I think I am near to solving it but need an extra hand. Would greatly appreciate it..:) Thanks http://stackoverflow.com/questions/12562643/wix-add-to-listbox-from-c-custom -action - - Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - - Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] creating image..
Hi create the image you want using the sizes specified here: http://wix.sourceforge.net/manual-wix3/WixUI_customizations.htm And add them into your installer like: Binary Id=Banner SourceFile=Bitmaps\banner.bmp/ Control Id=BannerBitmap Type=Bitmap X=0 Y=0 Width=370 Height=44 TabSkip=no Text=Banner / That is for the banner, the background is the same method..:) -Original Message- From: Chaitanya [mailto:chaita...@pointcross.com] Sent: 04 October 2012 12:34 To: wix-users@lists.sourceforge.net Subject: [WiX-users] creating image.. Hi, I want to replace image in WixUI_InstallDir.How to do that.. Please Help me.Im new to Wix. Tahnks. -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Populating Listbox from Custom Action
Got it all working...phew...thanks for all your help..:) -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: 04 October 2012 13:07 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Populating Listbox from Custom Action I'm not sure what you mean. You might want to check in the project's properties that you really are compiling for narrow/8-bit/multi-byte chars. Look under Configuration/General at the Character Set setting. I'm assuming it *doesn't* say Use Unicode Character Set, which means wide/Unicode characters. It might be easier to grab a nearby C++ expert if you have one. You need to ensure all your strings are of the same kind (wide or narrow) and that your project setting matches it too. You can convert between the two but that's even more work. -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 04 October 2012 12:48 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Populating Listbox from Custom Action I tried that but it says that it is not compatible. When I converted ComPort to a Wide char I am having trouble initialising it correctly. -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: 04 October 2012 12:29 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Populating Listbox from Custom Action Since all your other strings seem to be 8-bit characters, delete the L from the front of any literal strings. That will make them 8-bit too. So LListBox - ListBox and LCOMPORT - COMPORT -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 04 October 2012 12:16 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Populating Listbox from Custom Action Hi Peter, Me and C++ are not long introduced so please excuse if I am being really silly. What would you suggest I change? Comport to a Wide Char? Thanks -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: 04 October 2012 12:10 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Populating Listbox from Custom Action I've had a quick glance and it looks like you're compiling with 8-bit chars but you've also got LListBox and LCOMPORT which are wide chars. -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 04 October 2012 11:51 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Populating Listbox from Custom Action Hi if anyone has a chance would they check out my question on SO as I think I am near to solving it but need an extra hand. Would greatly appreciate it..:) Thanks http://stackoverflow.com/questions/12562643/wix-add-to-listbox-from-c-custom -action - - Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - - Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Getting values from listbox
Hi I got my custom action to populate my Listbox table in Wix which is linked to a property. I am now trying to call that property from another custom action but I do not seem to be able to do that. I'm using MsiGetProperty and tried WcaGetProperty but I am getting bad ptr and it is not picking up the value. Anyone came across this? Kind Regards, Natalie Carr -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Order Issue
Hi can someone please explain the way the ordering works in Wix. I'm unsure about the logic and would greatly appreciate if someone could help me. I have this next button: Control Id=Next Type=PushButton X=236 Y=243 Width=56 Height=17 Text=Next Publish Event=DoAction Value=ValidateChannels![CDATA[DEVICETYPE 1]]/Publish Publish Event=SpawnDialog Value=InvalidChannelsDlg![CDATA[CHANNELSVALIDATED = 0]]/Publish Publish Event=DoAction Value=GetDatascanInfo![CDATA[DEVICETYPE 1]]/Publish Publish Event=AddLocal Value=Solo![CDATA[DEVICETYPE = 3]]/Publish Publish Event=NewDialog Value=NumLoggersDlg ![CDATA[(VARIANT = Max) AND (NOT FILEEXISTS)]]/Publish Publish Event=NewDialog Value=InstallDirDlg1/Publish /Control I want these events to be run from the top downwards so (Validate channels - InvalidChannelsDlg - GetDatascanInfo - AddLocal - NumLoggersDlg - InstallDirDlg) Kind Regards, Natalie Carr -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Order Issue
Am I right in thinking that whichever action I add Order=1 element to it will be run last? -Original Message- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: 03 October 2012 14:10 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Order Issue Use the Order=1 element that way you can sequence the events you want to be triggered... -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: October-03-12 7:23 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Order Issue Hi can someone please explain the way the ordering works in Wix. I'm unsure about the logic and would greatly appreciate if someone could help me. I have this next button: Control Id=Next Type=PushButton X=236 Y=243 Width=56 Height=17 Text=Next Publish Event=DoAction Value=ValidateChannels![CDATA[DEVICETYPE 1]]/Publish Publish Event=SpawnDialog Value=InvalidChannelsDlg![CDATA[CHANNELSVALIDATED = 0]]/Publish Publish Event=DoAction Value=GetDatascanInfo![CDATA[DEVICETYPE 1]]/Publish Publish Event=AddLocal Value=Solo![CDATA[DEVICETYPE = 3]]/Publish Publish Event=NewDialog Value=NumLoggersDlg ![CDATA[(VARIANT = Max) AND (NOT FILEEXISTS)]]/Publish Publish Event=NewDialog Value=InstallDirDlg1/Publish /Control I want these events to be run from the top downwards so (Validate channels - InvalidChannelsDlg - GetDatascanInfo - AddLocal - NumLoggersDlg - InstallDirDlg) Kind Regards, Natalie Carr -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Order Issue
I thought that but was told on this that it was the other way about..:/ no wonder I am confused..lol -Original Message- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: 03 October 2012 14:41 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Order Issue 1 would be first then 2 then 3 etc... order=1 order=2 etc... -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: October-03-12 9:32 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Order Issue Am I right in thinking that whichever action I add Order=1 element to it will be run last? -Original Message- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: 03 October 2012 14:10 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Order Issue Use the Order=1 element that way you can sequence the events you want to be triggered... -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: October-03-12 7:23 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Order Issue Hi can someone please explain the way the ordering works in Wix. I'm unsure about the logic and would greatly appreciate if someone could help me. I have this next button: Control Id=Next Type=PushButton X=236 Y=243 Width=56 Height=17 Text=Next Publish Event=DoAction Value=ValidateChannels![CDATA[DEVICETYPE 1]]/Publish Publish Event=SpawnDialog Value=InvalidChannelsDlg![CDATA[CHANNELSVALIDATED = 0]]/Publish Publish Event=DoAction Value=GetDatascanInfo![CDATA[DEVICETYPE 1]]/Publish Publish Event=AddLocal Value=Solo![CDATA[DEVICETYPE = 3]]/Publish Publish Event=NewDialog Value=NumLoggersDlg ![CDATA[(VARIANT = Max) AND (NOT FILEEXISTS)]]/Publish Publish Event=NewDialog Value=InstallDirDlg1/Publish /Control I want these events to be run from the top downwards so (Validate channels - InvalidChannelsDlg - GetDatascanInfo - AddLocal - NumLoggersDlg - InstallDirDlg) Kind Regards, Natalie Carr -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Order Issue
Thanks Daniel I hadn't found that help topic. Seems to be correct. Super!! :) -Original Message- From: Daniel Madill [mailto:dan.mad...@quanser.com] Sent: 03 October 2012 15:23 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Order Issue From the msdn help on the ControlEvent Table (see http://msdn.microsoft.com/library/aa368037.aspx): The exception to note is that each control can publish at most one NewDialog or one SpawnDialog event. If you need to author multiple NewDialog and SpawnDialog control events in this table, also include conditional statements in the Condition fields that ensure at most one event is published. If multiple NewDialog and SpawnDialog control events are selected for the same control, only the event with the largest value in the Ordering column gets published when the control is activated. That suggests to me that higher Ordering numbers get higher priority. I haven't required this attribute myself however. Daniel Madill -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: October-03-12 9:53 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Order Issue I thought that but was told on this that it was the other way about..:/ no wonder I am confused..lol -Original Message- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: 03 October 2012 14:41 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Order Issue 1 would be first then 2 then 3 etc... order=1 order=2 etc... -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: October-03-12 9:32 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Order Issue Am I right in thinking that whichever action I add Order=1 element to it will be run last? -Original Message- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: 03 October 2012 14:10 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Order Issue Use the Order=1 element that way you can sequence the events you want to be triggered... -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: October-03-12 7:23 AM To: wix-users@lists.sourceforge.netmailto:wix-users@lists.sourceforge.net Subject: [WiX-users] Order Issue Hi can someone please explain the way the ordering works in Wix. I'm unsure about the logic and would greatly appreciate if someone could help me. I have this next button: Control Id=Next Type=PushButton X=236 Y=243 Width=56 Height=17 Text=Next Publish Event=DoAction Value=ValidateChannels![CDATA[DEVICETYPE 1]]/Publish Publish Event=SpawnDialog Value=InvalidChannelsDlg![CDATA[CHANNELSVALIDATED = 0]]/Publish Publish Event=DoAction Value=GetDatascanInfo![CDATA[DEVICETYPE 1]]/Publish Publish Event=AddLocal Value=Solo![CDATA[DEVICETYPE = 3]]/Publish Publish Event=NewDialog Value=NumLoggersDlg ![CDATA[(VARIANT = Max) AND (NOT FILEEXISTS)]]/Publish Publish Event=NewDialog Value=InstallDirDlg1/Publish /Control I want these events to be run from the top downwards so (Validate channels - InvalidChannelsDlg - GetDatascanInfo - AddLocal - NumLoggersDlg - InstallDirDlg) Kind Regards, Natalie Carr -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.netmailto:WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.netmailto:WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic
Re: [WiX-users] Overwrite MSI Error Messages
Thanks Rob, Il give that a go..:) -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: 28 September 2012 04:09 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Overwrite MSI Error Messages I think the Error element lets you do this. On Mon, Sep 24, 2012 at 4:16 AM, Natalie Carr natalie.c...@measuresoft.comwrote: Hi, I would like my Edit control to only allow integers, I have the integer attribute set to yes. What I would like to be able to do is overwrite the MSI error 2892 so that I can say only integers allowed without my customer having to look up the MDSN Error codes. Is this at all possible? Kind Regards, Natalie Carr -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching http://RobMensching.com LLC -- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] custom action when a radio button is selected
Thanks I thought sadly this was the case. Found a work around using check boxes and twin dialogs..:) -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: 28 September 2012 03:56 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] custom action when a radio button is selected Sadly, the MSI UI functionality hasn't really changed since 1998 (although they added a hyperlink control in 2011 or so). You need to key it off a Publish action. On Thu, Sep 27, 2012 at 3:29 AM, Natalie Carr natalie.c...@measuresoft.comwrote: Hi, Can anyone tell me please if it is possible to launch a custom action when a radio button is selected and if not the best way about doing something like this. I see an answer on this that it was not possible but it was written in 2010 and I want to ensure it has not been updated. Kind Regards, Natalie Carr -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching http://RobMensching.com LLC -- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] custom action when a radio button is selected
Hi, Can anyone tell me please if it is possible to launch a custom action when a radio button is selected and if not the best way about doing something like this. I see an answer on this that it was not possible but it was written in 2010 and I want to ensure it has not been updated. Kind Regards, Natalie Carr -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Problems executing two custom actions with same button click
Hi bill, Thank you so much for your reply, I found that out late yesterday evening and forgot to update..:) Thanks -Original Message- From: bpackard [mailto:bill.pack...@kepware.com] Sent: 26 September 2012 16:16 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Problems executing two custom actions with same button click Add a condition of '1' to each Publish directive, and see if that helps. The WiX help links to the MSDN pages for Windows Installer for a reason. From the ControlEvent Table you will find the following statement: Condition A conditional statement that determines whether the installer activates the event in the Event column. The installer triggers the event if the conditional statement in the Condition field evaluates to True. Therefore put a 1 in this column to ensure that the installer triggers the event. The installer does not trigger the event if the Condition field contains a statement that evaluates to False. The installer does not trigger an event with a blank in the Condition field unless no other events of the control evaluate to True. If none of the Condition fields for the control named in the Control_ field evaluate to True, the installer triggers the one event having a blank Condition field, and if more than one Condition field is blank it triggers the one event of these with the largest value in the Ordering field. See Conditional Statement Syntax. Which should explain the behavior and the solution. hope this helps, bill -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Problems-execu ting-two-custom-actions-with-same-button-click-tp7580803p7580857.html Sent from the wix-users mailing list archive at Nabble.com. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- How fast is your code? 3 out of 4 devs don\\\'t know how their code performs in production. Find out how slow your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219672;13503038;z? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Problems executing two custom actions with same button click
Hi I am trying to do two custom actions when a certain button is clicked but the second is never getting executed. Can anyone tell me what I am doing wrong? Control Id=Hasp Type=PushButton X=40 Y=60 Width=56 Height=34 Bitmap=yes Text=HaspImage Publish Event=DoAction Value=SetHasp Order=21/Publish Publish Event=DoAction Value=LaunchApplication Order=1/ /Control Control Id=Sentinel Type=PushButton X=40 Y=100 Width=56 Height=34 Bitmap=yes Text=SuperProImage Publish Event=DoAction Value=SetSentinel Order=21/Publish Publish Event=DoAction Value=LaunchApplication Order=1/ /Control Kind Regards, Natalie Carr -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Overwrite MSI Error Messages
Hi, I would like my Edit control to only allow integers, I have the integer attribute set to yes. What I would like to be able to do is overwrite the MSI error 2892 so that I can say only integers allowed without my customer having to look up the MDSN Error codes. Is this at all possible? Kind Regards, Natalie Carr -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Populate a list box from a custom action
Thanks Christopher, I had a look bur my function still is not working. Does anyone know if there is any documentation on the WcaAddTempRecord because I'm not even sure on the attributes or that. At the minute I have: hr = WcaAddTempRecord(hTable, hColumns, LListBox, NULL, 0, 4, LCOMPORT, 1, buffer, insertError); -Original Message- From: Christopher Painter [mailto:chr...@iswix.com] Sent: 20 September 2012 15:16 To: General discussion for Windows Installer XML toolset.; General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Populate a list box from a custom action I have an example in C# using DTF at: http://blog.iswix.com/2008/05/how-dtf-is-going-to-help-me-become.html http://stackoverflow.com/questions/12492769/wix-remove-old-program-folder-be fore-install I know your using C++ so you'll have to look at what the underlying function is for each class/method in DTF and then see what tricks WiX provides for creating records and what not. Then of course there's all the wonderful casting you have to do in C++. Eitherway, maybe it'll just validate the general flow and help you catch something thats missing. (like 3 vs 4 fields) From: Peter Shirtcliffe pshirtcli...@sdl.com Sent: Thursday, September 20, 2012 5:55 AM To: General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Populate a list box from a custom action Your call to wcaaddtemprecord looks ok. The only thing I can guess at is that you need to specify all 4 columns of the ListBox table, rather than just the 3 you have. The other difference from my code is that I also have MSIDBERROR insertError = MSIDBERROR_NOERROR; And I give insertError as the 4th argument. -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 20 September 2012 10:58 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Populate a list box from a custom action Hi I have a Custom Action in C++ that gets the Com ports of a machine and I need to get these into a listbox in my staller. I have the following but it is the wcaAddTempRecord is not working and I cannot find any good documentation on this. Thanks extern C UINT __stdcall GetDatascanPort(MSIHANDLE hInstall) { AssertSz(FALSE, debug here); DebugBreak(); HRESULT hr = S_OK; UINT er = ERROR_SUCCESS; HKEY keyHandle; DWORD i,openStatus,cb_value_buffer,cb_buffer,dwType; char value_buffer[100],buffer[10]; MSIHANDLE hTable = NULL; MSIHANDLE hColumns = NULL; hr = WcaInitialize(hInstall, GetDatascanPort); ExitOnFailure(hr, Failed to initialize); WcaLog(LOGMSG_STANDARD, Initialized.); if (RegCreateKeyEx( HKEY_LOCAL_MACHINE, HARDWARE\\DEVICEMAP\\SERIALCOMM, 0, , REG_OPTION_NON_VOLATILE, KEY_QUERY_VALUE, default_sa(), keyHandle, openStatus ) == ERROR_SUCCESS ) { for (i=0;;i++) { cb_value_buffer = sizeof(value_buffer); cb_buffer = sizeof(buffer); if (RegEnumValue(keyHandle, i, value_buffer, cb_value_buffer, NULL, dwType, (unsigned char *) buffer, cb_buffer) != ERROR_SUCCESS) break; if (dwType != REG_SZ || strlen(buffer) 6) continue; } hr = WcaAddTempRecord(hTable, hColumns, LListBox, NULL, 0, 3, LCOMPORT, 1, LItem 1); RegCloseKey(keyHandle); if (hTable) MsiCloseHandle(hTable); if (hColumns) MsiCloseHandle(hColumns); return WcaFinalize(hr); } LExit: er = SUCCEEDED(hr) ? ERROR_SUCCESS : ERROR_INSTALL_FAILURE; return WcaFinalize(er); } My list box is, it has a sample list item: Control Type=ListBox Property=COMPORT Id=Comport Width=80 Height=40 X=80 Y=165 ListBox Property=COMPORT ListItem Text=COM 3 Value=0/ /ListBox Kind Regards, Natalie Carr - - Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ WiX-users mailing
[WiX-users] Populate a list box from a custom action
Hi I have a Custom Action in C++ that gets the Com ports of a machine and I need to get these into a listbox in my staller. I have the following but it is the wcaAddTempRecord is not working and I cannot find any good documentation on this. Thanks extern C UINT __stdcall GetDatascanPort(MSIHANDLE hInstall) { AssertSz(FALSE, debug here); DebugBreak(); HRESULT hr = S_OK; UINT er = ERROR_SUCCESS; HKEY keyHandle; DWORD i,openStatus,cb_value_buffer,cb_buffer,dwType; char value_buffer[100],buffer[10]; MSIHANDLE hTable = NULL; MSIHANDLE hColumns = NULL; hr = WcaInitialize(hInstall, GetDatascanPort); ExitOnFailure(hr, Failed to initialize); WcaLog(LOGMSG_STANDARD, Initialized.); if (RegCreateKeyEx( HKEY_LOCAL_MACHINE, HARDWARE\\DEVICEMAP\\SERIALCOMM, 0, , REG_OPTION_NON_VOLATILE, KEY_QUERY_VALUE, default_sa(), keyHandle, openStatus ) == ERROR_SUCCESS ) { for (i=0;;i++) { cb_value_buffer = sizeof(value_buffer); cb_buffer = sizeof(buffer); if (RegEnumValue(keyHandle, i, value_buffer, cb_value_buffer, NULL, dwType, (unsigned char *) buffer, cb_buffer) != ERROR_SUCCESS) break; if (dwType != REG_SZ || strlen(buffer) 6) continue; } hr = WcaAddTempRecord(hTable, hColumns, LListBox, NULL, 0, 3, LCOMPORT, 1, LItem 1); RegCloseKey(keyHandle); if (hTable) MsiCloseHandle(hTable); if (hColumns) MsiCloseHandle(hColumns); return WcaFinalize(hr); } LExit: er = SUCCEEDED(hr) ? ERROR_SUCCESS : ERROR_INSTALL_FAILURE; return WcaFinalize(er); } My list box is, it has a sample list item: Control Type=ListBox Property=COMPORT Id=Comport Width=80 Height=40 X=80 Y=165 ListBox Property=COMPORT ListItem Text=COM 3 Value=0/ /ListBox Kind Regards, Natalie Carr -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Weird behavior on conditions
Hi, having this problem with this code: Publish Dialog=RequestKeyDlg Control=Next Event=NewDialog Value=DatascanPortDlg Order=1![CDATA[PRODUCTNAME = Orchestrator AND VARIANT Demo AND (NOT FILEEXISTS)]]/Publish Publish Dialog=RequestKeyDlg Control=Next Event=NewDialog Value=NumLoggersDlg Order=2![CDATA[(VARIANT = Max) AND (NOT FILEEXISTS) AND (PRODUCTNAME EdgeX)]]/Publish Publish Dialog=RequestKeyDlg Control=Next Event=NewDialog Value=InstallDirDlg Order=3/ The conditions are all true on the first and second functions but it always jumps to the second one rather than to the first. If I comment out the second one the first is called, I'm very confused over this..:( Kind Regards, Natalie Carr -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users