Re: [WiX-users] Determine selected features from tree
You can use !FeatureName to determine a feature's installation action. A value of 3 means it will be installed (if memory serves). Rob Nick Hennemann wrote: New to Wix…. I see how to set the ‘level’ attribute to determine whether the item is to be enabled or disabled by default in the feature tree. I have two features in my feature tree and I want to be able to kick of different custom actions based on what features the end user selects during the install. I’m sure there is an easy way to determine what items the user selected, but have failed to locate it thus far. Any help would be appreciated. Thanks. NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. - 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 - 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] 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] Removing Patch software
I am currently trying to develop a Wix solution that will allow me to install some patch software and then provide the ability to remove the patch software if required. However, all I have been able to do so far is apply the patch, copying original file away in the process and when I remove the patch it basically removes everything. Does anyone know if 1) Is it possible to create an installer that will remove patch software and restore the original file 2) If it is possible, how this is achieved and would they be willing to share their methodology. Regards Dave C. - 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] Adding tons of files to an MSI
Can anyone help me to automatically add a directory and all its contents to an MSI? The problem: I have a directory whose contents is auto generated and therefore can be considered fairly random. The directory may contain thousands of files so adding them manually with the File ... tag is not an option. My question: How can I add the directory, say myDir, and all the files in myDir to the MSI automatically? Are there some File Source=myDir\* ... / option? (I am using the latest version of Wix 3) - 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
Re: [WiX-users] Adding tons of files to an MSI
Just a sidenote: Creating an installer that installs fairly random things does is IMO fairly suboptimal... The problem: I have a directory whose contents is auto generated and therefore can be considered fairly random. The directory may contain thousands of files so adding them manually with the File ... tag is not an option. - 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
Re: [WiX-users] Determine selected features from tree
I think that !FeatureName is the current state of the feature and FeatureName is the action to be performed. -Brian Simoneau -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Hamflett Sent: Tuesday, February 06, 2007 4:30 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Determine selected features from tree You can use !FeatureName to determine a feature's installation action. A value of 3 means it will be installed (if memory serves). Rob Nick Hennemann wrote: New to Wix I see how to set the 'level' attribute to determine whether the item is to be enabled or disabled by default in the feature tree. I have two features in my feature tree and I want to be able to kick of different custom actions based on what features the end user selects during the install. I'm sure there is an easy way to determine what items the user selected, but have failed to locate it thus far. Any help would be appreciated. Thanks. NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. - 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 - 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 - 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
Re: [WiX-users] x86 and x64 in same wxs / msi ?
Are you installing only 32-bit dll's? Do you have any problems with file and registry redirection to the 32-bit locations on a 64-bit os? If your program isn't affected by that, than you can use one package for both. I just wanted to mention that because just conditioning the components isn't typically enough to fully utilize the 64-bit architecture. You'd also need to mark the package as a 64-bit package and any 64-bit components as such within WiX. Dana On 2/5/07, Matthew Rowan [EMAIL PROTECTED] wrote: Hi Robert, What I have done is just setup conditions on the platform specific components to install or not dependent on the operating system. eg. Component Id=Comp DiskId=1 Guid=x-3FD7-4DB0-9BBC-2FDF305DE466 !-- Do not install on 64-Bit Windows -- ConditionNOT VersionNT64/Condition File Id=file1.dll Source=..\file1.dll / /Component Regards, -Matthew Rowan On 2/6/07, Robert Randall [EMAIL PROTECTED] wrote: The answer to this may be obvious, but I can't seem to find any direction on how to support multiple target OSes from the same package; say x86 and x64 (AMD64) versions. My hunch is there is a simple answer but I've not been able to find a sample project or How-To for this. Would one of the experts please advise on how to best handle this? I have two separate and nearly identical packages now that produce two .msi files. One for x86 and one for x64. I would prefer to have a single package (less room for mistakes that way). Thanks. Robert Randall - 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 - 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 - 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
Re: [WiX-users] Adding tons of files to an MSI
take a look at the tallow.exe command...very helpful for this type of situation. From: [EMAIL PROTECTED] on behalf of Very Secret Sent: Tue 2/6/2007 4:31 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Adding tons of files to an MSI Can anyone help me to automatically add a directory and all its contents to an MSI? The problem: I have a directory whose contents is auto generated and therefore can be considered fairly random. The directory may contain thousands of files so adding them manually with the File ... tag is not an option. My question: How can I add the directory, say myDir, and all the files in myDir to the MSI automatically? Are there some File Source=myDir\* ... / option? (I am using the latest version of Wix 3) - 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 NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. - 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
Re: [WiX-users] Adding tons of files to an MSI
In version 3 tallow.exe does not exist. You will need to use heat.exe. It's very easy to do this There is a good explanation of it here http://installing.blogspot.com/2006/04/heatexe-making-setup-easier.html of how to use it. Typically you'll run it like this (to do what you want): heat.exe dir c:\mydir -template:product -gg -out mydir.wxs On 2/6/07, Nick Hennemann [EMAIL PROTECTED] wrote: take a look at the tallow.exe command...very helpful for this type of situation. -- *From:* [EMAIL PROTECTED] on behalf of Very Secret *Sent:* Tue 2/6/2007 4:31 AM *To:* wix-users@lists.sourceforge.net *Subject:* [WiX-users] Adding tons of files to an MSI Can anyone help me to automatically add a directory and all its contents to an MSI? The problem: I have a directory whose contents is auto generated and therefore can be considered fairly random. The directory may contain thousands of files so adding them manually with the File ... tag is not an option. My question: How can I add the directory, say myDir, and all the files in myDir to the MSI automatically? Are there some File Source=myDir\* ... / option? (I am using the latest version of Wix 3) - 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 NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. - 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 - 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
Re: [WiX-users] shortcut Start in:
Thomas Svare wrote: How do I populate the Start In field of a shortcut? Use the Shortcut/@WorkingDirectory attribute. -- sig://boB http://bobs.org - 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
Re: [WiX-users] Prevent overwrite of existing files
Stefan Kuhr wrote: I am currently developing our company's first install with WiX, everything before was homegrown installers or InstallShield. My WiX-based install distributes files that may also come with other installers for our product and it is very, very important that the WiX-based install will not install into directories (that the user chose) which contain files that came with other installers. So the best would be to just not let the user choose a directory where files reside that came from our other installs. After experimenting a bit I finally decided to bite the bullet and write a custom action DLL (can be found here: http://mcblogs.craalse.de/skufiles/2007/custact.zip) that scans the File table and tests for the existence of all files in this table's FileName column in the INSTALLDIR the user provided. If such a file can be found, a messagebox is shown and the install aborted, because this is an attempt to install into a directory where other installer of our products have previously installed into. While this all works I wonder if there is an easier way to achieve the same result, maybe without a custom action DLL? Any clues anyone? There are other ways of doing this but your current approach covers more ground than they could. For example, you could use RegistrySearch to detect other installers (presumably!) and use a launch condition to tell the user to uninstall other versions. Or you could use a FileSearch that ran in the execute sequence but that would delay feedback to the user -- ideally, you want to tell them as soon as they select a directory. -- sig://boB http://bobs.org - 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
Re: [WiX-users] SpawnDialog resulting from Next button?
It didn't seem to work. My other idea about using the MsiProcessMessage didn't work either. For some reason, it looks like MsiProcessMessage doesn't work from a CA when the CA is invoked from a Control Event? I started a thread on the msi newsgroup ( http://groups.google.com/group/microsoft.public.platformsdk.msi/browse_frm/thread/ab238b41a3c3bdba/f66bc13978b31ab1?lnk=gstq=%22message+box%22rnum=2#f66bc13978b31ab1 ) but I haven't gotten anything to work just yet. Thanks for your help. On 2/6/07, Bob Arnson [EMAIL PROTECTED] wrote: Levi Wilson wrote: One clarification is that the restriction applies only to those control events with the same conditions. So you might be able to make it work if you change a property in the spawned dialog. Can you clarify this? Here are all of the entries in my ControlEvent table that pertain to the dialog that I am speaking about. I want the next button to warn the user (via InfoDlg) when they are using Local mode. Are you saying that If inside my InfoDlg, I publish a ControlEvent for the OK button to set a property, and then condition my NewDialog event from the SelectServerDlg on the property that the InfoDlg would change? I'm saying maybe -- I haven't done it, so I'm not sure it would work. -- sig://boB http://bobs.org - 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
Re: [WiX-users] Custom Action to run only on uninstall...
The condition to use for an uninstall is REMOVE=ALL, it's true on an uninstall. Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joseph O'Sullivan Sent: Tuesday, February 06, 2007 1:48 AM To: wix-users@lists.sourceforge.net Subject: [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 __Vi sit 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 - 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
Re: [WiX-users] SpawnDialog resulting from Next button?
Yes, the message that I am trying to display shows in the log, after it shows that I had entered my CA. I am not at work right now, but I can retrieve all that the log says at a later time if necessary. On 2/6/07, Bob Arnson [EMAIL PROTECTED] wrote: Levi Wilson wrote: Well, my second idea does not work. Instead of publishing a SpawnDialog event, I have a CA that displays a message box. However, the Message box does not show up. Here are my functions to display a message (see below). I'm certain that GenMessageBox gets called, because I put up a message box (via MessageBox user32 function) that displayed MYMSGTEXT, and the text was correct. Am I missing something? I'm not sure that MsiProcessMessage will show dialogs in the middle of ControlEvent processing. Does anything show up in a verbose log? -- sig://boB http://bobs.org - 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
Re: [WiX-users] shortcut Start in:
Bob, Thanks for the kindly response. So far I'm batting 2 for 3 on typo error type questions to the list. More than a little embarrassing. Thanks, Tom From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 06, 2007 11:29 AM To: Thomas Svare Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] shortcut Start in: Thomas Svare wrote: How do I populate the Start In field of a shortcut? Use the Shortcut/@WorkingDirectory attribute. -- sig://boB http://bobs.org - 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
Re: [WiX-users] Adding tons of files to an MSI
I'm not sure where else it's talked about, but the above blog entry is by the author of heat I believe. -gg is the generate guid option, so you don't have to generate them yourself. Heat will setup a directory structure, and for each file (component) it will use the name if the directory you use. Therefore, if the directory you are using heat on is called mycooldir, the Id of the directory for all of your components will have an Id=mycooldir. There will be a Directory / hierarchy that will be setup toward the bottom of your wxs file that you can modify to have the right TARGETDIR that you want. There is a good explanation of how the directories are setup in the tutorial linked off of http://wix.sourceforge.net/ if you want to take a look at that. I think the basic templates for it are product and module. I haven't used any of the others. Also, don't forget to add a CC to the wix-users group so everyone can share in the conversation. On 2/6/07, Very Secret [EMAIL PROTECTED] wrote: There is a good explanation of it here http://installing.blogspot.com/2006/04/heatexe-making-setup-easier.html of how to use it. Thanks. The heat command seems to be a good solution. Do you know where I can find some more documentation for heat? E.g. where is -gg and the available templates documented (besides in the above blog)? Also: The newly generated wxs should only be considered as a component and myDir should be placed in e.g. INSTALLDIR\foo\bar\. But how can I set the destination path for the the component in myDir.wxs? - 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
Re: [WiX-users] Certificate install issue
Shaun Wilde wrote: Do you know how old is older? The version I am using is 2.0.4820.0 Rob's been in that code very recently -- try the latest weekly release from http://wix.sourceforge.net/releases/. -- sig://boB http://bobs.org - 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] Property Modularization
Alright, I'll try to tread slowly through this one... I have a merge module that has a settings file that is packaged with it. I have a file search setup within my merge module that sets an OLDSETTINGS property. Now, here is where things get fuzzy. IF the OLDSETTINGS exist, the module will notinstall the default settings (packaged with it), but instead copy the old ones over. If the OLDSETTINGS do NOT exist, it will use the default. The problem that I am running into is that I have a UI page that has a static text element that will display to the user information about the default settings (when they're used). Now, since the Properties from the merge module are modularized, the UI can't access that property. So, if I suppress the modularization to get rid of that, then when I Condition / my Component / based upon the OLDSETTINGS property, IT gets modularized (even though I don't want it to). Has anyone ran into this situation before? Any help would be greatly appreciated. Please let me know if more details are needed. - 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
Re: [WiX-users] IniFile trouble
Alexander wrote: This stuff ends up with an error Unresolved reference to symbol 'Directory:PLANTSETTINGSDIR' in section 'Product:{F7998B08-BACB-4ABD-9ED3-FB97C1E66F73}'. Looks like light.exe doesn't want Directory attribute of IniFile tag to be a property, and expects a directory, which seems true because when I use a directory (declared in Directory tag) instead of a property in IniFile Directory=... light.exe builds a msi without any problem. Correct. MSI needs a Directory table ID; a Property name won't suffice. However, you can provide a placeholder Directory element that's overwritten by the AppSearch action setting a property with the same name. -- sig://boB http://bobs.org - 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
Re: [WiX-users] Custom Action Sequencing
Jing Shiau wrote: Does anyone have a way of forcing the sequence of custom actions? In WiX v2, you can't override provided sequencing. In WiX v3, you can mark a sequencing as overridable and the WiX CAs are so marked. However, you need to use the @Before and @After sequencing attributes rather than absolute sequence numbers. -- sig://boB http://bobs.org - 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
Re: [WiX-users] SpawnDialog resulting from Next button?
Levi Wilson wrote: Well, my second idea does not work. Instead of publishing a SpawnDialog event, I have a CA that displays a message box. However, the Message box does not show up. Here are my functions to display a message (see below). I'm certain that GenMessageBox gets called, because I put up a message box (via MessageBox user32 function) that displayed MYMSGTEXT, and the text was correct. Am I missing something? I'm not sure that MsiProcessMessage will show dialogs in the middle of ControlEvent processing. Does anything show up in a verbose log? -- sig://boB http://bobs.org - 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
Re: [WiX-users] Overriding WiX default error codes
Lee Thompson wrote: Thanks, Mike. Yes, I'm talking about the error message itself. When I reuse the same Id as one that exists in caerr.wxi, e.g.: Error Id=25531Install Failure: Couldn't open [1]. This will happen when [1] is locked by the system, or if it contains invalid XML. First, cancel this installation, ensure that the prior version of the MSI has been uninstalled and that [1] no longer exists. If both are true, have dev run the file through an XML validator to determine what is wrong with the file and fix it. This fix will require a new build of the MSI./Error /(Yes, this is for an internal-only setup.)/ ... I get LGHT0130, because I'm trying to insert a duplicate row in the Error table. error LGHT0130 : The primary key '25531' is duplicated in table 'Error'. Please remove one of the entries or rename a part of the primary key to avoid the collision. Should also have noted that I'm on 3.0.2525.0, using the -cultures:en-US flag. In v3, all the WiX loc strings are marked @Overridable=yes so you can override them. You need to provide your own .wxl file with @Culture=en-us to match. You'll have to get the loc string IDs from the extension source drop, however; they're not otherwise discoverable. -- sig://boB http://bobs.org - 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
Re: [WiX-users] Any documentation on WiX/Windows Installer limits?
Alex Lian wrote: I would point out that these big installers are not that uncommon a scenario. I'm working for a game developer currently, and in this industry *lots* of games are regularly large installations. Additionally, they're more regularly offering downloadable installs. It's not uncommon to download 1.5GB demo games...so we're already close to that line of 2GB. In my day job, I work with a ~9GB installer on two DVDs. We have an 800MB download demo but it's a self-extractor for download. Enough products require a setup.exe chainer or other form of bootstrapper that wrapping an .msi and .cabs together isn't a big problem. Just thought I'd throw out that point, such that the Installer team can keep that in consideration. I don't think anyone on the MSI team lurks on this list. But you can send feature requests to [EMAIL PROTECTED] and MSI team members see them. -- sig://boB http://bobs.org - 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
Re: [WiX-users] SpawnDialog resulting from Next button?
Levi Wilson wrote: One clarification is that the restriction applies only to those control events with the same conditions. So you might be able to make it work if you change a property in the spawned dialog. Can you clarify this? Here are all of the entries in my ControlEvent table that pertain to the dialog that I am speaking about. I want the next button to warn the user (via InfoDlg) when they are using Local mode. Are you saying that If inside my InfoDlg, I publish a ControlEvent for the OK button to set a property, and then condition my NewDialog event from the SelectServerDlg on the property that the InfoDlg would change? I'm saying maybe -- I haven't done it, so I'm not sure it would work. -- sig://boB http://bobs.org - 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
Re: [WiX-users] Adding tons of files to an MSI
There exists (and I can't for the life of me find it again) a utility called mallow.exe which does the same thing as tallow, except it generates GUIDs for the components. As mentioned below, it spits out v2 wix code. I wrote a perl script that is kind of VisualStudio-centric in that it scans through a 2003 project file, picks out 'Content', stages it along with the 'bin' directory, then runs mallow to generate a fragment. Then the script 'schmoozes' it into Wix 3 format. What I end up with is a fragment file that just contains the directory structure. Then I refer to the top-level component in my 'real' file. It is generally a bad thing to include 'fairly random' things in an installer, but in the case of VisualStudio dev's are used to just adding 'output' and 'content' and having the installer take care of it. Folks here liked the idea of Wix, but did not like the idea of having to tell me every time a new file needed to be in an installer, thus the script was born. It's been working great for about a month. If anyone is interested in the script let me know. I'll be more than happy to post it here. -Matt _ From: Levi Wilson [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 06, 2007 5:42 AM To: Nick Hennemann Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Adding tons of files to an MSI In version 3 tallow.exe does not exist. You will need to use heat.exe. It's very easy to do this There is a good explanation of it here http://installing.blogspot.com/2006/04/heatexe-making-setup-easier.html of how to use it. Typically you'll run it like this (to do what you want): heat.exe dir c:\mydir -template:product -gg -out mydir.wxs On 2/6/07, Nick Hennemann [EMAIL PROTECTED] wrote: take a look at the tallow.exe command...very helpful for this type of situation. _ From: [EMAIL PROTECTED] on behalf of Very Secret Sent: Tue 2/6/2007 4:31 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Adding tons of files to an MSI Can anyone help me to automatically add a directory and all its contents to an MSI? The problem: I have a directory whose contents is auto generated and therefore can be considered fairly random. The directory may contain thousands of files so adding them manually with the File ... tag is not an option. My question: How can I add the directory, say myDir, and all the files in myDir to the MSI automatically? Are there some File Source=myDir\* ... / option? (I am using the latest version of Wix 3) - 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 NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. - 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 - 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] Installing many files with wildcard
I have hundreds of .ico files that I would like to include in my WiX install. There has to be a better way than having hundreds of File elements, one for each .ico file. Could someone tell me how to do this? Thanks in advance, Russ - 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
Re: [WiX-users] Adding tons of files to an MSI
I'd like to add that I'm not really an idiot, and I didn't know that heat generated GUIDs now. When I was writing the original script a year ago I don't think it did. I'll have to look into that! -Matt _ From: Matthew Janulewicz Sent: Tuesday, February 06, 2007 10:46 AM To: Levi Wilson; Nick Hennemann Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Adding tons of files to an MSI There exists (and I can't for the life of me find it again) a utility called mallow.exe which does the same thing as tallow, except it generates GUIDs for the components. As mentioned below, it spits out v2 wix code. I wrote a perl script that is kind of VisualStudio-centric in that it scans through a 2003 project file, picks out 'Content', stages it along with the 'bin' directory, then runs mallow to generate a fragment. Then the script 'schmoozes' it into Wix 3 format. What I end up with is a fragment file that just contains the directory structure. Then I refer to the top-level component in my 'real' file. It is generally a bad thing to include 'fairly random' things in an installer, but in the case of VisualStudio dev's are used to just adding 'output' and 'content' and having the installer take care of it. Folks here liked the idea of Wix, but did not like the idea of having to tell me every time a new file needed to be in an installer, thus the script was born. It's been working great for about a month. If anyone is interested in the script let me know. I'll be more than happy to post it here. -Matt _ From: Levi Wilson [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 06, 2007 5:42 AM To: Nick Hennemann Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Adding tons of files to an MSI In version 3 tallow.exe does not exist. You will need to use heat.exe. It's very easy to do this There is a good explanation of it here http://installing.blogspot.com/2006/04/heatexe-making-setup-easier.html of how to use it. Typically you'll run it like this (to do what you want): heat.exe dir c:\mydir -template:product -gg -out mydir.wxs On 2/6/07, Nick Hennemann [EMAIL PROTECTED] wrote: take a look at the tallow.exe command...very helpful for this type of situation. _ From: [EMAIL PROTECTED] on behalf of Very Secret Sent: Tue 2/6/2007 4:31 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Adding tons of files to an MSI Can anyone help me to automatically add a directory and all its contents to an MSI? The problem: I have a directory whose contents is auto generated and therefore can be considered fairly random. The directory may contain thousands of files so adding them manually with the File ... tag is not an option. My question: How can I add the directory, say myDir, and all the files in myDir to the MSI automatically? Are there some File Source=myDir\* ... / option? (I am using the latest version of Wix 3) - 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 NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. - 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 - 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
Re: [WiX-users] x86 and x64 in same wxs / msi ?
I'm not installing any DLLs, just two EXEs and a few device drivers. I'm handling the device drivers through the SetupAPI (considering the switch to DIFx) so I'm covered there by using the appropriate .inf entries. The EXEs are compiled for both i386 and AMD64 and I just want to be able to use the same installation package and not have to maintain two of them. If I mark the package as both 64bit and 32bit will things just work? Assuming of course that I put the correct conditions into the components. Are there any examples of this out there? If not, I'm happy to supply my test as the example. I'm going to build a hello world of this before starting to refactor my existing WiX source. Robert. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dana Gutride Sent: Tuesday, February 06, 2007 7:27 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] x86 and x64 in same wxs / msi ? Are you installing only 32-bit dll's? Do you have any problems with file and registry redirection to the 32-bit locations on a 64-bit os? If your program isn't affected by that, than you can use one package for both. I just wanted to mention that because just conditioning the components isn't typically enough to fully utilize the 64-bit architecture. You'd also need to mark the package as a 64-bit package and any 64-bit components as such within WiX. Dana On 2/5/07, Matthew Rowan [EMAIL PROTECTED] wrote: Hi Robert, What I have done is just setup conditions on the platform specific components to install or not dependent on the operating system. eg. Component Id=Comp DiskId=1 Guid=x-3FD7-4DB0-9BBC-2FDF305DE466 !-- Do not install on 64-Bit Windows -- ConditionNOT VersionNT64/Condition File Id=file1.dll Source=..\file1.dll / /Component Regards, -Matthew Rowan On 2/6/07, Robert Randall [EMAIL PROTECTED] wrote: The answer to this may be obvious, but I can't seem to find any direction on how to support multiple target OSes from the same package; say x86 and x64 (AMD64) versions. My hunch is there is a simple answer but I've not been able to find a sample project or How-To for this. Would one of the experts please advise on how to best handle this? I have two separate and nearly identical packages now that produce two .msi files. One for x86 and one for x64. I would prefer to have a single package (less room for mistakes that way). Thanks. Robert Randall - 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=lnk http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 kid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - 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=lnk http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 kid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - 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] Change feature install level
Hello, I got the following situation: I have a component A which has a Registry Key (lets call it: A.Registry) with a value and I got a component B which has the same Registry Key with a different value (lets call it: B.Registry). Now if component A is installed A.Registry needs to be registered, but if component B is installed as well the B.Registry overrides the A registry key and only Registry B should be registered in the registry. To solve this problem I created 2 components installing the registry keys to the registry. Two Features with the default Level of 1 and a condition which checks a property. If the property is 1 the Level is set to 0 and the component (the registry key) is not installed to the registry. This works quite fine for checkboxes. If i make 2 checkboxes for the 2 components, the user can decide which component to install, the property gets set from the checkbox control. But the problem is, I got more components from which the user can decide which to install. So I decided to use a SelectionTree and here is where my problem finally appears ;) How can I create a event or something which sets the right property according to the selection of the user? If component A is going to be installed the A.Registry needs to be installed. If component A and B is going to be installed the B.Registry needs to be installed. (Component A is mandatory it's always going to be installed, but that's no problem at all so) Someone maybe can help me? Any help would be appreciated! Stefan Seifert - 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
Re: [WiX-users] x86 and x64 in same wxs / msi ?
I think my case is a little different since it is a .NET application and we have some third party dlls that don’t work on a 64-bit machine, so I just switch that component so they don’t install on the 64-bit machine. I don’t know when it is required specifically mark the package or components as 64-bit. I’ll need to do some more testing myself as well to verify it does work. Another option you could do though to reduce code duplication, is to separate all the differences in the WiX into a fragment and have a 64-bit and 32-bit fragment and just link in the appropriate on for each build. You’ll still have 2 msi’s but less room for error. -Matthew Rowan From: Robert Randall [mailto:[EMAIL PROTECTED] Sent: Wednesday, 7 February 2007 04:47 To: 'Matthew Rowan' Subject: RE: x86 and x64 in same wxs / msi ? Thanks. Does this allow you to have a single .msi file / database that can be used to install on multiple target OSes, both AMD64 and x86? I posted a similar question to a Microsoft list and received a “can’t do it” answer. That answer does feel wrong. Do you use a single .msi for installs to x86 and x64 targets? Thanks, Robert. From: Matthew Rowan [mailto:[EMAIL PROTECTED] Sent: Monday, February 05, 2007 7:10 PM To: Robert Randall Subject: x86 and x64 in same wxs / msi ? Hi Robert, What I have done is just setup conditions on the platform specific components to install or not dependent on the operating system. eg. Component Id=Comp DiskId=1 Guid=x-3FD7-4DB0-9BBC-2FDF305DE466 !-- Do not install on 64-Bit Windows -- ConditionNOT VersionNT64/Condition File Id=file1.dll Source=..\file1.dll / /Component Regards, -Matthew Rowan On 2/6/07, Robert Randall [EMAIL PROTECTED] wrote: The answer to this may be obvious, but I can't seem to find any direction on how to support multiple target OSes from the same package; say x86 and x64 (AMD64) versions. My hunch is there is a simple answer but I've not been able to find a sample project or How-To for this. Would one of the experts please advise on how to best handle this? I have two separate and nearly identical packages now that produce two .msi files. One for x86 and one for x64. I would prefer to have a single package (less room for mistakes that way). Thanks. Robert Randall - 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=lnk http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 kid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - 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] Web Application Name trunacted @ 32 characters
Hi All, From WXS file - I am creating a Web Application with the following code and using it in another WebVirtualDir node. WebApplication Id='BatchResponseWebApp' Name='My Application for distributing certificates' WebAppPool='DefaultAppPool' / Both Candle and Light run successfully and the MSI is created. When the MSI is executed - its creating the Virtual Directory with this Web application but the Application Name is set to 'My Application for distributing '. (Only the first 32 characters are set.) When I open the MSI with Orca - the IISWebApplication table has for the full - 'My Application for distributing certificates' in the Name column. Please let me know if its an open issue for the MSIs created with WIX V2.0.3620.0 Thanks, Sankaranarayanan MG ___ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com - 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] How can i make msiexec return a custom return code?
Is there any way to make msiexec return a custom defined return code that I specify? My msi is being launched from another program and I would like to return some custom information than what is already returned. - 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
Re: [WiX-users] How can i make msiexec return a custom return code?
Unfortunately, no. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Don Tasanasanta Sent: Tuesday, February 06, 2007 2:24 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How can i make msiexec return a custom return code? Is there any way to make msiexec return a custom defined return code that I specify? My msi is being launched from another program and I would like to return some custom information than what is already returned. - 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
Re: [WiX-users] Web Application Name trunacted @ 32 characters
Limitation of IIS. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sankaranarayanan Sent: Tuesday, February 06, 2007 2:00 PM To: wix-users@lists.sourceforge.net Cc: [EMAIL PROTECTED] Subject: [WiX-users] Web Application Name trunacted @ 32 characters Hi All, From WXS file - I am creating a Web Application with the following code and using it in another WebVirtualDir node. WebApplication Id='BatchResponseWebApp' Name='My Application for distributing certificates' WebAppPool='DefaultAppPool' / Both Candle and Light run successfully and the MSI is created. When the MSI is executed - its creating the Virtual Directory with this Web application but the Application Name is set to 'My Application for distributing '. (Only the first 32 characters are set.) When I open the MSI with Orca - the IISWebApplication table has for the full - 'My Application for distributing certificates' in the Name column. Please let me know if its an open issue for the MSIs created with WIX V2.0.3620.0 Thanks, Sankaranarayanan MG ___ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com - 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 - 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
Re: [WiX-users] Web Application Name trunacted @ 32 characters
May be its not a limitation of IIS - Because if I open Internet Information Services, right Click on Virtual Directory and Edit Properties - I am able to change the Application Name to more than 32 Characters. Only when setting from MSI - its restricted to first 32 characters. Please let me know your thoughts. Thanks, Sankaranarayanan MG - Original Message From: Rob Mensching [EMAIL PROTECTED] To: Sankaranarayanan [EMAIL PROTECTED]; wix-users@lists.sourceforge.net wix-users@lists.sourceforge.net Sent: Tuesday, 6 February, 2007 3:28:10 PM Subject: RE: [WiX-users] Web Application Name trunacted @ 32 characters Limitation of IIS. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sankaranarayanan Sent: Tuesday, February 06, 2007 2:00 PM To: wix-users@lists.sourceforge.net Cc: [EMAIL PROTECTED] Subject: [WiX-users] Web Application Name trunacted @ 32 characters Hi All, From WXS file - I am creating a Web Application with the following code and using it in another WebVirtualDir node. WebApplication Id='BatchResponseWebApp' Name='My Application for distributing certificates' WebAppPool='DefaultAppPool' / Both Candle and Light run successfully and the MSI is created. When the MSI is executed - its creating the Virtual Directory with this Web application but the Application Name is set to 'My Application for distributing '. (Only the first 32 characters are set.) When I open the MSI with Orca - the IISWebApplication table has for the full - 'My Application for distributing certificates' in the Name column. Please let me know if its an open issue for the MSIs created with WIX V2.0.3620.0 Thanks, Sankaranarayanan MG ___ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com - 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 ___ What kind of emailer are you? Find out today - get a free analysis of your email personality. Take the quiz at the Yahoo! Mail Championship. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk - 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
Re: [WiX-users] FW: Granting Permissions to Log on as a Service through ServiceInstall
Just added this feature request last week. Look at User/@LogonAsService. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zac Emmel Sent: Monday, February 05, 2007 1:16 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] FW: Granting Permissions to Log on as a Service through ServiceInstall (Fwd'ing to the updated contact address) From: Zac Emmel Sent: Monday, February 05, 2007 1:13 PM To: Windows Installer XML Subject: Granting Permissions to Log on as a Service through ServiceInstall Hi all - I believe robmen recently added the capability to grant 'log on as a service' permissions for the ServiceInstall - but I'm not sure where to specify this (nothing stood out to me in the schema posted on source forge). Since Rob is OOF right now, anyone have an idea? Thanks, Zac - 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
Re: [WiX-users] WixUI library support for 3.0
Thanks for your help! It has resolved my problem now. Ning On 2/3/07, Mike Dimmick [EMAIL PROTECTED] wrote: Just a nitpicking correction: .wixlib files _are_ still supported. However, extension DLLs can now carry an embedded .wixlib, and this feature has been used for most of the WiX extended features (i.e. anything beyond what Windows Installer itself provides). Therefore, tasks that required you to provide one of the standard .wixlib files in 2.0 now require you to specify the appropriate extension to light.exe. This doesn't stop you compiling your own .wixlib files if you have common components you want to reuse in many packages. -- Mike Dimmick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Jeff Bean Sent: 03 February 2007 06:45 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] WixUI library support for 3.0 The wixlib libraries are dlls now. Here is what I did: candle -out obj\MyInstall.wixobj -ext WixUIExtension MyInstall.wxs light -cultures:en-us -ext WixUIExtension -loc MyInstall.wxl -out MyInstall.msi obj\MyInstall.wixobj where MyInstall.wxs contains (amongst other stuff): UIRef Id='WixUI_InstallDir' / Property Id='WIXUI_INSTALLDIR' Value='TARGETDIR' / You would change the WixUI_InstallDir to WixUI_Minimal if that is the UI set you want. You also wouldn't need the WIXUI_INSTALLDIR property in that case. MyInstall.wxl contains an override of one of the messages in the user interface: ?xml version=1.0 encoding=utf-8? WixLocalization Culture=en-us xmlns= http://schemas.microsoft.com/wix/2006/localization; String Id=VerifyReadyDlgInstallText Overridable=yes{\WixUI_Font_Normal} will be installed to [TARGETDIR] Click Install to begin the installation. Click Back to review or change any of your settings. Click Cancel to exit the wizard./String /WixLocalization Ning Lin wrote: According to this page, .wixlib is no longer supported: http://sourceforge.net/mailarchive/message.php?msg_id=36313215 I am in need of just a minimal UI as provided by the wix ui library from 2.0. What is the story here for 3.0? I tried to use the 2.0 library with no success, especially also because I needed to link with a .wixout object. Thanks for any pointers! Ning -- View this message in context: http://www.nabble.com/WixUI-library-support-for-3.0-tf3164519.html#a8779936 Sent from the wix-users mailing list archive at Nabble.comhttp://nabble.com/ . - 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 - 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 - 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] いつも大変お世話にな っております。
真島洋子と申します。 このメールが届くかはわかりませんが、最後までお読みください。 突然ですが夜、急に淋しくなったり、泣きそうなくらい悲しくなる事ってありませんか? 男性はあまり無いですよね。 私は、と言うよりも女性の大半は経験しているんです。 結婚している女性は特に。 理由は人それぞれですが、セックスレスだったり、旦那の朝帰りとか暴力だったり…。 やっぱり一番辛いのは帰りが遅い旦那を待ってる時ですね。 でも、みんな淋しい思いなんかしたくないんです!! どうせ淋しい思いするんだったら、楽しい想いでかき消したと思うはずです。 旦那や彼氏に淋しい思いさせられてる女性達でサークルを作ったんです。 私達が楽しい想い出を残す為のサークル!! 始めたて女性は集ったのはいいけれど、男性の集め方がわからなくて。 ネット上に公開されていたメールアドレスにメールをしているんです。 ちなみにメールするのはアナタで5人目です。 今、急いで相手を探してるのは『ひとみさん』と言う女性。 実は私の後輩なんです。昔から男受けも良くて、人見知りもしません。下ネタもいける口です。 でも旦那が海外出張で、今年の9月まで一人ぼっちで淋しいらしいです。 プロフィールと写真だけでも見てあげてください。 http://wwwr.power.ne.jp/oz2/ もし、会ってみようと思ったらメールも送れますので♪ もちろんですが、お金はかかりませんよ。 - 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] Adding values under Uninstall registry key
I know this question is really for Windows Installer gurus in general, so if there is a better place to ask this question, please be so kind as to redirect me. I am not all the familiar yet with Windows Installer and I see that a product install puts keys in the registry under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{ ProductCode} according to the names shown here. http://msdn2.microsoft.com/en-us/library/aa372105.aspx My question has to do with *adding* subkey values under the Uninstall registry key provided there is no conflict with the known keys identified in this URL. Is this a good thing to do? Are there adverse consequences from doing this that might affect the uninstall? -- Harvey Werner PolyServe, Inc. - 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
Re: [WiX-users] SpawnDialog resulting from Next button?
Levi Wilson wrote: It didn't seem to work. My other idea about using the MsiProcessMessage didn't work either. For some reason, it looks like MsiProcessMessage doesn't work from a CA when the CA is invoked from a Control Event? I started a thread on the msi newsgroup ( http://groups.google.com/group/microsoft.public.platformsdk.msi/browse_frm/thread/ab238b41a3c3bdba/f66bc13978b31ab1?lnk=gstq=%22message+box%22rnum=2#f66bc13978b31ab1 http://groups.google.com/group/microsoft.public.platformsdk.msi/browse_frm/thread/ab238b41a3c3bdba/f66bc13978b31ab1?lnk=gstq=%22message+box%22rnum=2#f66bc13978b31ab1) but I haven't gotten anything to work just yet. Thanks for your help. Just from seeing what's involved, I wouldn't be surprised. That it's showing up in the log is a good sign. I'd suggest sequencing the CA elsewhere in the UI sequence. If it works, I'd call it a limitation of control events calling CAs. -- sig://boB http://bobs.org - 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
Re: [WiX-users] x86 and x64 in same wxs / msi ?
Robert Randall wrote: If I mark the package as both 64bit and 32bit will things just work? Assuming of course that I put the correct conditions into the components. Packages can't be both x86 and x64. If you have any 64-bit components (to write to the 64-bit portions of the file system or registry, for example), the package must be marked for the x64 platform. (I'm ignoring Itanium.) -- sig://boB http://bobs.org - 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
Re: [WiX-users] Installing many files with wildcard
Goetz, Russ wrote: I have hundreds of .ico files that I would like to include in my WiX install. There has to be a better way than having hundreds of File elements, one for each .ico file. Could someone tell me how to do this? You can use Tallow (v2) or Heat (v3) to generate your authoring. Windows Installer doesn't support the concept of wildcards -- see, for example, this thread http://sourceforge.net/mailarchive/forum.php?thread_id=31597946forum_id=39978. -- sig://boB http://bobs.org - 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] Placing PDB next to assemblies in the GAC
I am looking for a way to place the symbol files (pdb's) next to assemblies that are installed in the GAC (to get nice stacktraces). Has anybody already tried this? Thanks, Peli - 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] Wix for COM+ object
I can't remove the COM+ object when I uninstall the application so that it fails to re-install the application when it checks that the COM+ object already exists. Anybody could show me how to deal with COM+ object using Wix? Thank you very much!!! Best regards, Moni - 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
Re: [WiX-users] IniFile trouble
Could you please kindly show me an example how to do that? - Original Message - From: Bob Arnson To: Alexander Cc: wix-users@lists.sourceforge.net Correct. MSI needs a Directory table ID; a Property name won't suffice. However, you can provide a placeholder Directory element that's overwritten by the AppSearch action setting a property with the same name.- 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