[WiX-users] Overriding WIXUI_INSTALLDIR
I have a dialog that runs before InstallDirDlg and uses a remembered property that is to construct the full installation path. A dialog that runs before InstallDirDlg -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Overriding WIXUI_INSTALLDIR
Trying that again: WIXUI_INSTALLDIR expects a property. Generally, it is statically set in the Property Table. Probably what you want is to update the value of the property at [WIXUI_INSTALLDIR]. If it runs before InstallDirDlg, you should be able to just update the value of that property with the path. A more general pattern is to remember the value of INSTALLFOLDER (or INSTALLLOCATION, or INSTALLDIR) during AppSearch and have that value appropriately loaded. Why are you using a dialog to do this instead? Hi John, I am using a dialog indirectly. That dialog presents the results of a CA that collects info about the windows server that the user is installing on. Based on a choice presented to the user, it then publishes a value which the browse dialog uses (INSTALLDIR). This provides the sane default choice given the windows servers existing state. How does the InstallDirDlg handle applying WIXUI_INSTALLDIR to INSTALLDIR? I am unclear on why it got overridden after initially being set correctly when the user decided to override the default. Thanks a lot! jlc -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Overriding WIXUI_INSTALLDIR
WIXUI_INSTALLDIR expects a property. Generally, it is statically set in the Property Table. Probably what you want is to update the value of the property at [WIXUI_INSTALLDIR]. If it runs before InstallDirDlg, you should be able to just update the value of that property with the path. A more general pattern is to remember the value of INSTALLFOLDER (or INSTALLLOCATION, or INSTALLDIR) during AppSearch and have that value appropriately loaded. Why are you using a dialog to do this instead? Hi John, I am using a dialog indirectly. That dialog presents the results of a CA that collects info about the windows server that the user is installing on. Based on a choice presented to the user, it then publishes a value which the browse dialog uses (INSTALLDIR). This provides the sane default choice given the windows servers existing state. How does the InstallDirDlg -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Overriding WIXUI_INSTALLDIR
I am using a dialog indirectly. That dialog presents the results of a CA that collects info about the windows server that the user is installing on. Based on a choice presented to the user, it then publishes a value which the browse dialog uses (INSTALLDIR). This provides the sane default choice given the windows servers existing state. How does the InstallDirDlg handle applying WIXUI_INSTALLDIR to INSTALLDIR? I am unclear on why it got overridden after initially being set correctly when the user decided to override the default. Wow, Sorry for the lousy mail client, sigh... At any rate it turned out to be the initial SetProperty did not have its Sequence attribute set, so it was re-applying in the execute phase. Thanks, jlc -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Setting property values based on Visual Studio build configurations.
In your project file add property value: lt;PropertyGroupgt; lt;DefineConstants Condition='$(Configuration)'=='Debug'gt;$(DefineConstants);MyConfig=MyDebugValuelt;/DefineConstantsgt; lt;DefineConstants Condition='$(Configuration)'=='Release'gt;$(DefineConstants);MyConfig=MyReleaseValuelt;/DefineConstantsgt; lt;/PropertyGroupgt; Hi Nir, Thanks for the pointer. I gather there is no way within a wxs or wxi file? Appreciate the help! jlc -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Setting property values based on Visual Studio build configurations.
Sure there is: ?if $(var.Configuration)==Debug? ?define MyVar=MyDebugVal? ?else? ?define MyVar=MyReleaseVal? ?endif? See Using Project References and Variables http://wixtoolset.org/documentation/manual/v3/votive/votive_project_references.html for more preprocessor variables, and Preprocessor http://wixtoolset.org/documentation/manual/v3/overview/preprocessor.html on how to use them. Ugh, I totally missed the boat on that, much appreciated Nir. jlc -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Setting property values based on Visual Studio build configurations.
I want to build an msi under debug with a specific set of values (that make sense in my dev env) versus release (which make sense in a prod env). As they are all public, users can modify them via the command line however they all populate default values used in various dialogs and it would be tidier to have them set appropriately for users. How does one accomplish this? Thanks, jlc -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Populating registry multiString MultiStringValue elements
I want to implement a listbox with optional entries to later insert into a registry multiString RegistryValue. What is the approach used here to perform this as the MultiStringValue's obviously will need to be dynamically added? Is the only way a CA that writes the values out? Thanks, jlc -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Custom actions in C# and disabling buttons
How about having the custom action set a property if the condition is met, and having the NewDialog event be conditioned on that property? Hi Nir, What I ended up doing was creating a validate button which invokes a custom action which sets a hidden property enabling the next button. This provides the event for the dialog to queue on triggering a state change in the next button. This is sub optimal because the data can be changed after validation. I hide a secondary validation in the next dialog to catch this. It would be nice to tie up all the logic in the click action, maybe dynamically setting the next dialog for example. I might add a dialogue to review the settings which would have next disabled if the few requiring validation failed, this might be a better ui experience. Thanks for following up, jlc -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Custom actions in C# and disabling buttons
I have a dialogue that executes a custom action to validate user specified input however it returns ActionResult.Failure in the event the user supplied data is not accurate. That's rather abrupt and unneeded, however I can not seem to work around a condition to disable the next action. How does one handle a case like this, the dialogue in question has a single text input box and I would like the next button to still invoke the action but not proceed until the condition is met? Thanks! jlc -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] RegistrySearch on click
I think you’d have to write your own VB script/DLL custom action to: 1. Read the user’s input from a property 2. Read the existing value from the registry - http://stackoverflow.com/questions/34065/how-to-read-a-value-from-the-windows-registry 3. Write a property (or don’t) if the user’s input matches what’s currently in the registry 4. Use the newly created property to condition whether or not to allow the ‘Next’ button to proceed to the next dialog Hi Joel, It turned out to be rather simple to do this with a C# DLL. Thanks for the pointer, jlc -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] RegistrySearch on click
I have been searching around for a while without luck on the approach used to initiate a RegistrySearch using a value entered in a text field when the user presses next in a dialog. The best I could come up with was publishing a DoAction -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] RegistrySearch on click
Trying that again... I have been searching around for a while without luck on the approach used to initiate a RegistrySearch using a value entered in a text field when the user presses next in a dialog. The best I could come up with was publishing a DoAction event in the next button control. However, I cant seem to find an indication that you can actually create a CustomAction that performs a registry search? Ultimately I need to return an error if the value is not found. Thanks, jlc -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] ServiceInstall/ServiceControl name attribute restrictions
Trying that again... When I pass a variable reference such as [FOO]_[BAR] to the name attribute of both a ServiceInstall and ServiceControl element the package installs fine however when uninstalling the service is left running without being stopped and removed. When I pass a literal string, the package uninstalls fine. The docs do not indicate any restrictions, does anyone know of any reason this may occur? Thanks, jlc -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] ServiceInstall/ServiceControl name attribute restrictions
http://robmensching.com/blog/posts/2010/5/2/the-wix-toolsets-remember-property-pattern/ Much appreciated, this installer at a later must support multiple instances at which point then this will all fit together, no need for a static location as I assume we can compile an extension to enumerate the instances installed at invocation time? Thanks! jlc -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] ServiceInstall/ServiceControl name attribute restrictions
When I pass a variable reference to the name attribute of both a ServiceInstall and ServiceControl -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Setting install directory to a user chosen value.
The dialog that asks for MYID should be sequenced before the dialog that asks for INSTALLFOLDER. On the MYID dialog's Next button you should add the Publish element that sets INSTALLFOLDER to [CompanyName]\[MYID]. Does that make sense? Yup, that was the missing bit. Much appreciated. P.S On the markup you sent you have SetDirectory element with hard code C:\Program Files (x86)\. This is definitely not recommended. You should use [ProgramFilesFolder] instead. Yeah, that was just quickly typed in but thanks for catching that! Thanks again Nir, jlc -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Setting install directory to a user chosen value.
You have several options to do that: 1. Author a SetProperty http://wixtoolset.org/documentation/manual/v3/xsd/wix/setproperty.html element that will append the string entered by the user 2. Author a Publish http://wixtoolset.org/documentation/manual/v3/xsd/wix/publish.html element on the dialog's Next button (the dialog where the user enters the value). For costing to function properly make sure that the initial value for that directory is in the same volume. So the initial value should be c:\program files\company\ and you'll only append the last part on SetProperty / Publish elements. Hi Nir, Thanks for the response. Seems I need to change my dialogue, currently I define the Property element before the Dialogue and within the dialogue I Property Id=MYID Value=xxx / Dialog Id=My Dialog ... Control Type=Edit ... Property=MYID / After which I am able to use [MYID] in the various locations I need. Fragment Directory Id=TARGETDIR Name=SourceDir Directory Id=ProgramFilesFolder Directory Id=CompanyName Name=Company Name Directory Id=INSTALLFOLDER Name=App Name (some default) / /Directory /Directory /Directory SetDirectory Id=INSTALLFOLDER Value=C:\Program Files (x86)\ Company Name\App Name ([MYID]) / Property Id=WIXUI_INSTALLDIR Value=INSTALLFOLDER / /Fragment This falls apart as the directory chosen in the InstallDirDlg is not honored. Is the initial approach of defining the user specified variable correct to start? Thanks! jlc -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Setting install directory to a user chosen value.
I have a dialogue that asks a user for a string value, how do I pre populate this as the final child directory in the install path? I present the user with an install location dialogue that defaults to c:\program files\company\xxx and I want xxx to be the same as the string chosen? Thanks! jlc -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Registering the .exe
Hi All, I am able to register a .dll or .ocx to the registry. We need to do the same this for .exe. Please could you advise or provide me the sample code to do this. Please let me know if you require any more information. Thanks in advance. Thanks, Sijo Joseph -- Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Code to check the value while doing the intallation
Hi All, Please could you provide the sample code to do the validation to check that there is a value entered in the text box while doing the installations. Regards , Sijo Joseph -- 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] InstallUISequence
Thanks Steve, It worked... Thanks, Sijo Joseph -Original Message- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: 20 February 2013 17:25 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] InstallUISequence If you're talking about the bitmap on the side of the dialog or top then you can change it: WixVariable Overridable=yes Id='WixUIBannerBmp' Value=$(var.resourcePath)\TMCTopBanner.bmp/ WixVariable Overridable=yes Id='WixUIDialogBmp' Value=$(var.resourcePath)\TMCSide.bmp/ Steve -Original Message- From: Joseph, Sijo [mailto:sijo.jos...@cgi.com] Sent: February-20-13 12:01 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] InstallUISequence Thanks Gabriel for the reply. The condition I want is To display a custom dialog, while the execution is in progress. We need this custom dialog because we need to add a logo in all the dialogs. Note: If there is a alternate method to add/change the logo in the existing dialog that also will help. Thanks, Sijo Joseph -Original Message- From: Gabriel Ivanes [mailto:g...@fastmail.net] Sent: 20 February 2013 16:53 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] InstallUISequence Like a condition ? : InstallUISequence Show Dialog=Migration_MAP_a00 Before=ExecuteAction USRCONCERNED = YES /Show /InstallUISequence Le %:Date:, Joseph, Sijo sijo.jos...@cgi.com a écrit: Hi All, Is there any property can be set in InstallUISequence to display a custom dialog while the msi is installing. I can see the parameters after and before like below InstallUISequence Show Dialog=UserRegistrationDlg Before=ExecuteAction / /InstallUISequence Regards , Sijo Joseph -- 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 -- Sincèrement, Gabriel I know no way of judging the future but by the past. Patrick Henry You can never plan the future by the past. Edmund Burke -- 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 -- 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] Usage of Heat.exe to create the setup
Hi All, In our project we are having 200+ plus files (dlls,ocx) in different directories. I am planning to use heat.exe to get this script generated manually, is there any limitations or any particular thing needs to be taken care while doing this. Thanks in advance. Regards , Sijo Joseph -- 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] Usage of Heat.exe to create the setup
Hi All, We are using the dll created in VB 6, getting the error The TypeLib element is non-advertised and there required a parent file element, please could you all advise. Thanks, Sijo Joseph | IT Consultant, Aon Project | CGI Divyasree Technopolis, 124-125, Off HAL Old Airport Road, Bangalore 560 037 | India VOIP: 81020 sijo.jos...@cgi.commailto:sijo.jos...@cgi.com | cgi.com From: Joseph, Sijo Sent: 20 February 2013 10:05 To: 'wix-users@lists.sourceforge.net' Subject: Usage of Heat.exe to create the setup Hi All, In our project we are having 200+ plus files (dlls,ocx) in different directories. I am planning to use heat.exe to get this script generated manually, is there any limitations or any particular thing needs to be taken care while doing this. Thanks in advance. Regards , Sijo Joseph -- 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] Usage of Heat.exe to create the setup
Thanks, I was not using that option. Now I have added that option and issue is resolved. Now I am getting a different error message for only one file. Please could you advise Error message Error 1 The Class element's ForeignServer or Server attribute was not found; one of these is required. Thanks, Sijo Joseph -Original Message- From: David Watson [mailto:dwat...@sdl.com] Sent: 20 February 2013 11:51 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Usage of Heat.exe to create the setup Did you use the -svb6 switch when you ran heat? http://wix.sourceforge.net/manual-wix3/heat.htm -Original Message- From: Joseph, Sijo [mailto:sijo.jos...@cgi.com] Sent: 20 February 2013 11:10 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Usage of Heat.exe to create the setup Hi All, We are using the dll created in VB 6, getting the error The TypeLib element is non-advertised and there required a parent file element, please could you all advise. Thanks, Sijo Joseph | IT Consultant, Aon Project | CGI Divyasree Technopolis, 124-125, Off HAL Old Airport Road, Bangalore 560 037 | India VOIP: 81020 sijo.jos...@cgi.commailto:sijo.jos...@cgi.com | cgi.com From: Joseph, Sijo Sent: 20 February 2013 10:05 To: 'wix-users@lists.sourceforge.net' Subject: Usage of Heat.exe to create the setup Hi All, In our project we are having 200+ plus files (dlls,ocx) in different directories. I am planning to use heat.exe to get this script generated manually, is there any limitations or any particular thing needs to be taken care while doing this. Thanks in advance. Regards , Sijo Joseph - - 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] InstallUISequence
Hi All, Is there any property can be set in InstallUISequence to display a custom dialog while the msi is installing. I can see the parameters after and before like below InstallUISequence Show Dialog=UserRegistrationDlg Before=ExecuteAction / /InstallUISequence Regards , Sijo Joseph -- 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] InstallUISequence
Thanks Gabriel for the reply. The condition I want is To display a custom dialog, while the execution is in progress. We need this custom dialog because we need to add a logo in all the dialogs. Note: If there is a alternate method to add/change the logo in the existing dialog that also will help. Thanks, Sijo Joseph -Original Message- From: Gabriel Ivanes [mailto:g...@fastmail.net] Sent: 20 February 2013 16:53 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] InstallUISequence Like a condition ? : InstallUISequence Show Dialog=Migration_MAP_a00 Before=ExecuteAction USRCONCERNED = YES /Show /InstallUISequence Le %:Date:, Joseph, Sijo sijo.jos...@cgi.com a écrit: Hi All, Is there any property can be set in InstallUISequence to display a custom dialog while the msi is installing. I can see the parameters after and before like below InstallUISequence Show Dialog=UserRegistrationDlg Before=ExecuteAction / /InstallUISequence Regards , Sijo Joseph -- 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 -- Sincèrement, Gabriel I know no way of judging the future but by the past. Patrick Henry You can never plan the future by the past. Edmund Burke -- 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] Option to remove the End-User License Agreement in the Wix setup
Hi All, Please could you give an example to remove the End-User License Agreement in the Wix setup. If any existing link with sample will be useful. Please let me know if any more information is required. Thanks, Sijo Joseph -- 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] Mandatory or Pre-requisite for creating an MSI in wix
Hi All, I am new user to wix, please could you let us know the pre-requisites required to be added in the project while creating the MSI. Thanks, Sijo Joseph -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to use the option WixUI_Mondo to get folder selection
Hi All, Please could you give an example to How to use the option using WixUI_Mondo to get folder selection. I am able to do this by using WixUI_InstallDir, but I have to use WixUI_Mondo as I have to use custom dialog. Thanks, Sijo Joseph -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Bundle Installer size issue
The burn engine drops everything into one large executable, i.e. Setup.exe. I'm just looking for any way to make the executable smaller so its startup performance will be improved, by perhaps doing something similar to using reflection to reference a dll at runtime. -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Wednesday, January 30, 2013 7:18 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Bundle Installer size issue What do you mean by to put some of the components into a separate dll ? -Original Message- From: Harmon, Joseph [mailto:jhar...@illumina.com] Sent: Monday, January 28, 2013 12:03 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Bundle Installer size issue Rob, I can work on getting perf data, let me get back to you... Thanks for the ideas (digital signing splash screen), I will look into those... In regards to my original question, is there no way to put some of the components into a separate dll? Thx -Joseph -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Thursday, January 17, 2013 6:45 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Bundle Installer size issue If your executable is signed then Windows will verify the signature before launching the executable. For very large executables, that can take some time. It's not a very great user experience. 300MB is about the breaking point for user experience, especially if launched over network. PS: if you have perf numbers showing the engine taking a while to load the BA, I'd love to see them. That is a sensitive perf area we can try to improve with data. On Thu, Jan 17, 2013 at 12:45 AM, Amadeus amadeus.h...@diadrom.se wrote: 300k seems about right (my Installer is 1.4 MB - downloading all MSIs/EXEPackages). It /does /take awhile for Burn to boot up itself and launch the custom BA though. But like Neil said, a splash screen does the trick. Add it inside the Bundle element, and close it when your BA has finished loading up. I hook up the following in my main view's constructor: this.Loaded += (sender, e) = Bootstrapper.InstallEngine.Engine.CloseSplashScreen(); -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Bundle-I nstaller-size-issue-tp7582955p7582961.html Sent from the wix-users mailing list archive at Nabble.com. -- 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 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 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 -- 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] Bundle Installer size issue
Rob, I can work on getting perf data, let me get back to you... Thanks for the ideas (digital signing splash screen), I will look into those... In regards to my original question, is there no way to put some of the components into a separate dll? Thx -Joseph -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Thursday, January 17, 2013 6:45 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Bundle Installer size issue If your executable is signed then Windows will verify the signature before launching the executable. For very large executables, that can take some time. It's not a very great user experience. 300MB is about the breaking point for user experience, especially if launched over network. PS: if you have perf numbers showing the engine taking a while to load the BA, I'd love to see them. That is a sensitive perf area we can try to improve with data. On Thu, Jan 17, 2013 at 12:45 AM, Amadeus amadeus.h...@diadrom.se wrote: 300k seems about right (my Installer is 1.4 MB - downloading all MSIs/EXEPackages). It /does /take awhile for Burn to boot up itself and launch the custom BA though. But like Neil said, a splash screen does the trick. Add it inside the Bundle element, and close it when your BA has finished loading up. I hook up the following in my main view's constructor: this.Loaded += (sender, e) = Bootstrapper.InstallEngine.Engine.CloseSplashScreen(); -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Bundle-I nstaller-size-issue-tp7582955p7582961.html Sent from the wix-users mailing list archive at Nabble.com. -- 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 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 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] Bundle Installer size issue
Hello, I have an installer that bundles multiple MSIs together, and the executable has become very large (mostly due to the size of the Burn engine, I believe). Due to its size, the app opens slowly and sometimes tricks people into thinking it is 'hanging/frozen.' Is there any way to offload the burn engine or some of the components into a separate library project? Thanks, Joseph -- 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] vs 2010 integration
I'm new to WiX and trying to determine if this tool will work for our purposes. We're using VS 2010. In working through the instructions for Creating a Simple Setup under Working in Visual Studio, it appears that when I build the setup after adding the reference nothing is added to the Product.wxs file(Harvest is set to True). If I manually edit the file, the intellisense doesn't seem to be working. However when I build the generated setup does seem to work correctly. Just wondering what I'm doing wrong, if anything, that the integration doesn't seem to be working quite right? -- 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] (no subject)
Hello, I've been trying to get EmbeddedUI working but I'm not having any luck. I can't seem to find many examples so I'm not sure what I'm missing. From my WXS:UI Id=Embedded EmbeddedUI Id=CustomAction.dll SourceFile=$(var.SolutionDir)CustomAction\bin\Debug\CustomAction.dll /EmbeddedUI /UI Below is a section from my logfile. Any direction or assistance would be greatly appreciated. MSI (c) (78:A4) [13:42:39:732]: EEUI - Running MsiEmbeddedUI codeMSI (c) (78:D0) [13:42:39:739]: Cloaking enabled.MSI (c) (78:D0) [13:42:39:739]: Attempting to enable all disabled privileges before calling Install on ServerMSI (c) (78:D0) [13:42:39:739]: Connected to service for CA interface.MSI (c) (78:A4) [13:42:39:777]: PROPERTY CHANGE: Adding MSICLIENTUSESEMBEDDEDUI property. Its value is '1'.MSI (c) (78:A4) [13:42:39:777]: PROPERTY CHANGE: Modifying CLIENTUILEVEL property. Its current value is '0'. Its new value: '3'.=== Logging started: 4/11/2012 13:42:39 ===MSI (c) (78:A4) [13:42:39:777]: Note: 1: 2205 2: 3: PatchPackage MSI (c) (78:A4) [13:42:39:777]: Machine policy value 'DisableRollback' is 0MSI (c) (78:A4) [13:42:39:777]: User policy value 'DisableRollback' is 0MSI (c) (78:A4) [13:42:39:777]: PROPERTY CHANGE: Adding UILevel property. Its value is '2'.MSI (c) (78:A4) [13:42:39:777]: PROPERTY CHANGE: Adding ACTION property. Its value is 'INSTALL'.MSI (c) (78:A4) [13:42:39:777]: Doing action: INSTALLMSI (c) (78:A4) [13:42:39:777]: Note: 1: 2205 2: 3: ActionText Action 13:42:39: INSTALL. Action start 13:42:39: INSTALL.MSI (c) (78:A4) [13:42:39:778]: UI Sequence table 'InstallUISequence' is present and populated.MSI (c) (78:A4) [13:42:39:778]: In client but switching to server to run ExecuteSequenceMSI (c) (78:A4) [13:42:39:778]: Grabbed execution mutex.MSI (c) (78:A4) [13:42:39:778]: Incrementing counter to disable shutdown. Counter after increment: 0MSI (c) (78:A4) [13:42:39:778]: Switching to server: CURRENTDIRECTORY=C:\Users\jhoyal\Documents\Visual Studio 2010\Projects\EmbeddedUI\SetupProject\bin\Debug CLIENTUILEVEL=3 CLIENTPROCESSID=5240 USERNAME=Windows User MSICLIENTUSESEMBEDDEDUI=1 ACTION=INSTALL MSI (c) (78:B0) [13:42:39:782]: Cloaking enabled.MSI (c) (78:B0) [13:42:39:782]: Attempting to enable all disabled privileges before calling Install on ServerMSI (s) (C4:58) [13:42:39:781]: Running installation inside multi-package transaction C:\Users\jhoyal\Documents\Visual Studio 2010\Projects\EmbeddedUI\SetupProject\bin\Debug\SetupProject.msiMSI (s) (C4:58) [13:42:39:781]: Grabbed execution mutex.MSI (s) (C4:2C) [13:42:39:781]: Running as a service.MSI (s) (C4:0C) [13:42:39:784]: Resetting cached policy valuesMSI (s) (C4:0C) [13:42:39:784]: Machine policy value 'Debug' is 0MSI (s) (C4:0C) [13:42:39:784]: *** RunEngine: *** Product: C:\Users\jhoyal\Documents\Visual Studio 2010\Projects\EmbeddedUI\SetupProject\bin\Debug\SetupProject.msi *** Action: INSTALL *** CommandLine: **MSI (s) (C4:0C) [13:42:39:784]: Machine policy value 'DisableUserInstalls' is 0MSI (s) (C4:0C) [13:42:39:792]: Machine policy value 'LimitSystemRestoreCheckpointing' is 0MSI (s) (C4:0C) [13:42:39:792]: Note: 1: 1715 2: 1-WiX WPF POC MSI (s) (C4:0C) [13:42:39:792]: Note: 1: 2205 2: 3: Error MSI (s) (C4:0C) [13:42:39:792]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1715 MSI (s) (C4:0C) [13:42:39:792]: Calling SRSetRestorePoint API. dwRestorePtType: 0, dwEventType: 102, llSequenceNumber: 0, szDescription: Installed 1-WiX WPF POC.MSI (s) (C4:0C) [13:42:46:028]: The call to SRSetRestorePoint API succeeded. Returned status: 0, llSequenceNumber: 189.MSI (s) (C4:0C) [13:42:46:030]: File will have security applied from OpCode.MSI (s) (C4:0C) [13:42:46:032]: SOFTWARE RESTRICTION POLICY: Verifying package -- 'C:\Users\jhoyal\Documents\Visual Studio 2010\Projects\EmbeddedUI\SetupProject\bin\Debug\SetupProject.msi' against software restriction policyMSI (s) (C4:0C) [13:42:46:032]: Note: 1: 2262 2: DigitalSignature 3: -2147287038 MSI (s) (C4:0C) [13:42:46:032]: SOFTWARE RESTRICTION POLICY: C:\Users\jhoyal\Documents\Visual Studio 2010\Projects\EmbeddedUI\SetupProject\bin\Debug\SetupProject.msi is not digitally signedMSI (s) (C4:0C) [13:42:46:033]: SOFTWARE RESTRICTION POLICY: C:\Users\jhoyal\Documents\Visual Studio 2010\Projects\EmbeddedUI\SetupProject\bin\Debug\SetupProject.msi is permitted to run at the 'unrestricted' authorization level.MSI (s) (C4:0C) [13:42:46:033]: End dialog not enabledMSI (s) (C4:0C) [13:42:46:033]: Original package == C:\Users\jhoyal\Documents\Visual Studio 2010\Projects\EmbeddedUI\SetupProject\bin\Debug\SetupProject.msiMSI (s) (C4:0C) [13:42:46:033]: Package we're running from == C:\Windows\Installer\4699d97.msiMSI (s) (C4:0C) [13:42:46:034]: APPCOMPAT: Compatibility mode property overrides found.MSI (s) (C4:0C) [13:42:46:034]: APPCOMPAT: looking for appcompat database entry
Re: [WiX-users] Bundled Installer Not installing under ALLUSERS
Maybe I miss-stated. As you can see from the snipet below I am attaching the ALLUSERS to the individual packages, but not sure how to attach it to the BUNDLE. MsiProperty Name=ALLUSERS Value=1/ Thanks for any help. Joe ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; xmlns:netfx=http://schemas.microsoft.com/wix/NetFxExtension; Bundle Compressed=no DisableModify=button Version=1.0.0.0 Manufacturer=xxx Copyright=xxx UpgradeCode=de8cbfab-5f76-4ddb-b5fd-e946ea84f1ae Name=Pedi Portal Bundled Installer BootstrapperApplicationRef Id=WixStandardBootstrapperApplication.RtfLicense / WixVariable Id=WixStdbaLicenseRtf Value=c:\portal_bundles\License.rtf / WixVariable Id=WixStdbaLogo Value=c:\portal_bundles\pediLogo.png / ?define targetDomain = $(env.USERDOMAIN)? Chain ExePackage Id=DotNetFx4 InstallCondition=NETFRAMEWORK40CLIENT Protocol=netfx4 InstallCommand=/q /norestart /chainingpackage UninstallCommand=/q /norestart /chainingpackage RepairCommand=/q /norestart /chainingpackage SourceFile=c:\portal_bundles\dotNetFx40_Full_setup.exe Permanent=no Compressed=no Cache=no Vital=no/ExePackage ?ifdef $(var.Platform)=x64) ? MsiPackage Id=PediPortal SourceFile=...path...\PortalSetup.msi Compressed=no EnableFeatureSelection=no Vital=yes MsiProperty Name=ALLUSERS Value=1/ /MsiPackage ?else? MsiPackage Id=PediPortal SourceFile=...path...\PortalSetup.msi Compressed=no EnableFeatureSelection=no Vital=yes MsiProperty Name=ALLUSERS Value=1/ /MsiPackage ?endif? -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Thursday, January 26, 2012 11:47 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Bundled Installer Not installing under ALLUSERS On 26-Jan-12 15:02, DuBois, Joseph wrote: Have aBundle which is installing severalMsiPackage(s) which we have set theMsiProperty Name=ALLUSERS Value=1/ to load the individual packages under all users, but it isn't installing the Bundle itself under ALLUSERS. If your packages are all per-user the bundle will be per-user as well. Is there a reason you're not putting ALLUSERS in the packages themselves? -- sig://boB http://joyofsetup.com/ -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Bundled Installer Not installing under ALLUSERS
Hello all, Have a Bundle which is installing several MsiPackage(s) which we have set the MsiProperty Name=ALLUSERS Value=1/ to load the individual packages under all users, but it isn't installing the Bundle itself under ALLUSERS. I can't seem to find a setting which allows me to set this. So another user comes along and only sees the individual packages, and uninstalls them leaving the rogue Bundler under the original installers ID. Would like it if I can get it so the Bundle is setup as ALLUSERS as well. Otherwise we need to keep track of who from the helpdesk installs these on which machines, etc. Thanks Joe -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to NOT Delete Application Directory on Uninstall?
Hi all, My apologies if this is already answered somewhere, but I couldn't find an answer. My question is: How can I setup a Wix installer to NOT delete the application directory on uninstall (even when the directory was initially created by the Wix install)? Some background: Let's say we have a Wix installer that installs an app in C:\Dir1\Dir2. Well, the general behavior seems to be this: - If Dir2 doesn't already exist when the install happens, it will obviously be created at install time (along with Dir1 as well, if necessary). - If the C:\Dir1\Dir2 path already exists at install time, then obviously it doesn't need to be created, and Wix will just install the necessary files underneath the path. - On uninstall, if Wix had to create the Dir2 directory at install time, it will also remove the Dir2 directory (unless there are other stray files there, of course). - On uninstall, if Wix DID NOT create the Dir2 directory at install time (the path already existed), then it seems that Wix WILL NOT remove the Dir2 directory. In summary, on uninstall Wix will remove whatever part of the directory tree it created at install time, assuming nothing else has placed other content there since the install. This behavior is very logical and makes sense. The problem comes in when you have a situation like this: - Let's say that after installing the above example app, we set some custom NTFS permissions on the C:\Dir1\Dir2 folder. - Let's also say that when we installed the app, the C:\Dir1\Dir2 path didn't exist, so the install created it. The problem now is that when we go to re-install this app (upgrading to a newer version of the app), when the uninstall portion of the install runs, it will remove the Dir2 directory, and then re-add it when it gets to the install part, losing the custom NTFS permissions that were set. What can I do to ensure that Dir2 NEVER gets deleted when installing an newer version of the app (whether or not Wix initially created the directory at install time) so that the NTFS permissions of the directory are preserved through upgrades? If this is impossible, I guess a secondary question would be: How can I enumerate the NTFS permissions of the existing folder before the uninstall happens, and then re-apply those same permissions after the directory is re-created? (although I'd much opt for the first solution) Any help is greatly appreciated. Thank you. Joe -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Uninstall UI for database settings
Hi All, I have an installer which installs scripts in the database and on install it provides screens for the user to input the correct settings. But on uninstall there seems to be no way to have a UI to prompt for the settings. The only options available seem to be to store the settings in the registry or to have the user enter the settings on the commandline. Does anyone know if there will be any development for uninstall UI's? Kind regards Peter --- Peter Joseph Solomon 082 535 1844 pe...@nextsteps.co.za -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to select between SQL Authentication and Integrated Authentication during the install of the msi?
I have the following example which uses two components each with a condition to select which component to run. One component uses a database linked to an SQL Authenticated User and the other to no user (Integrated Authentication). Command line options are passed, either USEINTEGRATEDSECURITY=1 or USER=sa and PASSWORD=superadmin for either Integrated Authentication or SQL Authentication respectivly. This works fine, except it will be error prone maintaining the MSI. I am looking for a way to achieve the same result, but with out having to use two components. So just one component, but a way to instruct the database/user to which authentication type it will use. Any suggestions? Kind regards Peter Example: Binary Id=CreateTable SourceFile=$(var.SolutionDir)\CreateTable.sql / util:User Id='SQLUser' Name='[USER]' Password='[PASSWORD]' / sql:SqlDatabase Id='SqlDatabase.SQLAuthentication' Database='IMAGETEST' User='SQLUser' Server='server' / sql:SqlDatabase Id='SqlDatabase.IntegratedAuthentication' Database='IMAGETEST' Server='server' / Directory Id='TARGETDIR' Name='SourceDir' Directory Id='ProgramFilesFolder' Name='PFiles' Directory Id='InstallDir' Name='Acme' Component Id='SqlComponent.SQLAuthentication' Guid='665D641C-3570-4b96- 9CA5-2B4C12594A35' KeyPath='yes' Condition![CDATA[USEINTEGRATEDSECURITY1]]/Condition sql:SqlScript Id='CreateTable' BinaryKey='CreateTable' SqlDb='SqlDatabase.SQLAuthentication' ExecuteOnInstall='yes' / /Component Component Id='SqlComponent.IntegratedAuthentication' Guid='E5DF48AE-2338-4029-9FDF-8DAA6AD0216D' KeyPath='yes' ConditionUSEINTEGRATEDSECURITY = 1/Condition sql:SqlScript Id='IntegratedAuthentication.CreateTable' BinaryKey='CreateTable' SqlDb='SqlDatabase.IntegratedAuthentication' ExecuteOnInstall='yes' / /Component /Directory /Directory /Directory Feature Id='SqlFeature' Title='SqlFeature' Level='1' ComponentRef Id='SqlComponent.SQLAuthentication' / ComponentRef Id='SqlComponent.IntegratedAuthentication' / /Feature -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to select between SQL Authentication and Integrated Authentication during the install of the msi?
Hi all, I have come across this bug posted on the wix bug list: SqlDatabase/@User - Change to formatted element - ID: 1520745 You can view it at this link: http://sourceforge.net/tracker/index.php?func=detailaid=1520745group_id=105970atid=642714 Also posts on Wix-Devs relating to the feature: http://www.mail-archive.com/wix-d...@lists.sourceforge.net/msg02216.html If this can be used or resolved then I am sure it will solve the issue of having 2 components for two different methods of authentication. Does anyone have anyone have any experience with this feature, or know if this is something which will actually be resolved? Kind regards --- Peter Joseph Solomon 082 535 1844 pe...@nextsteps.co.za On Tue, Feb 23, 2010 at 7:07 PM, pmdarrow pdar...@metaworks.com wrote: Mike, I'm not sure if you read Peter's question correctly. Your solution has the same problem the he's looking to fix - two conditional components, one for integrated authentication and one for SQL authentication. He only wants one component to maintain. Peter - I'm looking for a solution to this as well, I'm doing it the exact same way as you. -- View this message in context: http://n2.nabble.com/How-to-select-between-SQL-Authentication-and-Integrated-Authentication-during-the-install-of-the-msi-tp4617547p4620235.html Sent from the wix-users mailing list archive at Nabble.com. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Why WindowsFolder got reset?
Hi, I write a simple wxs file and the results is not quite right. I look into the log and find something strange. Why WindowsFolder got reset? I have another setup, WindowsFolder is the correct value. No idea who change it. Thanks Joseph MSI (c) (80:24) [09:54:21:914]: Note: target paths subject to change (via custom actions or browsing) MSI (c) (80:24) [09:54:21:851]: Note: 1: 2205 2: 3: Error Note: 1: 2262 2: AdminProperties 3: -2147287038 MSI (c) (80:24) [09:54:21:914]: PROPERTY CHANGE: Adding TARGETDIR property. Its value is 'C:\'. MSI (c) (80:24) [09:54:21:914]: PROPERTY CHANGE: Modifying WindowsFolder property. Its current value is 'C:\WINDOWS\'. Its new value: 'C:\'. MSI (c) (80:24) [09:54:21:914]: Dir (target): Key: TARGETDIR, Object: C:\ MSI (c) (80:24) [09:54:21:914]: Dir (target): Key: WindowsFolder, Object: C:\ MSI (c) (C4:48) [10:46:25:353]: Dir (target): Key: MicrosoftNET , Object: C:\Microsoft.NET\ Directory Id=TARGETDIR Name=SourceDir Directory Id=WindowsFolder Directory Id=MicrosoftNET Name=Microsoft.NET Directory Id=FRAMEWORK Name=Framework Directory Id=v20 Name=v2.0.50727 Directory Id=NETConfig Name=Config /Directory Directory Id=TempASPNET Name=Temporary ASP.NET Files /Directory /Directory /Directory /Directory /Directory /Directory -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Why WindowsFolder got reset?
I found the problem Following work msiexec /i WixOpadsSiteSetup.msi /l*v Mylog.txt Following not work msiexec /a WixOpadsSiteSetup.msi /l*v Mylog.txt Is /a a bad idea? Thanks Joseph -Original Message- From: Joseph Wu [mailto:joseph...@ds-iq.com] Sent: Monday, February 02, 2009 11:09 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Why WindowsFolder got reset? Hi, I write a simple wxs file and the results is not quite right. I look into the log and find something strange. Why WindowsFolder got reset? I have another setup, WindowsFolder is the correct value. No idea who change it. Thanks Joseph MSI (c) (80:24) [09:54:21:914]: Note: target paths subject to change (via custom actions or browsing) MSI (c) (80:24) [09:54:21:851]: Note: 1: 2205 2: 3: Error Note: 1: 2262 2: AdminProperties 3: -2147287038 MSI (c) (80:24) [09:54:21:914]: PROPERTY CHANGE: Adding TARGETDIR property. Its value is 'C:\'. MSI (c) (80:24) [09:54:21:914]: PROPERTY CHANGE: Modifying WindowsFolder property. Its current value is 'C:\WINDOWS\'. Its new value: 'C:\'. MSI (c) (80:24) [09:54:21:914]: Dir (target): Key: TARGETDIR, Object: C:\ MSI (c) (80:24) [09:54:21:914]: Dir (target): Key: WindowsFolder, Object: C:\ MSI (c) (C4:48) [10:46:25:353]: Dir (target): Key: MicrosoftNET , Object: C:\Microsoft.NET\ Directory Id=TARGETDIR Name=SourceDir Directory Id=WindowsFolder Directory Id=MicrosoftNET Name=Microsoft.NET Directory Id=FRAMEWORK Name=Framework Directory Id=v20 Name=v2.0.50727 Directory Id=NETConfig Name=Config /Directory Directory Id=TempASPNET Name=Temporary ASP.NET Files /Directory /Directory /Directory /Directory /Directory /Directory -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to change permission for existing Folder and/or file?
I think FileSharePermission maybe the answer for me. I try the following code and got some compiling error. Directory Id=NETConfig Name=Config Component Id=NETConfig Guid=AC36EFA1-011C-400c-BA50-2825CF330B4D util:FileShare Id=NETConfig Description=NET Config Name=NETConfig util:FileSharePermission User='Service Accounts-DTF' GenericRead=yes Read=yes GenericExecute=yes/ /util:FileShare /Component /Directory Error 1 The util:FileSharePermission/@User attribute's value, 'Service Accounts-DTF', is not a legal identifier. Identifiers may contain ASCII characters A-Z, a-z, digits, underscores (_), or periods (.). Every identifier must begin with either a letter or an underscore. How to solve this problem? Thanks Joseph -Original Message- From: Joseph Wu [mailto:joseph...@ds-iq.com] Sent: Tuesday, January 27, 2009 5:05 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to change permission for existing Folder and/or file? After one day of research. It looks to me that CustomAction is only way I know to achieve it. Is this the right way to go? Thanks Joseph -Original Message- From: Joseph Wu [mailto:joseph...@ds-iq.com] Sent: Monday, January 26, 2009 4:16 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to change permission for existing Folder and/or file? Permission Element's parent must be CreateFolder or File. How to change the permission for existing Folder and/or file? Thanks Joseph -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to change permission for existing Folder and/or file?
Thank you very much, Now it solve the User problem. But I got the following error. But I don't want to create folder. Because it is an existing folder. Does that mean FileSharePermission is not the solution for me? I need to use Custom Action to do it? Thanks Joseph Error 2 ICE18: KeyPath for Component: 'NETConfig' is Directory: 'NETConfig'. The Directory/Component pair must be listed in the CreateFolders table. Directory Id=SystemRoot Directory Id=MicrosoftNET Name=Microsoft.NET Directory Id=FRAMEWORK Name=Freamework Directory Id=v20 Name=v2.0.50727 Directory Id=NETConfig Name=Config Component Id=NETConfig Guid=AC36EFA1-011C-400c-BA50-2825CF330B4D util:User Id=ServiceAccountsDTF Name=Service Accounts-DTF/ util:FileShare Id=NETConfig Description=NET Config Name=NETConfig util:FileSharePermission User='ServiceAccountsDTF' GenericRead=yes Read=yes GenericExecute=yes/ /util:FileShare /Component /Directory /Directory /Directory /Directory /Directory -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Wednesday, January 28, 2009 12:00 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to change permission for existing Folder and/or file? Joseph Wu wrote: Error 1 The util:FileSharePermission/@User attribute's value, 'Service Accounts-DTF', is not a legal identifier. Identifiers may contain ASCII characters A-Z, a-z, digits, underscores (_), or periods (.). Every identifier must begin with either a letter or an underscore. FileSharePermission/@User is the Id of a user defined by the User element. -- sig://boB http://joyofsetup.com/ -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to change permission for existing Folder and/or file?
After one day of research. It looks to me that CustomAction is only way I know to achieve it. Is this the right way to go? Thanks Joseph -Original Message- From: Joseph Wu [mailto:joseph...@ds-iq.com] Sent: Monday, January 26, 2009 4:16 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to change permission for existing Folder and/or file? Permission Element's parent must be CreateFolder or File. How to change the permission for existing Folder and/or file? Thanks Joseph -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to change permission for existing Folder and/or file?
Permission Element's parent must be CreateFolder or File. How to change the permission for existing Folder and/or file? Thanks Joseph -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Persisent public properties, transforms and security
Hello, Here is a question regarding general understanding of MSI properties and their persistence across product life. From what I understand, properties provided on the command line at installation-time are not stored by Windows Installer for later use. For example, if I do type: msiexec /i prod.msi BACKUP_SERVER=backup-1.company.com the BACKUP_SERVER will not be used (or event defined) upon repair. One solution is to save BACKUP_SERVER in the registry upon installation and then detect that Windows Installer is currently repairing the product, for it to use the value stored in the registry. Q1: Is there an alternative? Another possibility is to use an MSI transform. The BACKUP_SERVER property will then be saved as a transform and the transform will be applied to the MSI upon installation: msiexec /i prod.msi TRANSFORMS=transf.mst When repairing, the content of transf.mst will again be used. This solution is therefore more elegant because there is no need to put some noise in the registry. Problem: what about security? From what I've understood, it is possible to add anything in a transform. Therefore, a system admin could make prod.msi do something dangerous (for example with a custom action defined in the transform), even if prod.msi is digitally signed, and deploy it over the network. Q2: How can a software provider ensure that his MSI in conjunction with an MSI transform will do expected things (I am planing to automate MSI installations with an auto-update service)? Is there a mechanism for limiting the level of alterations induced by a transform (say, only modify the property table or some properties)? Thanks, best regards, JV _ Vous en avez marre de ne pas avoir de place dans votre boîte de réception? Windows Live Hotmail vous offre dès maintenant 5GB de stockage gratuit! Ouvrez gratuitement votre compte Windows Live Hotmail ici! http://get.live.com/mail/overview- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Difxapp driver installation does not return errors to Windows Installer
Hi All, I have a little question regarding difxapp. I am using the following code snipset for installing a driver: {{{ ... Component Id=c_one Guid=---- DiskId=1 difx:Driver ForceInstall=yes Sequence=0 Legacy=yes DeleteFiles=yes AddRemovePrograms=yes/ File Id=one.inf Name=one.inf Source=one.inf/ File Id=one.cat Name=one.cat Source=one.cat/ File Id=one.sys Name=one.sys Source=one.sys/ /Component ... }}} The c_one component is then installed as part of a feature. However, if something wrong happens as part of the .inf installation, the error is not returned back to Windows Installer. If I intentionally introduce mistakes in the .inf file, installing the driver directly with the said .inf file will raise an error, but when it is executed as part of my MSI, the installation returns successfully. No need to say that there is no rollback. Is this a normal behavior? Should I change something to my wix script for it to understand that the driver installation failed? Best regards, JV _ Windows Live Spaces – Votre vie, votre espace. Cliquez ici pour en savoir plus. http://get.live.com/spaces/overview- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Pillules for all tastes at Canadian pharmacy.
If you are looking for hq cures, check this out. http://teahotspot.com George Joseph - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] CustomAction in .msp MSI patch
I finally got it working. My mistake was that I was trying to include the definition of the custom action into the patch definition. One must in fact define his custom actions in the base packages and then torch/pyro will detect the differences and include the custom action into the patch if necessary. Here is the code snipset that I am now using: {{{?xml version='1.0' encoding='UTF-8'?Wix xmlns='http://schemas.microsoft.com/wix/2006/wi' PatchAllowRemoval='no'Manufacturer='corp' MoreInfoURL='http://www.dummy.com/'DisplayName='prod' Description='prod descr'Classification='Update' Media Id='5000' Cabinet='RTM.cab'PatchBaseline Id='RTM'/ /MediaPatchFamilyRefId='UpdatePatchFamily' //Patch Fragment PatchFamily Id='UpdatePatchFamily' Version='2.0.0.35'ComponentRef Id='SampleComponent'/ CustomActionRef Id='DoIt' /PropertyRef Id='MyProp' / /PatchFamily /Fragment/Wix}}}Best regards,J. _ Découvrez la nouvelle génération des servives de Windows Live http://get.live.com- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] CustomAction in .msp MSI patch
Hi all, I would like to know it is is possible to embed a Custom Action (type 2) in a WiX 3.x Patch (.msp file). I base my work on the following example: * http://blogs.msdn.com/pmarcu/archive/2007/06/28/sample-patch.aspx I enthusiastically added my custom action to the existing fragment: {{{ ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; PatchAllowRemoval=no Manufacturer=corp MoreInfoURL=http://www.dummy.com/; DisplayName=prod Description=prod descr Classification=Update Media Id=5000 Cabinet=RTM.cab PatchBaseline Id=RTM/ /Media PatchFamilyRefId=UpdatePatchFamily / /Patch Fragment PatchFamily Id=UpdatePatchFamily Version=2.0.0.35 ComponentRef Id=SampleComponent/ /PatchFamily InstallExecuteSequence Custom Action=DoIt Sequence=1301 / /InstallExecuteSequence Binary Id=myDLL SourceFile=mydll.dll / CustomAction Id=DoIt BinaryKey=myDLL DllEntry=MyFunction Return=check / /Fragment /Wix }}} When compiling such file, I obtain the following errors: {{{ C:\DRIVER\msi_builder light.exe NEXThink myPatch.wixobj -out myPatch.wixmsp Microsoft (R) Windows Installer Xml Linker version 3.0.2925.0 Copyright (C) Microsoft Corporation 2003. All rights reserved. C:\DRIVER\msi_builder\myPatch.wxs(34) : error LGHT0241 : An unexpected row in the 'Binary' table was found in this patch. Patches cannot contain the 'Binary' table. C:\DRIVER\msi_builder\myPatch.wxs(36) : error LGHT0241 : An unexpected row in the 'CustomAction' table was found in this patch. Patches cannot contain the 'CustomAction' table. C:\DRIVER\msi_builder\myPatch.wxs(31) : error LGHT0241 : An unexpected row in the 'InstallExecuteSequence' table was found in this patch. Patches cannot contain the 'InstallExecuteSequence' table. }}} So I guess it won't be possible to add CustomAction's to my patch. However, I would like to have a confirmation by experienced WiX users and/or advices. Thanks, best regards, --J. _ Téléchargez 30 émoticônes gratuits pour Windows Live Messenger! http://www.livemessenger-emoticons.com/fr-ch/- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Question about Registry Element
If the registry updates during installation, will the registry element, pointing to the key that updates, update as well? -- View this message in context: http://www.nabble.com/Question-about-%3CRegistry%3E-Element-tf3608622.html#a10083013 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Custom Action to run only on uninstall...
What am I doing wrong today :-) What I am trying to do is run and exe file RemoveAll.exe at the end of the uninstall, I only want it to run on uninstall. Sample one has a custom action running on install and is working fine, Sample two is not working I am quite sure it is a mistake by me but I can not see it. Thanks Sample One (This works) !-- Custom Action Parts-- CustomAction Id=fuCustomAction Return=check FileKey=Inst.exe ExeCommand= / !-- Custom Action Parts-- InstallExecuteSequence Custom Action=fuCustomAction After=InstallFinalizeNOT Installed/Custom /InstallExecuteSequence Sample Two (This does not) !-- Custom Action Parts-- CustomAction Id=fuCustomAction Return=check FileKey=Inst.exe ExeCommand= / CustomAction Id=RemFilesCA Return=check FileKey=RemoveAll.exe ExeCommand= / !-- Custom Action Parts-- InstallExecuteSequence Custom Action=fuCustomAction After=InstallFinalizeNOT Installed/Custom Custom Action=RemFilesCA After=RemoveExistingProductsInstalled/Custom /InstallExecuteSequence Thanks and Regards Joe O'Sullivan __ You might be interested in this... RM has been accredited by Becta as a Learning Platform Services Supplier. Find out more about Learning Platforms and what they will mean for you in the Guardian's 8 page supplement: http://www.rm.com/generic.asp?cref=GP840211srcurl=ICS120107PT __Visit our Website at http://www.rm.com This message is confidential. You should not copy it or disclose its contents to anyone. You may use and apply the information for the intended purpose only. Internet communications are not secure; therefore, RM does not accept legal responsibility for the contents of this message. Any views or opinions presented are those of the author only and not of RM. If this email has come to you in error, please delete it, along with any attachments. Please note that RM may intercept incoming and outgoing email communications. Freedom of Information Act 2000 This email and any attachments may contain confidential information belonging to RM. Where the email and any attachments do contain information of a confidential nature, including without limitation information relating to trade secrets, special terms or prices these shall be deemed for the purpose of the Freedom of Information Act 2000 as information provided in confidence by RM and the disclosure of which would be prejudicial to RM's commercial interests. This email has been scanned for viruses by Trend ScanMail. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Help using PIDKEY + MaskedEdit + PIDTemplate
OK I have a this piece of code Control Id=CDKeyLabel Type=Text X=45 Y=145 Width=200 Height=10 TabSkip=no TextCustomeramp;Account Number:/Text Control Id=CustAcc Type=MaskedEdit X=45 Y=157 Width=250 Height=16 Property=PIDKEY Text=[PIDTemplate] / Now for the Property Property Id=PIDTemplate![CDATA[12345###@]]/Property I would like to be able to input A to Z both upper case and lower case, Numbers, and a - what are the masks and how do I out them in? Property Id=PIDTemplate![CDATA[ABC###]]/Property Thanks Regards JOE O'SULLIVAN __ You might be interested in this... RM has been accredited by Becta as a Learning Platform Services Supplier. Find out more about Learning Platforms and what they will mean for you in the Guardian's 8 page supplement: http://www.rm.com/generic.asp?cref=GP840211srcurl=ICS120107PT __Visit our Website at http://www.rm.com This message is confidential. You should not copy it or disclose its contents to anyone. You may use and apply the information for the intended purpose only. Internet communications are not secure; therefore, RM does not accept legal responsibility for the contents of this message. Any views or opinions presented are those of the author only and not of RM. If this email has come to you in error, please delete it, along with any attachments. Please note that RM may intercept incoming and outgoing email communications. Freedom of Information Act 2000 This email and any attachments may contain confidential information belonging to RM. Where the email and any attachments do contain information of a confidential nature, including without limitation information relating to trade secrets, special terms or prices these shall be deemed for the purpose of the Freedom of Information Act 2000 as information provided in confidence by RM and the disclosure of which would be prejudicial to RM's commercial interests. This email has been scanned for viruses by Trend ScanMail. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Help on uninstall
Sorry I should have sent it to the list. What am I trying to do, I have now used a maskededit box with just figures going in. I now have two text boxes and one maskededit box , and what I want to do is make sure that each box is completed, i.e. has been filled in before the user can move on. If the user then moves back he/she can re enter any of the data. Here is the screen Dialog Id=UserRegistrationDlg Width=370 Height=270 Title=[ProductName] [Setup] NoMinimize=yes Control Id=NameLabel Type=Text X=45 Y=73 Width=100 Height=15 TabSkip=no Text=amp;User Name: / Control Id=NameEdit Type=Edit X=45 Y=85 Width=220 Height=18 Property=USERNAME Text={80} / Control Id=OrganizationLabel Type=Text X=45 Y=110 Width=100 Height=15 TabSkip=no Text=amp;Organization: / Control Id=OrganizationEdit Type=Edit X=45 Y=122 Width=220 Height=18 Property=COMPANYNAME Text={80} / Control Id=CDKeyLabel Type=Text X=45 Y=147 Width=50 Height=10 TabSkip=no TextCD amp;Key:/Text /Control Control Id=CDKeyEdit Type=MaskedEdit X=45 Y=159 Width=250 Height=16 Property=PIDKEY Text=[PIDTemplate] / Control Id=Back Type=PushButton X=180 Y=243 Width=56 Height=17 Text=[ButtonText_Back] Publish Event=NewDialog Value=LicenseAgreementDlg1/Publish /Control Control Id=Next Type=PushButton X=236 Y=243 Width=56 Height=17 Default=yes Text=[ButtonText_Next] Publish Event=ValidateProductID Value=00/Publish Publish Event=SpawnWaitDialog Value=WaitForCostingDlgCostingComplete = 1/Publish Publish Event=NewDialog Value=SetupTypeDlgProductID/Publish /Control Control Id=Cancel Type=PushButton X=304 Y=243 Width=56 Height=17 Cancel=yes Text=[ButtonText_Cancel] Publish Event=SpawnDialog Value=CancelDlg1/Publish /Control Control Id=BannerBitmap Type=Bitmap X=0 Y=0 Width=370 Height=44 TabSkip=no Text=[BannerBitmap] / Control Id=Description Type=Text X=25 Y=23 Width=280 Height=15 Transparent=yes NoPrefix=yes TextPlease enter your customer information/Text /Control Control Id=BottomLine Type=Line X=0 Y=234 Width=370 Height=0 / Control Id=Title Type=Text X=15 Y=6 Width=200 Height=15 Transparent=yes NoPrefix=yes Text[DlgTitleFont]Customer Information/Text /Control Control Id=BannerLine Type=Line X=0 Y=44 Width=370 Height=0 / /Dialog I am using version 2.0.4221.0 because I need to release this as soon as possible. I have found the user can just press next without filling in the maskededit box and if the box is filled in then when they go back they can not change it. Any help would be much appreciated. Thanks From: Levi Wilson [mailto:[EMAIL PROTECTED] Sent: 24 January 2007 18:52 To: Joseph O'Sullivan Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Help on uninstall Which version of WiX are you using? I'm not EXACTLY sure what you're trying to do, but it sounds like you don't want to allow them to move on to the next dialog until USERNAME has a value in it? Is this the case? Also, don't forget to CC a copy to the wix-users group when you reply please. On 1/24/07, Joseph O'Sullivan [EMAIL PROTECTED] wrote: Levi Sorry to come direct but looks like you know the answer to this from scraps I have read. Here is the code I am using Dialog Id=UserRegistrationDlg Width=370 Height=270 Title=[ProductName] [Setup] NoMinimize=yes Control Id=NameLabel Type=Text X=45 Y=73 Width=100 Height=15 TabSkip=no Text=amp;User Name: / Control Id=NameEdit Type=Edit X=45 Y=85 Width=220 Height=18 Property=USERNAME Text={80} / Control Id=OrganizationLabel Type=Text X=45 Y=110 Width=100 Height=15 TabSkip=no Text=amp;Organization: / Control Id=OrganizationEdit Type=Edit X=45 Y=122 Width=220 Height=18 Property=COMPANYNAME Text={80} / Control Id=CDKeyLabel Type=Text X=45 Y=147 Width=50 Height=10 TabSkip=no TextCD amp;Key:/Text /Control Control Id=CDKeyEdit Type=MaskedEdit X=45 Y=159 Width=250 Height=16 Property=PIDKEY Text=[PIDTemplate] / Control Id=Back Type=PushButton X=180 Y=243 Width=56 Height=17 Text=[ButtonText_Back] Publish Event=NewDialog Value=LicenseAgreementDlg1/Publish /Control Control Id=Next Type=PushButton X=236 Y=243 Width=56 Height=17 Default=yes Text=[ButtonText_Next] Publish Event=ValidateProductID Value=00/Publish Publish Event=SpawnWaitDialog Value=WaitForCostingDlgCostingComplete = 1/Publish Publish Event=NewDialog Value=SetupTypeDlgProductID/Publish /Control Control Id=Cancel Type=PushButton X=304 Y=243 Width=56 Height=17 Cancel=yes Text=[ButtonText_Cancel] Publish Event=SpawnDialog Value=CancelDlg1/Publish /Control Control Id=BannerBitmap Type=Bitmap X=0 Y=0 Width=370 Height=44 TabSkip
[WiX-users] XmlFile element
I need to parse an xml file that is being installed with my current project. I'd like to keep the code for the parsing inside of the component for the xml file, but it simply will not use the [#fileId] properly. It compiles and runs, but it errors out because it doesn't resolve [#fileId] during the install. I'm not an expert, but I am guessing that this is some issue involving scheduling, and the value of [#fileid] not being available. This component is inside a merge module. I have also tried using the [MergeRedirectFolder] instead with the name of the file after, but this is not resolved either. Is there a way to work around this? I am using wix 2.0.4326.0.Thanks,joey - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] ODBCDataSource Errors?
All,I have searched high and low for information regarding the ODBCDataSource element. The only thing I can find is a posting on this list. From that post, I created the following Code in a component: ODBCDataSource Id=SMSHistoryDSN DriverName=SQL Server Name=SMS-3000 History SQL Registration=machine Property Id=DatabaseFile Value=[MergeRedirecFolder]SMS_History_data.mdf / /ODBCDataSourceI get an error on install that tells me that the file SMS-3000 History SQL could not be found. I want that to be the DSN name after creation, and I want to point to a SQL Server DB on the current machine. I assume that I should be using some property other than DatabaseFile (since it is SQL Server and not an access MDB), but I don't know what. I am also confused about the DBFile name error that I'm getting. here is the entry in the log file I get: MSI (s) (7C:7C) [11:58:52:147]: Executing op: ActionStart(Name=InstallODBC,Description=Installing ODBC components,)Action 11:58:52: InstallODBC. Installing ODBC componentsMSI (s) (7C:7C) [11:58:52:157]: Executing op: ODBCDataSource(DriverKey=SQL Server,,Registration=4,Attribute_=DSN,Value_=SMS-3000 History SQL) 1: SQL Server 2: 3: 4 4: DSN 5: SMS-3000 History SQL 6: DatabaseFile 7: SMS_History_data.mdf MSI (s) (7C:7C) [11:58:52:347]: LocalSQLConfigDataSource returned 0 in remote context.MSI (s) (7C:7C) [11:58:52:398]: LocalSQLConfigDataSource returned 0 in remote context. MSI (s) (7C:7C) [11:58:52:398]: LocalSQLInstallerError returned 0 in remote context.MSI (s) (7C:7C) [11:58:52:398]: Note: 1: 2205 2: 3: Error MSI (s) (7C:7C) [11:58:52:398]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1919 Error 1919. Error configuring ODBC data source: SMS-3000 History SQL, ODBC error 8: Invalid keyword-value pairs. Verify that the file SMS-3000 History SQL exists and that you can access it.MSI (s) (7C:7C) [12:00:04:551]: Note: 1: 2205 2: 3: Error MSI (s) (7C:7C) [12:00:04:551]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709 MSI (s) (7C:7C) [12:00:04:611]: Product: Fiji Prototype -- Error 1919. Error configuring ODBC data source: SMS-3000 History SQL, ODBC error 8: Invalid keyword-value pairs. Verify that the file SMS-3000 History SQL exists and that you can access it. Any help would be appreciated. Can I get this information from the WiX source code or something. I'm willing to dig, I just don't know where to start with the shovel...Thanks,Joseph - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Policy and Config files into the GAC?
I've got some merge modules that contain policy dll files and config files for assemblies that need to go into the GAC. I have tried several different things to get these files placed into the GAC with the associated assemblies, but to no avail. I have tried adding them to the same component and set the main assembly as the KeyPath, but then I can't set the Assembly attribute on the other files (because the file with the assembly attribute also has to be the key file). I have tried putting these in their own components (config's and policy dll's) but they aren't valid GAC files. Previously, I had added everything in our InstallScript code to the GAC by using gacutil with *.*If this is not correct, how do I handle the policy and config files that go with the assemblies? Where should these be placed on disk if they don't go into the GAC? Thanks,Joseph - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] ANSI Characters
I'm having a lot of trouble getting an MSI installer to work with file names or folders containing characters like Á or ó. Whenever I attempt to run the .msi it says that ?_propos_du_bouton_d_ic?ne.htm was an invalid file name, but that's not what I even named the file. The file was called Á_propos_du_bouton_d_icóne.htm How do I get my installer to let me use characters like Á or ó with my file namesand directory names. I'm using the most recent version of the Wix 2.0 toolset. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] WiX Consultant Available?
I have posted this before on the WiX-users list before, but got only one response and it was from Rob M. who basically said that he'd like to do it but didn't think he could. Is there anyone who is or knows of a consultant that my group can hire to review my setup design? This is the first MSI based install that we have done (all previous installs were InstallScript based), and my tail is basically on the line. I have an InstallShield MSI training course under my belt, but no real world MSI experience except for the RD I have done on WiX. Our project has to use WiX because of the requirements, and the only consultants I can find for setup work at from Macrovision. I'm pretty certain that they might not enjoy being consultants for a project where we are going to be using an open source competitor to their InstallShield product. The job is in Nashville, TN. We may be able to work out remoting if you don't live in this area. My manager has asked me about this again and I'd really like to get someone good in here who can review my design before our remote team does the implementation. Thanks, Joseph Barkley Software Engineer Square D Company La Vergne, TN ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users