Re: [WiX-users] Language support
Hi Rob, Thank you for your reply. The code page you suggested worked a treat, it also worked for Vietnamese which is a bonus. Best regards, Dave -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: 23 October 2011 17:56 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Language support CHT and CHS are supported by some code page but I remember Thai being a problem for someone because it doesn't have a codepage... or something like that. You can try 65001 (I think that's UTF-8) but it will have issues if you show any Windows Installer dialogs (wrapping all the UI in Burn could hide those). On Fri, Oct 21, 2011 at 9:22 AM, David Amey da...@creative-engine.co.ukwrote: Hi all, I am creating an installing to support a total of 31 languages. I have created .wxl files in order to inject my custom strings into the installers. Everything works as expected except for the following languages: Vietnam, Thai, Chinese (Taiwan), Chinese (PRC). For each of these languages I get the following error: C:\delivery\Dev\wix35_public\src\ext\UIExtension\wixlib\WelcomeDlg.wx s(26) : error LGHT0311 : A string was provided with characters that are not available in the specified database code page '950'. Either change these characters to ones that exist in the d atabase's code page, or update the database's code page by modifying one of the following attributes: Product/@Codepage, Module/@Codepage, Patch/@Codepage, PatchCreation/@Codepage, or WixLocalization/@Codepage. The error is altered for each of the codepages respectively. I have checked all the codepages for each of the languages above and I believe they are correct (if anyone knows them to be different please correct me!). Is there something I am missing? I am using WIX v3.5, Any help would be gratefully received. Many thanks, David Amey -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching - http://RobMensching.com LLC -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Heat -generate
I was hoping output from heat payloadgroups and containers would help me understand how to create such an animal. Where do you suggest I look for clues on how to take a legacy install and containerize it? Rob Mensching-7 wrote: Heat has lots of gaps. It's an area for us to invest in WiX v4. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Heat-generate-tp6909632p6925183.html Sent from the wix-users mailing list archive at Nabble.com. -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Burn not checking hash
Verifying the signature verifies the hash of the file. It allows you to change the exact file as long as the signature is still valid. The behavior you see is by design. Checking the hash on an unsigned file means it has to be exactly the same file when burned. Not so for a signed file. This seems inconsistent to me. However, this design is fine with me. I've changed my usage to include the version number in the file name. Others seem to do this now anyway and I guess I just have to get with the times, so to speak. Does it make sure the name of signer is the same? I don't understand your comment about failing the local check it should use the download URL. That is what the wixstdba.dll does today. I can't seem to get it to run in debug and couldn't tell for sure how the code worked. That is why these followup questions. You have confirmed how it works. Thanks. I'm pleasantly pleased with Burn yet am struggling to discover its many powerful features. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-not-checking-hash-tp6909643p6925162.html Sent from the wix-users mailing list archive at Nabble.com. -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Error Code 25543 during ExecXmlFile
1) It would be nice if it just logged retries by default and immediately failed only if I configured XmlFile to do so or if the retry loop was exhausted. It would also be nice if the message was more direct and more like a warning by default instead of implying that the install had failed. 2) XmlFile elements are being authored against the web.configs for several AppPools. All the entries previously exist as either defaults (in the NOT Installed case) or as working SQL Server connection strings and paths to XML and DTD files (used for contract processing). As much as possible, we've removed processing from web.config and moved it to the databases, but that just makes the connection string updated in the web.config all the more important. These re-try errors are not frequent, but because of the tenor of the error message (implying internal install failure), they're very disconcerting to support and install personnel. Downing/resetting IIS7 is not an option as this software provides low level services for various banking/credit union software and it needs to be up 24/7. Even a reboot is not considered acceptable. 3) Looking at XmlConfig, it appears I would first have to delete the default elements and then re-add them. It seems to me I'd just be doubling the number of transactions and giving IIS7 twice as many opportunities to rock the boat. If XmlConfig supported just updating existing entries, it would be a much easier choice. -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Sunday, October 23, 2011 11:58 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Error Code 25543 during ExecXmlFile 1. The code could be changed. 2. Would have to see how you're using XmlFile to know for sure. Have you considered switching to XmlConfig? It may be a bit more robust... I haven't looked in a while. 3. Yeah, IIS is very annoying like that. It see changes to the files and starts reading the files itself locking out further changes. Took us forever to get the stupid IIS Custom Actions to behave mostly well. On Thu, Oct 20, 2011 at 1:05 PM, John Cooper jocoo...@jackhenry.com wrote: Getting the following error randomly on fresh installs and upgrades during testing: ExecXmlFile: Configuring Xml File: some path\Web.config The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 25543. The arguments are: -2147024864, some path\Web.config, MSI (s) (D0!44) [14:28:50:918]: Product: some product -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 25543. The arguments are: -2147024864, some path\Web.config, ExecXmlFile: Unable to save changes to XML file: some path\Web.config, retry attempt: 1 1) Is there any way to suppress or trap these retry errors. It appears that the XmlFile CA retries the save after the sharing violation, and it almost always succeeds on the second attempt; 2) Looking at the code, I get the impression that I should be getting Abort, Retry, or Ignore, but the dialog that displays has only an OK button. OK seems to function as Retry. 3) The culprit appears to be IIS7 contending for the web.config. Any tricks to avoid this. The edit is updating the connection string for the database, and it's got to be done or the service won't startup/run. -- John Merryweather Cooper Jack Henry Associates, Inc. (Premier Tech, Inc.) Build Install Engineer - jXchange Office: 913-341-3434 x791011 jocoo...@jackhenry.commailto:jocoo...@jackhenry.com 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. -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching - http://RobMensching.com LLC -- The demand for IT networking professionals continues to grow, and the
[WiX-users] Leave an entire feature behind at uninstall
Hi, As part of a setup logic, I need to leave behind a big chunk of resources on disk at uninstall. The resources are data files and I have been asked to leave them behind at uninstall. When the setup is run again on the machine where this data is left behind, the user has the option to use the existing data (so it will not get installed again) or install the data (over write the data or install it to a new location). Can someone recommend the approach I should take to solve this? * A feature that installs this data. Hide the feature at uninstall so that it doesn't get removed. But this orphans components and could potentially cause issues, correct? * Set the component bit(msidbComponentAttributesPermanent) to not uninstall to every component of the data feature (there are MANY components for this data - so I am worried about this) * Install data to a different location all the time. Copy the data to the data location based on the user choice (Using a custom action) Thanks! Uma- -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to display the list of features to be installed
Dear All, We would like to display before entering the Execute sequence the list of features that the user selects to install, but do not know what the best approach would be. Specifically, the implementation involves getting the feature install status and organizing the features to install into a list. If you have any idea, please let us know. Thanks a lot, Miaohsi *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/en/legal/default.aspx. You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail recept...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Burn: bootstrap a single MSI, not showing BA UI at all
I'm just starting to use Burn and was wondering if it's possible to use it to simply 'wrap' an MSI as a .exe and have it not show any of its own UI? That is, launching the executable should only show the internal MSI interface. Is that possible using the standard BA, or would I have to write my own? -- Bruce Cran -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] WcaCaScripts vs. CustomActionData
In what kind of situations would you recommend using the wcautil custom action scripts (WcaCaCreateScript, etc...) instead of serializing data into the CustomActionData property? Thanks, Bill -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WcaCaScripts vs. CustomActionData
On 24-Oct-11 16:02, Bill Tutt wrote: In what kind of situations would you recommend using the wcautil custom action scripts (WcaCaCreateScript, etc...) instead of serializing data into the CustomActionData property? Only when an immediate custom action cannot determine the machine state. The only reason we created that scheme is for IIS, which locked down their management so tightly that non-admins couldn't query it. Hopefully nobody else is so extreme.g -- sig://boB http://joyofsetup.com/ -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Add/Remove Programs doesn't refresh sometimes
On 21-Oct-11 19:52, john.burak wrote: Anyone know, is this perhaps a minor bug in the UI/dialogs, Candle, or Light? It might make my QA person happy to know it's been reported ;) Nope. ARP/PF doesn't do a wholesale refresh of the program list for MSI packages. When you click Uninstall and it succeeds, it just deletes that one entry. -- sig://boB http://joyofsetup.com/ -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Replacing.Netv.3Assemblieswith.Net v.4Assembliesduring Major Upgrade
On 19-Oct-11 13:36, Gregory Swanson wrote: But maybe you are right about the components. The files are in the same directory location, but the IDs and GUIDs of the components have changed. If that is the issue, it would be difficult to fix because we create the Wix code using an automated script, and when the file list changes the component IDs and GUIDs get incremented. Your tool violates the component rules which can break even major upgrades. -- sig://boB http://joyofsetup.com/ -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Executing an application after installation
On 19-Oct-11 08:27, Thomas Due wrote: However, I still need to know how I pass a command-line argument to the application I run on ExitDialog exit. That's not supported by shell execute. Use CustomAction/@FileKey,@ExeCommand. -- sig://boB http://joyofsetup.com/ -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Heat -generate
On 24-Oct-11 10:10, David L. Beckwith wrote: I was hoping output from heat payloadgroups and containers would help me understand how to create such an animal. Where do you suggest I look for clues on how to take a legacy install and containerize it? Maybe you could explain what containerize means...g -- sig://boB http://joyofsetup.com/ -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Burn: bootstrap a single MSI, not showing BA UI at all
You'd need to write your own. The wixstdba is not about showing the MSI UI. I bet if you wrote one some other people would like to use it. it is definitely possible since we added MsiPackage/@DisplayInternalUI (or some attribute named similar to that). On Mon, Oct 24, 2011 at 11:28 AM, Bruce Cran br...@cran.org.uk wrote: I'm just starting to use Burn and was wondering if it's possible to use it to simply 'wrap' an MSI as a .exe and have it not show any of its own UI? That is, launching the executable should only show the internal MSI interface. Is that possible using the standard BA, or would I have to write my own? -- Bruce Cran -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching - http://RobMensching.com LLC -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Leave an entire feature behind at uninstall
1. Don't try to leave a Feature behind. It'll drive you crazy. 2. I'd probably try this... or use no GUID if you don't want to manage the data at all. 3. Custom actions are an admission of failure: http://robmensching.com/blog/posts/2007/8/17/Zataoca-Custom-actions-are-generally-an-admission-of-failuresmile/ On Mon, Oct 24, 2011 at 11:12 AM, Uma Harano uhar...@esri.com wrote: Hi, As part of a setup logic, I need to leave behind a big chunk of resources on disk at uninstall. The resources are data files and I have been asked to leave them behind at uninstall. When the setup is run again on the machine where this data is left behind, the user has the option to use the existing data (so it will not get installed again) or install the data (over write the data or install it to a new location). Can someone recommend the approach I should take to solve this? * A feature that installs this data. Hide the feature at uninstall so that it doesn't get removed. But this orphans components and could potentially cause issues, correct? * Set the component bit(msidbComponentAttributesPermanent) to not uninstall to every component of the data feature (there are MANY components for this data - so I am worried about this) * Install data to a different location all the time. Copy the data to the data location based on the user choice (Using a custom action) Thanks! Uma- -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching - http://RobMensching.com LLC -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Replacing.Netv.3Assemblieswith.Net v.4Assembliesduring Major Upgrade
And the Windows Installer will not treat you well if you violate the component rules: http://robmensching.com/blog/posts/2003/10/18/Component-Rules-101 . On Mon, Oct 24, 2011 at 8:25 PM, Bob Arnson b...@joyofsetup.com wrote: On 19-Oct-11 13:36, Gregory Swanson wrote: But maybe you are right about the components. The files are in the same directory location, but the IDs and GUIDs of the components have changed. If that is the issue, it would be difficult to fix because we create the Wix code using an automated script, and when the file list changes the component IDs and GUIDs get incremented. Your tool violates the component rules which can break even major upgrades. -- sig://boB http://joyofsetup.com/ -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching - http://RobMensching.com LLC -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WcaCaScripts vs. CustomActionData
FYI: I was a very unhappy setup developer when I had to create those functions. They go against all good practices. Avoid at all costs. On Mon, Oct 24, 2011 at 8:33 PM, Bob Arnson b...@joyofsetup.com wrote: On 24-Oct-11 16:02, Bill Tutt wrote: In what kind of situations would you recommend using the wcautil custom action scripts (WcaCaCreateScript, etc...) instead of serializing data into the CustomActionData property? Only when an immediate custom action cannot determine the machine state. The only reason we created that scheme is for IIS, which locked down their management so tightly that non-admins couldn't query it. Hopefully nobody else is so extreme.g -- sig://boB http://joyofsetup.com/ -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching - http://RobMensching.com LLC -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users