Re: [WiX-users] Avoiding hard-coding the path to the WiX SDK when using the WDK
Why not just copy the header files to your own folder? Best regards, Sebastian Brand sebast...@instyler.com Geisenfelder Str. 53a 85053 Ingolstadt, Germany EU VAT ID: DE219712370 Phone: +49 841 4544567 www.instyler.com - Instyler Setup: Create WiX-based MSI installations, elegantly. www.traveladdin.com - Travel Add-in for Outlook: Add travel and return times to your calendar. www.sebastianbrand.com - blogging about software development, deployment and productivity. -Original Message- From: Bruce Cran [mailto:br...@cran.org.uk] Sent: Saturday, January 16, 2010 11:10 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Avoiding hard-coding the path to the WiX SDK when using the WDK On Sat, 16 Jan 2010 01:51:45 -0800 Blair os...@live.com wrote: Install WiX to a different folder? I guess that's probably the only solution. I was hoping to avoid that since the directory under Program Files is the default location, and anyone who wants to build my project will need to have a custom installation too. -- Bruce Cran -Original Message- From: Bruce Cran [mailto:br...@cran.org.uk] Sent: Friday, January 15, 2010 5:06 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Avoiding hard-coding the path to the WiX SDK when using the WDK I'm using the WDK to build a C++ custom action DLL that gets included in my MSI that I create using WiX 3.5. The problem I've come across is that the WiX headers are located in C:\Program Files (x86)\Windows Installer XML v3.5\SDK\inc, and the WDK doesn't appear to recognise long filenames. I've tried adding $(WIX)SDK\inc both with and without quotes to the 'sources' file, but the only thing that works is using C:\PROGRA~2\WINDOWS~1.5\SDK\doc. I'd rather not use that because it'll be wrong on 32-bit Windows. Does anyone know a way around this to avoid hard-coding paths that other developers are going to have to change for their machines? -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] ICE61: Upgrade.VersionMax format is wrong
Have you tried it without the .0 at the end? Best regards, Sebastian Brand sebast...@instyler.com Geisenfelder Str. 53a 85053 Ingolstadt, Germany EU VAT ID: DE219712370 Phone: +49 841 4544567 www.instyler.com - Instyler Setup: Create WiX-based MSI installations, elegantly. www.traveladdin.com - Travel Add-in for Outlook: Add travel and return times to your calendar. www.sebastianbrand.com - blogging about software development, deployment and productivity. -Original Message- From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] Sent: Friday, January 15, 2010 04:23 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] ICE61: Upgrade.VersionMax format is wrong I'm getting the following error from light: error LGHT0204: ICE61: Upgrade.VersionMax 3.3.34567.0 format is wrong The ProductVersion Property documentation http://msdn.microsoft.com/en-us/library/aa370859(VS.85).aspx tells me that the first three fields have the following maximums: 255, 255, 65535. It also tells me that a fourth field is ignored if provided. I can't figure out how the format is wrong. I tried building the installer with the third and fourth fields reversed (3.3.0.34567) and I didn't get any complaints from light. Can anybody explain why 3.3.34567.0 is wrong? Edwin G. Castro Software Developer - Staff Electronic Banking Services Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.comhttp://www.fiserv.com/ P Please consider the environment before printing this e-mail -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Testing Framework
The link points to ICE testing. I assume the author is looking for some testing method that includes the actual installation/repair/remove actions. I currently use a couple of VMs to test created MSI. To check if the components get installed correctly I normally have a test program. E.g. if you want to test that a custom action works, I have an additional program that tests if the output the custom action creates works. Still a lot of manual steps though... Best regards, Sebastian Brand sebast...@instyler.com Geisenfelder Str. 53a 85053 Ingolstadt, Germany EU VAT ID: DE219712370 Phone: +49 841 4544567 www.instyler.com - Instyler Setup: Create WiX-based MSI installations, elegantly. www.traveladdin.com - Travel Add-in for Outlook: Add travel and return times to your calendar. www.sebastianbrand.com - blogging about software development, deployment and productivity. -Original Message- From: Kyle Huey [mailto:ksh...@ufl.edu] Sent: Thursday, January 14, 2010 04:18 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Testing Framework http://msdn.microsoft.com/en-us/library/aa369554%28VS.85%29.aspx On Wed, Jan 13, 2010 at 12:05 PM, Andrew Faust afa...@microsoft.com wrote: Is there an existing framework for creating automated tests for installers built with WiX? Thanks, Andrew Faust -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] short name of the default windows installer directory and the status of burn
Thanks for the clarification, I thought the shortname was always used. So in real life it's probably WINDOW~1.5 on most machines ( try DIR /X ) But you can't be sure... Short file name generation might even be disabled. Best regards, Sebastian Brand sebast...@instyler.com Geisenfelder Str. 53a 85053 Ingolstadt, Germany EU VAT ID: DE219712370 Phone: +49 841 4544567 www.instyler.com - Instyler Setup: Create WiX-based MSI installations, elegantly. www.traveladdin.com - Travel Add-in for Outlook: Add travel and return times to your calendar. www.sebastianbrand.com - blogging about software development, deployment and productivity. -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Tuesday, January 12, 2010 12:46 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] short name of the default windows installer directory and the status of burn On 1/11/2010 11:50 AM, Sebastian Brand (Instyler Software) wrote: The short name is generated randomly during the build of WiX installation. In my Wix3.5 install it's nzj-aqro (in Program Files folder) 1. It's not random: it's a stable hash, generated from the path information so it doesn't change. 2. MSI uses the provided short names for directories and files only if the system doesn't support long file names. Otherwise, the file system generates the short name. So for Sean, the answer is: impossible to say, because it varies on every system. That's why MSI provides the [#fileid], [!fileid] and [$componentid] Formatted string substitutions. -- sig://boB http://joyofsetup.com/ -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] The cancel installation string
Hello Brian, The CancelDlgText is used on the CancelDlg. When removing the product using the Maintenance Mode it will show the CancelDlg as you described. This is probably also the reason why the ActionText on the progress dialog for most installations is just The installer is performing the requested actions. :-) If the users removes the product using Control panel, no Cancel dialog/confirmation is shown. A trick to change the text could be using a property instead of the word installation. E.g Are you sure you want to cancel [ProductName] [INSTALLERACTION]. Define the INSTALLERACTION property with installation as default value. Then add a SetProperty custom action to set the INSTALLERACTION property to uninstallation if the REMOVE property is set (= uninstalling). Additionally you may set it to reinstallation if REINSTALL is set. Best regards, Sebastian Brand sebast...@instyler.com Geisenfelder Str. 53a 85053 Ingolstadt, Germany EU VAT ID: DE219712370 Phone: +49 841 4544567 www.instyler.com - Instyler Setup: Create WiX-based MSI installations, elegantly. www.traveladdin.com - Travel Add-in for Outlook: Add travel and return times to your calendar. www.sebastianbrand.com - blogging about software development, deployment and productivity. -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Tuesday, January 12, 2010 23:04 To: wix-users@lists.sourceforge.net Subject: [WiX-users] The cancel installation string Our QA complains this: Reinstall the same build, then choose the Remove. During Remove, hit the Cancel button. The dialog box shows Are you sure you want to cancel ProductX installation? which our QA think it should be some like Are you sure you want to cancel ProductX removing?. Is there a way to satisfy our QA? I searched the language file and found: String Id=CancelDlgTextAre you sure you want to cancel [ProductName] installation?/String I doubt if we could change it as I thought the string CancelDlgText is used everywhere? Any ideas? Many thanks! /Brian __ Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] short name of the default windows installer directory and the status of burn
Hi Sean! The short name is generated randomly during the build of WiX installation. In my Wix3.5 install it's nzj-aqro (in Program Files folder) Burn is in hot alpha but working I guess :) You can try it in the current WiX 3.5 release. Best regards, Sebastian Brand sebast...@instyler.com Geisenfelder Str. 53a 85053 Ingolstadt, Germany EU VAT ID: DE219712370 Phone: +49 841 4544567 www.instyler.com http://www.instyler.com/ Travel add-in for Outlook http://www.traveladdin.com/ : Add travel and return times to your calendar. Instyler Setup http://www.instyler.com/ : Create WiX-based MSI installations, elegantly. Sebastianbrand.com http://www.sebastianbrand.com/ : blogging about software development, deployment and productivity -Original Message- From: sean farrow [mailto:sean.far...@seanfarrow.co.uk] Sent: Sunday, January 10, 2010 15:26 To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] short name of the default windows installer directory and the status of burn Hi: Does anyone know what the default short name for the default windows installer xml directory is? Also what is the current state of burn, is this usable as yet-if not when is it likely to be? Cheers Sean. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list mailto:WiX-users@lists.sourceforge.net WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to add a custom dialog in uninstall process using Wix
You may only show dialogs during uninstallation via a custom action, the dialogs from the msi won't be shown. Best regards, Sebastian Brand sebast...@instyler.com Geisenfelder Str. 53a 85053 Ingolstadt, Germany EU VAT ID: DE219712370 Phone: +49 841 4544567 www.instyler.com http://www.instyler.com/ Travel add-in for Outlook http://www.traveladdin.com/ : Add travel and return times to your calendar. Instyler Setup http://www.instyler.com/ : Create WiX-based MSI installations, elegantly. Sebastianbrand.com http://www.sebastianbrand.com/ : blogging about software development, deployment and productivity -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: Thursday, January 07, 2010 10:52 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] How to add a custom dialog in uninstall process using Wix Hi, I want to add a dialog box into my installer's uninstalling process. custom dialog have a check box, which will ask user to delete/keep user setting data of the application. User setting data files usually created in application installation directory after installing the application. Any help would be appreciated. Thanks, Sanjay Rao -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list mailto:WiX-users@lists.sourceforge.net WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] when files have been actually removed from install directory during uninstall process
Whereever you want, use add Installed as condition. This tells the installer to run the customaction if the application is being uninstalled. Best regards, Sebastian Brand sebast...@instyler.com Geisenfelder Str. 53a 85053 Ingolstadt, Germany EU VAT ID: DE219712370 Phone: +49 841 4544567 www.instyler.com http://www.instyler.com/ Travel add-in for Outlook http://www.traveladdin.com/ : Add travel and return times to your calendar. Instyler Setup http://www.instyler.com/ : Create WiX-based MSI installations, elegantly. Sebastianbrand.com http://www.sebastianbrand.com/ : blogging about software development, deployment and productivity -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: Friday, January 08, 2010 06:34 To: General discussion for Windows Installer XML toolset.; Windows Installer XML toolset developer mailing list Subject: [WiX-users] when files have been actually removed from install directory during uninstall process Hi, I want to execute a custom action during uninstall process. Where should I put this in installexecutesequence ? Regards, Sanjay Rao -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list mailto:WiX-users@lists.sourceforge.net WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Is there a way to install an https-bound web site with an SSL certificate that is already on the box?
Hi Rich, I think the Certificate tags are for installing a new certificate, not using an existing. Rob? J Best regards, Sebastian Brand sebast...@instyler.com Geisenfelder Str. 53a 85053 Ingolstadt, Germany EU VAT ID: DE219712370 Phone: +49 841 4544567 www.instyler.com http://www.instyler.com/ Travel add-in for Outlook http://www.traveladdin.com/ : Add travel and return times to your calendar. Instyler Setup http://www.instyler.com/ : Create WiX-based MSI installations, elegantly. Sebastianbrand.com http://www.sebastianbrand.com/ : blogging about software development, deployment and productivity -Original Message- From: Rich Daniel [mailto:rdan...@microsoft.com] Sent: Friday, January 08, 2010 01:01 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Is there a way to install an https-bound web site with an SSL certificate that is already on the box? I saw one thread on this in the archives with no response. So, I figured the time may be ripe to ask again. I have an installation for a web site that is working really well so far except for this one little snag. I've plumbed everything in for the site I install to use https except for the certificate which - for security reasons - is already installed on the box by someone else. The install runs fine, but the web site doesn't work until I go into IIS and goose the authentication (or the binding if I'm in IIS 7) to attach it to the certificate. I've been trundling though the 3.0 docs for the IIS extensions and I've seen the Certificate and CertificateRef elements. I tried to be cute with these to see if I could define a Certificate with just the required attributes (Name, StoreLocation, and StoreName). I was hoping that would be enough to point the MSI in the direction of the existing certificate. But alas, the compiler barked at me for not having either BinaryKey or CertificatePath defined. So, my question is: Is there something I'm missing or perhaps a workaround to this situation? Thanks - Rich Daniel -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list mailto:WiX-users@lists.sourceforge.net WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to add a custom dialog in uninstall process using Wix
Thanks for this detailed explanation. Sanjay, you'll have to create a custom action that shows your dialog and then run this custom action from the MSI. The dialog itself is within the custom action DLL. So when you create the custom action from the C++ template, just add a Windows form dialog there. This is not a dialog from the MSI file. Best regards, Sebastian Brand sebast...@instyler.com Geisenfelder Str. 53a 85053 Ingolstadt, Germany EU VAT ID: DE219712370 Phone: +49 841 4544567 www.instyler.com http://www.instyler.com/ Travel add-in for Outlook http://www.traveladdin.com/ : Add travel and return times to your calendar. Instyler Setup http://www.instyler.com/ : Create WiX-based MSI installations, elegantly. Sebastianbrand.com http://www.sebastianbrand.com/ : blogging about software development, deployment and productivity -Original Message- From: Blair [mailto:os...@live.com] Sent: Thursday, January 07, 2010 23:28 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] How to add a custom dialog in uninstall process using Wix Dialogs (and dialog sequences) can always be easily added to be shown during uninstallations (that isn't usually the problem). It is done the same way dialog sequences are added to installations and to change transactions. The issue comes from the following: There are 4 levels of UI that can be requested for Windows Installer transactions, and different tools that may interact with your MSI will request different ones at different times. They are (see http://msdn.microsoft.com/library/aa372391.aspx http://msdn.microsoft.com/library/aa372391.aspx): * Full UI (shows everything) * Reduced UI (no modal dialogs - you shouldn't stop and wait for responses to any questions). Modal error dialogs are acceptable, however. * Basic UI (only built-in dialogs shown, no dialogs from the MSI are to be shown) * None (no UI at all) Windows Installer doesn't care which level is used when, but it is expected by all tools that the UI levels will be honored. Creating and showing dialogs from custom actions is one sure way of violating those levels and breaks administrative tools that work with Windows Installer packages, especially in corporate scenarios. The reason this is an issue is this: * When you double-click an MSI file from Windows Explorer, msiexec.exe is called with just the file as a command-line parameter. MsiExec defaults to Full UI. * When you select your installation from the Programs and Features window (aka Add/Remove Programs) and select an operation, what you get depends on the operation: * Modify: Full UI * Repair: Basic UI * Remove: Basic UI (after showing its own dialog box for confirmation) Yes, there is an UninstallString value in the registry for your installation, and if you run that string you will get Full UI, however, for MSI packages the Programs and Features window ignores that registry key. The UI level from that window (which is how most removals are performed) cannot be configured. Thus, most removals can't stop and ask the user for removal instructions/guidance without breaking the UI rules above and causing problems with GPO and other related tools. -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: Thursday, January 07, 2010 4:01 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add a custom dialog in uninstall process using Wix I am not aware, how to show dialogs via custom actions. Please help with some sample code. Thanks Regards, Sanjay Rao Sebastian Brand (Instyler Software) wrote: You may only show dialogs during uninstallation via a custom action, the dialogs from the msi won't be shown. Best regards, Sebastian Brand mailto:sebast...@instyler.com sebast...@instyler.com Geisenfelder Str. 53a 85053 Ingolstadt, Germany EU VAT ID: DE219712370 Phone: +49 841 4544567 http://www.instyler.com www.instyler.com http://www.instyler.com/ http://www.instyler.com/ Travel add-in for Outlook http://www.traveladdin.com/ http://www.traveladdin.com/ : Add travel and return times to your calendar. Instyler Setup http://www.instyler.com/ http://www.instyler.com/ : Create WiX-based MSI installations, elegantly. Sebastianbrand.com http://www.sebastianbrand.com/ http://www.sebastianbrand.com/ : blogging about software development, deployment and productivity -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: Thursday, January 07, 2010 10:52 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] How to add a custom dialog in uninstall
Re: [WiX-users] icon change of the installer
Hello, Note that the .msi file type does not have an icon, the icon you see in Windows Explorer is from msiexec.exe of the local system. It's not in the .msi file itself. You can only change that icon if you use an .exe file instead of the .msi Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Blog: www.sebastianbrand.com -Original Message- From: Sascha Beaumont [mailto:sascha.beaum...@gmail.com] Sent: Monday, January 04, 2010 05:46 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] icon change of the installer No, you would need to create your own external UI and bootstrapper. On Wed, Dec 30, 2009 at 4:17 PM, Sanjay Rao s...@noida.interrasystems.com wrote: Hi All, I have two issues for which I have not found any solution- 1. I need to change the icon of created MSI file using WIX. 2. I need to change the msi icon shown in title bar of dialogs during setup process. Can anybody help me on this ? Thank you very much in advance. If it is not possible using WIX, then is there any way to wrap my msi installer into an executable having a customized icon and unchanged GUI ? Regards, Sanjay Rao -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Overwrite property only if it was not set on command line
There's no option to find out if the property was set using the command line. You'll have to handle your defined default value for the property instead. For example, set the default value of your property PROPERTY_RUNCA to Secret. For the custom action, set a condition to PROPERTY_RUNCA=Secret. Now, if the user sets the property to anything using the command line, the custom action won't be executed. Except if the user knows that Secret is the only valid value of course :) Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Blog: www.sebastianbrand.com -Original Message- From: Alex Ivanoff [mailto:alex.ivan...@shavlik.com] Sent: Monday, January 04, 2010 07:24 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Overwrite property only if it was not set on command line I have a property that has a default value. I want to change this property in custom action only if this property was not set on command line. How do I do this? -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Conditional installation of a feature
Do not use 0 and 1 as values as 0 is recognizes as uninitialized. Have you tried strings like yes and no? Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Blog: www.sebastianbrand.com -Original Message- From: Sudripta Nandy [mailto:sudrip...@sarangsoft.co.in] Sent: Monday, December 21, 2009 15:11 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Conditional installation of a feature Hi, I want to install a feature depending on the user's choice. I have a property 'MYPROPERTY' whose default value is '0'. If the user checks a checkbox, I am setting that property value to '1' and installing that feature. I have the feature element as below: Feature Id='Complete' Title='My Product' Level='1' ComponentRef Id='ExeComponent' / Feature Id='MyDoc' Level='1' ComponentRef Id='DocComponent' / Condition Level='0'MYPROPERTY = 0/Condition /Feature /Feature The problem is that the feature is never getting installed. But, if I set the default value of 'MYPROPERTY' as '1', it gets installed. Please let me know what am I doing wrong. Thanking You, With Regards, // Sudripta Nandy -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Simplified Chinese version of WiXUI?
There is a wixui_zh-cn.wxl for Wix2, but not for Wix3. You could use a converter like http://www.khngai.com/chinese/tools/convert.php Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Blog: www.sebastianbrand.com -Original Message- From: Tony [mailto:yellowjacketl...@gmail.com] Sent: Tuesday, December 15, 2009 16:34 To: WiX Users Subject: [WiX-users] Simplified Chinese version of WiXUI? Is there a Simplified Chinese version of the WiXUI available? If not, will there be one soon? -- Tony -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] _Validation table
I think you need to keep this table to ensure others your app was ICE validated, I remember this was part of the Designed for Windows requirement or so. Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Blog: www.sebastianbrand.com -Original Message- From: Piotr Fusik [mailto:pi...@fusik.info] Sent: Wednesday, December 02, 2009 10:05 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] _Validation table A quick look with a hex editor into my MSI reveals that this table is 50 kB or so. I'd be happy to drop it if it's optional, preferably with a WiX option. End users won't read Descriptions anyway, why are they so long then? Piotr Blair os...@live.com wrote: Besides what is available on MSDN (e.g. http://msdn.microsoft.com/library/aa372930.aspx) what more do you need to know? -Original Message- From: Piotr Fusik [mailto:pi...@fusik.info] Sent: Tuesday, December 01, 2009 2:39 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] _Validation table Hello, Could you please explain what's the purpose of the _Validation table in MSI files? How is the long Description column used? How much overhead does this table add to my MSI and how can I reduce it? Thank you, Piotr -- --- --- -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- --- - Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Hyperlink styled buttons in wix3
You can create an image that looks like a hyperlink and use that on the button. Also note, that MSI 5 supports hyperlink controls. Unfortunally it's not backward compatible, the UI cannot even be launched anymore, so the whole installation must be MSI 5 only... Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Blog: www.sebastianbrand.com -Original Message- From: nandini sa [mailto:nandini...@gmail.com] Sent: Monday, November 23, 2009 10:49 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Hyperlink styled buttons in wix3 Hi, I have used a push button and launch the browser with a specified URL using the ShellExecute custom action. Everything works fine and the text is displayed in blue font with underline similar to a hyper link. However, the button styling is very prominent and there is nothing I could do to conceal it. Can any one please let me know if the button is customizable in wix? And if yes, how to go about doing this? Regards, - naanan -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Reg Error code : 1334
How's the service pack deployed? Is it a patch (.msp) that the user has to run manually? The 1334 error normally occurs if a file cannot be found in the source msi/cab file. I could imagine that some users are running the cached msi file instead of the original msi file to apply the patch file (service pack). Maybe. Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Blog: www.sebastianbrand.com -Original Message- From: Sunkesula, Srivardhan [mailto:srivardhan.sunkes...@netapp.com] Sent: Monday, November 23, 2009 09:48 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Reg Error code : 1334 Hi, I am using WIX 2.0. And recently we gave a service pack for the product. It was successfully installed in most of the sites. But it failed for a couple of customers with below mentioned error: Error 1334. The file 'file_acqconf_127' cannot be installed because the file cannot be found in cabinet file 'PCW_CAB_Patch101'. Can anyone let me know what might be the problem here? Thanks Regards, Srivardhan. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] what is a wixpdb
Have you tried Clean Solution / Rebuild All? Does the Compiler output say something about unchanged project? Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Blog: www.sebastianbrand.com -Original Message- From: spsingam [mailto:siva.poobalasin...@gmail.com] Sent: Monday, November 23, 2009 23:20 To: wix-users@lists.sourceforge.net Subject: [WiX-users] what is a wixpdb hi I am using Wix 3.0.5419.0 with Visual Studio 2008 and Votive. I use Build, rebuild and clean often, and have come to notice that when i do regular build often, the msi does not seem to get changed correctly as the time stamp does not change. But when i do delete the contents of the release folder for the msi, the changes make it way. Are they anyone on this forum having similar issues? or know of any solutions ? i am using Window 7 64 bit. Regards. -- View this message in context: http://n2.nabble.com/what-is-a-wixpdb- tp4054423p4054423.html Sent from the wix-users mailing list archive at Nabble.com. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to prevent %USERPROFILE% be expanded
Unfortunally, Windows Installer resolves this when creating the shortcut: From the doc: The references are resolved to an actual path when the installer resolves the working directory to create the shortcut. - http://msdn.microsoft.com/en-us/library/aa371847%28VS.85%29.aspx Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Blog: www.sebastianbrand.com -Original Message- From: Hotmail [mailto:zhuxian...@msn.cn] Sent: Monday, November 23, 2009 04:25 To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] How to prevent %USERPROFILE% be expanded Hi All, I want to create a shortcut and installed as per-machine. Add I set the shortcut's working directory to %USERPROFILE%, with intension to set the Start In with different values under differ users. Unfortunately this value was resolved and wrote same value for all user. Any ideas how can I hold this value not be resolved or expand? Thanks, Danny -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Feature selection and CustomAction commandline
If you have a radio button group, we don't use the property you have associated with the radiobutton group in the commandline. How are you setting the InstallLevel using the radio buttons? Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com On 18.11.2009, at 18:19, Arun Perregatturv wrote: Hi, I created a custom dialog for feature selection that has 3 radio button options - 1. Server 2. Workstation 3. DB Server I would like to know which of the feature the user has selected in order to run a customaction with a commandline value. Code looks something like this Feature Id=WorkstationFeature Title=CardAccess Workstation Level=1 Feature Id=ServerFeature Title=Server Level=2 Feature Id=DBServerFeature Title=DB Server Level=3 Now, UI UIRef Id=caWixUI_Mondo/ Publish Dialog=ExitDialog Control=Finish Event=DoAction Value=LaunchApplicationWIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed/Publish /UI CustomAction Id=ExecuteTools Directory=APPLICATION_TOOLS_DIRECTORY ExeCommand=[#caAutoCreateUpdateDB.exe] I have to add commandline value here based on the selection (feature 1 = 1, feature 2 = 2 or feature 3 = 3. How do I do that. Return=asyncWait / Property Id=WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT Value=Launch Access/ Property Id=WixShellExecTarget Value=[#ConsoleApp.exe] / CustomAction Id=LaunchApplication BinaryKey=WixCA DllEntry=WixShellExec Impersonate=yes/ InstallExecuteSequence Custom Action=ExecuteTools After =InstallFinalizeNOT Installed/Custom RemoveExistingProducts After=InstallFinalize/ /InstallExecuteSequence Arun Perregattur -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to retrieve ProductCode outside MSI
Untested but'll you get the idea: Set installer = Wscript.CreateObject(WindowsInstaller.Installer) Set database = installer.OpenDatabase(c:\path\toyour\msifile.msi, 0) query = SELECT 'Value' FROM Property WHERE Property='ProductCode' Set view = database.OpenView(query) view.Execute Set record = view.Fetch WScript ProductCode is record.StringData(1) Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com On 19.11.2009, at 11:42, Jiang, Chunyan (GE Healthcare) wrote: Hi Rob, Thanks for your reply. I got some information for other person that I can use MsiOpenDatabase/MsiViewExecute But I have no idea how to use it. Could you please give me some example? Regards, Chunyan -Ursprüngliche Nachricht- Von: Rob Mensching [mailto:r...@robmensching.com] Gesendet: Donnerstag, 19. November 2009 07:19 An: General discussion for Windows Installer XML toolset. Betreff: Re: [WiX-users] How to retrieve ProductCode outside MSI Outside the MSI you need to use the SQL statements to query the Property table. On Wed, Nov 18, 2009 at 7:26 AM, Jiang, Chunyan (GE Healthcare) chunyan.ji...@ge.com wrote: Hi, I developed one app.msi to intall one app. And I need to develop one bootstraper.exe to retrieve the ProductCode of previously installed app. Since it is multiple instance installation, there will be more than one ProductCode. I have used some MSI functions to retrieve the property when developing the installer with WiX, like: ::MsiGetPropertyW(hInstaller, LPREVIOUSFOUND, ProductIDbuffer , length1); It is one custom action dll in WiX project. Here, MSIHANDLE hInstaller will pass the handle to the function. It is inside the MSI project. So it is easy. But how to get such handle outside the MSI project? I found there is one function: UINT MsiGetProductCode( LPCTSTR szComponent, LPTSTR lpProductBuf ); It uses component code to retrieve product code. I have the component code in hand. However, there will be more installation, which use the same component code. Which one will be returned? Could some one help me? Chunyan -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching - http://RobMensching.com LLC -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Compiling Wix in CommandLine with CustomAction Code
Can you post the .wxs with the ConfigureIIS customaction tags? Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com On 19.11.2009, at 08:36, Kusuma Sudheer Kumar (Tata Consultancy Services) wrote: I developed Wix Code with embedding Custom action developed in C# As Per Requirement , Building the application in command line a. Candle.exe syntax: Candle -out objectFile sourceFile Candle -out E:\Test\MyApp.wixobj E:\Test\MyApp.wxs This generates the Wixobj b. Light.exe syntax Light -out outputFile objectFile Light -out E:\Test\Myapp.msi E:\Test\Myapp.wixobj This is throwing the error as Unresolved reference to the symbol CustomAction:ConfigureIIS ConfigureIIS is the Custom action I was using in wxs file Anyone encountered this error before. Thanks, Sudheer BGE Build Team (X 34482) -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Feature selection and CustomAction commandline
The INSTALLTYPE property will contain the values CompleteServer, CompleteDatabaseServer or CompleteWorkstation after the selection was made. You can either change these values to 1,2,3 or create three SetProperty control events, one for each install type: Publish Property=NEWPROP Value=1INSTALLTYPE=CompleteServer/Publish Put these Publish elements before the first Publish element of the Next-Button. Then use the [NEWPROP] in your ExeCommand attribute for running the custom action. Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Blog: www.sebastianbrand.com On 19.11.2009, at 14:57, Arun Perregatturv wrote: Dialog Id=InstallDlg Width=370 Height=270 Title=!(loc.SetupTypeDlg_Title) NoMinimize=yes Control Id=Next Type=PushButton X=236 Y=243 Width=56 Height=17 Default=yes Text=!(loc.WixUINext) Publish Event=AddLocal Value=CompleteServer![CDATA[(INSTALLTYPE =CompleteServer)]]/Publish Publish Event=Remove Value=CompleteServer![CDATA[NOT(INSTALLTYPE=CompleteServer)]]/Publish Publish Event=AddLocal Value=CompleteDatabaseServer![CDATA[(INSTALLTYPE =CompleteDatabaseServer)]]/Publish Publish Event=Remove Value=CompleteDatabaseServer![CDATA[NOT(INSTALLTYPE=CompleteDatabaseServer)]]/Publish Publish Event=AddLocal Value=CompleteWorkstation![CDATA[(INSTALLTYPE=CompleteWorkstation)]]/Publish Publish Event=Remove Value=CompleteWorkstation![CDATA[NOT(INSTALLTYPE=CompleteWorkstation)]]/Publish /Control Control Id=RadioButtonGroupID Type=RadioButtonGroup X=49 Y=64 Width=188 Height=68 Property=INSTALLTYPE Text=This is My Group RadioButtonGroup Property=INSTALLTYPE RadioButton Value=CompleteServer X=0 Y=0 Width=100 Height=10 Text=CardAccess Server / RadioButton Value=CompleteDatabaseServer X=0 Y=15 Width=150 Height=10 Text=CardAccess Database Server / RadioButton Value=CompleteWorkstation X=0 Y=45 Width=180 Height=10 Text=CardAccess Workstation / /RadioButtonGroup /Control Property Id=INSTALLTYPE Value=CompleteServer / This code works with selected feature it installs only those files but I need to know to in order to run CustomAction commandline. Maybe if I can check the value of INSTALLTYPE in CustomAction I can do it, but how do I check that value? Thanks, Arun Perregattur -Original Message- From: Sebastian Brand (Instyler Software) [mailto:wix+us...@instyler.com] Sent: Thursday, November 19, 2009 3:22 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Feature selection and CustomAction commandline If you have a radio button group, we don't use the property you have associated with the radiobutton group in the commandline. How are you setting the InstallLevel using the radio buttons? Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com On 18.11.2009, at 18:19, Arun Perregatturv wrote: Hi, I created a custom dialog for feature selection that has 3 radio button options - 1. Server 2. Workstation 3. DB Server I would like to know which of the feature the user has selected in order to run a customaction with a commandline value. Code looks something like this Feature Id=WorkstationFeature Title=CardAccess Workstation Level=1 Feature Id=ServerFeature Title=Server Level=2 Feature Id=DBServerFeature Title=DB Server Level=3 Now, UI UIRef Id=caWixUI_Mondo/ Publish Dialog=ExitDialog Control=Finish Event=DoAction Value=LaunchApplicationWIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed/Publish /UI CustomAction Id=ExecuteTools Directory=APPLICATION_TOOLS_DIRECTORY ExeCommand=[#caAutoCreateUpdateDB.exe] I have to add commandline value here based on the selection (feature 1 = 1, feature 2 = 2 or feature 3 = 3. How do I do that. Return=asyncWait / Property Id=WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT Value=Launch Access/ Property Id=WixShellExecTarget Value=[#ConsoleApp.exe] / CustomAction Id=LaunchApplication BinaryKey=WixCA DllEntry=WixShellExec Impersonate=yes/ InstallExecuteSequence Custom Action=ExecuteTools After =InstallFinalizeNOT Installed/Custom RemoveExistingProducts After
Re: [WiX-users] Feature selection and CustomAction commandline
Well yes, does it work? Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Blog: www.sebastianbrand.com -Original Message- From: Arun Perregatturv [mailto:aperregatt...@napcosecurity.com] Sent: Thursday, November 19, 2009 21:23 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Feature selection and CustomAction commandline I tried as you said Publish Property =SERVERVALUE Value=1INSTALLTYPE=CompleteServer/Publish Publish Property =SERVERVALUE Value=2INSTALLTYPE=CompleteDatabaseServer/Publish Publish Property =SERVERVALUE Value=3INSTALLTYPE=CompleteWorkstation/Publish And CustomAction Property Id=CAAUTOCREATEUPDATEDB Value=[#caAutoCreateUpdateDB.exe] / CustomAction Id=ExecuteTools Property=CAAUTOCREATEUPDATEDB Directory=APPLICATION_TOOLS_DIRECTORY ExeCommand=[SERVERVALUE] Return=asyncWait / This is right? Arun Perregattur -Original Message- From: Sebastian Brand (Instyler Software) [mailto:wix+us...@instyler.com] Sent: Thursday, November 19, 2009 10:27 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Feature selection and CustomAction commandline The INSTALLTYPE property will contain the values CompleteServer, CompleteDatabaseServer or CompleteWorkstation after the selection was made. You can either change these values to 1,2,3 or create three SetProperty control events, one for each install type: Publish Property=NEWPROP Value=1INSTALLTYPE=CompleteServer/Publish Put these Publish elements before the first Publish element of the Next- Button. Then use the [NEWPROP] in your ExeCommand attribute for running the custom action. Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Blog: www.sebastianbrand.com On 19.11.2009, at 14:57, Arun Perregatturv wrote: Dialog Id=InstallDlg Width=370 Height=270 Title=!(loc.SetupTypeDlg_Title) NoMinimize=yes Control Id=Next Type=PushButton X=236 Y=243 Width=56 Height=17 Default=yes Text=!(loc.WixUINext) Publish Event=AddLocal Value=CompleteServer![CDATA[(INSTALLTYPE =CompleteServer)]]/Publish Publish Event=Remove Value=CompleteServer![CDATA[NOT(INSTALLTYPE=CompleteServer)] ]/ Publish Publish Event=AddLocal Value=CompleteDatabaseServer![CDATA[(INSTALLTYPE =CompleteDatabaseServer)]]/Publish Publish Event=Remove Value=CompleteDatabaseServer![CDATA[NOT(INSTALLTYPE=Complete Datab aseServer)]]/Publish Publish Event=AddLocal Value=CompleteWorkstation![CDATA[(INSTALLTYPE=CompleteWorkst ation)]]/Publish Publish Event=Remove Value=CompleteWorkstation![CDATA[NOT(INSTALLTYPE=CompleteWo rkstat ion)]]/Publish /Control Control Id=RadioButtonGroupID Type=RadioButtonGroup X=49 Y=64 Width=188 Height=68 Property=INSTALLTYPE Text=This is My Group RadioButtonGroup Property=INSTALLTYPE RadioButton Value=CompleteServer X=0 Y=0 Width=100 Height=10 Text=CardAccess Server / RadioButton Value=CompleteDatabaseServer X=0 Y=15 Width=150 Height=10 Text=CardAccess Database Server / RadioButton Value=CompleteWorkstation X=0 Y=45 Width=180 Height=10 Text=CardAccess Workstation / /RadioButtonGroup /Control Property Id=INSTALLTYPE Value=CompleteServer / This code works with selected feature it installs only those files but I need to know to in order to run CustomAction commandline. Maybe if I can check the value of INSTALLTYPE in CustomAction I can do it, but how do I check that value? Thanks, Arun Perregattur -Original Message- From: Sebastian Brand (Instyler Software) [mailto:wix+us...@instyler.com] Sent: Thursday, November 19, 2009 3:22 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Feature selection and CustomAction commandline If you have a radio button group, we don't use the property you have associated with the radiobutton group in the commandline. How are you setting the InstallLevel using the radio buttons? Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com On 18.11.2009, at 18:19, Arun Perregatturv wrote: Hi, I created a custom dialog for feature selection that has 3 radio button options - 1. Server 2. Workstation 3. DB Server I would like to know which of the feature the user has selected in order to run
Re: [WiX-users] Errors using performance counters after installing with PerformanceCounter/PerformanceCounterCategory
Can you give us the corresponding .wxs code? Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com On 18.11.2009, at 21:13, Rich Daniel wrote: I'm in the process of migrating my app installation to wix. It's a .NET 2.0 app that currently uses installutil to add some custom performance counters and event log sources. Seeing as how I noticed that WixUtilExtension.dll supplies this functionality from the installer, I thought I'd give it a try instead. I'm rubbing up against an issue, however. The installation completes just fine, but the moment my app attempts to modify a counter, it goes bang with the following exception: System.InvalidOperationException: PerformanceCounterInstanceLifetime.Process is not valid in the global shared memory. If your performance counter category was created with an older version of the Framework, it uses the global shared memory. Either use PerformanceCounterInstanceLifetime.Global, or if applications running on older versions of the Framework do not need to write to your category, delete and recreate it. If I believe that error, the way I've defined the counters in my wxs file installs them in the global shared memory (or uses the .NET 1.* approach to install them). Is there a way to tell it to do things the new way instead of the old or should I give up for now and just have some custom actions call installutil once the bits land on the box? Thanks - Rich Daniel -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Launch Condition on Unistall or Remove
Add to the conditions your are check a NOT Installed to check them only if the application isn't installed yet Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com On 18.11.2009, at 05:13, spsingam wrote: hi, how do i make sure that the Launch Condition only executes only on Installed ??? for now, my installer executes the Launch Condition on uninstall. Anyone here with suggestions ? -- View this message in context: http://n2.nabble.com/Launch-Condition-on-Unistall-or-Remove-tp4023317p4023317.html Sent from the wix-users mailing list archive at Nabble.com. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to create main and sub installer?
When you cannot merge these two installers into one, it's recommended to use a bootstrapper to check and run necessary installations. I'm not sure if WiX' burn can handle this already.. Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com On 18.11.2009, at 02:28, akihiro.shib...@jp.yokogawa.com akihiro.shib...@jp.yokogawa.com wrote: Hi, All, A: main installer B: sub installer 1. A is installed. 2. When A is installed, B is copied onto a local disk together. 3. B install if necessary. 4. When A is uninstalled, B is automatically uninstalled. Is it possible though I wants to make two installers of such a composition with WiX ? Thanks, Akihiro -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to debug upgrade problem
Doesn't the msi verbose log say anything? Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com On 17.11.2009, at 22:55, Tom Crozier wrote: I created an installer that contains 2 Upgrade sections for 2 different products that are installed however when I run the installer it only locates one of them. How do I go about debugging this to find out why the 2nd is not detected by FindRelatedProducts? I did a small test app and this seemed to work fine. Thanks - Tom -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Custom Before= and After= vs. CustomAction Execute=
I'd also like to point out to http://www.tramontana.co.hu/wix/lesson3.php , a detailed tutorial about custom actions... Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com On 14.10.2009, at 06:56, Dave Kolb wrote: I found this by John McFadyen - http://johnmcfadyen.spaces.live.com/blog/cns!9DD01136FC094724! 167.entry which helps a lot to understand the grand scheme of things and clears up some things I was confused about. Any other big picture references appreciated. From: Dave Kolb [mailto:d...@dotnetcodeslingers.com] Sent: Wednesday, October 14, 2009 12:31 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Custom Before= and After= vs. CustomAction Execute= Is there somewhere written up an overview of the flow of the installer in general and how sequencing actions work? I would like to better understand how to sequence actions and am confused about CustomActions Execute=Immediate|Deferred|etc. vs. Custom Action Before= and After= and how they work together in the grand scheme of things and what is the scope of the script. Thanks, Dave __ Information from ESET NOD32 Antivirus, version of virus signature database 4504 (20091013) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Conditionally disable PrepareDlg and UserExitDlg
Hi, Have you checked (using ORCA) if the conditions are written to the MSI file? Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Dan Vasilov [mailto:d...@rms.ro] Sent: Monday, October 12, 2009 09:46 To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] Conditionally disable PrepareDlg and UserExitDlg Hello, We would like to conditionally disable the PrepareDlg and UserExitDlg. The issue is the setup checks a set of conditions before displaying the UI. Currently it is displaying the error message over the PrepareDlg. If we do not refer the PrepareDlg in the UI, this dialog is not displayed, however the UserExitDlg dialog will be displayed. We've tried modifying the InstallUISequence like this: InstallUISequence FindRelatedProducts Before=LaunchConditions / Show Dialog=PrepareDlg Before=AppSearch Overridable=no ![CDATA[(LAUNCHEDFROMSETUPEXE) AND (SQLINSTANCENAME)]] /Show Show Dialog=UserExit OnExit=cancel Overridable=no ![CDATA[(LAUNCHEDFROMSETUPEXE) AND (SQLINSTANCENAME)]] /Show However the toolset raises an error about the dialogs being defined twice. If we set the Overridable attribute to yes, the dialogs are still displayed. We've also copied the dialogs in our project; the files UserExitDlg.wxs and PrepareDlg.wxs in the wix source code directory contains some entries like InstallUISequence Show Dialog=PrepareDlg Before=AppSearch / /InstallUISequence InstallUISequence Show Dialog=UserExit OnExit=cancel / /InstallUISequence AdminUISequence Show Dialog=UserExit OnExit=cancel / /AdminUISequence We've removed these entries, however the toolset still reports the dialogs are defined twice. If we do not reference PrepareDlg and UserExitDlg and we use instead our custom dialogs like below (we've renamed the dialogs definitions copied from the wix source code): Show Dialog=PrepareDlgEx Before=AppSearch Overridable=no ![CDATA[(LAUNCHEDFROMSETUPEXE) AND (SQLINSTANCENAME)]] /Show Show Dialog=UserExitEx OnExit=cancel Overridable=no ![CDATA[(LAUNCHEDFROMSETUPEXE) AND (SQLINSTANCENAME)]] /Show the original dialogs are still displayed. Can you provide a hint where to look further? Dan -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Sunday, October 11, 2009 2:46 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom action type 19 displays message over the Welcome dialog Dan Vasilov wrote: DialogRef Id=PrepareDlg / It's the PrepareDlg, which is shown modelessly during AppSearch and LaunchConditions actions. -- sig://boB http://joyofsetup.com/ -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Custom action type 19 displays message over the Welcome dialog
It seems that the Custom Actions are scheduled after the Welcome dialog or somehow. How and where did you schedule them? Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Dan Vasilov [mailto:d...@rms.ro] Sent: Friday, October 09, 2009 11:04 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom action type 19 displays message over the Welcome dialog Hello, We have a Wix-based setup that must meet a set of pre-conditions. The conditions are properly checked, however the error message is displayed over the Welcome dialog. We've tried to edit the UISequence and show the Welcome dialog only when the specified conditions are met, however the error message is still displayed after the Welcome dialog is shown. Do you have a suggestion where to look for a solution? Dan -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Patch doesn't uninstall
What happens when you try to uninstall the patch? Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Andy2k8 [mailto:appr...@gmail.com] Sent: Thursday, October 01, 2009 07:48 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Patch doesn't uninstall Why does my patch become non-uninstallable when I add a ServiceControl/ table to restart an existing service??? How do i still make is uninstallable?? - Andy MSI Developer Schneider Electric:working: -- View this message in context: http://n2.nabble.com/Patch-doesn-t-uninstall-tp3747152p3747152.html Sent from the wix-users mailing list archive at Nabble.com. -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Registry search condition problem
Hello Prabhakaran, Does the Vista run as x64? Then it's possible that MSI checks for the 32-bit registry key (Wow6432Node) instead of the 64-bit. To do that set @Win64=yes in the RegistrySearch element. Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Prabhakaran Paulraj [mailto:prabhakaran_paul...@dynamicbi.com] Sent: Wednesday, September 30, 2009 13:15 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Registry search condition problem Hi, I am following a registry search condition. This condition is to check if the SQL Server of version 9.00.4035.00 is installed at the time of install/repair/change. This works fine in windows XP Professional, i get this message when SQL Server of version 9.00.4035.00 is not available during install/repair/change. But this dont work for me in windows Vista Business i have this version of SQL installed in my Vista machine and i dont get the message while install/repair (as expected) but when i try to change i get this message SQL Server was uninstalled manually. Please run Setup.exe. PropertyId='SQLREGISTRYSEARCH'RegistrySearchId='MicrosoftSQL'Type='raw'Roo t='HKLM'/ ![CDATA[Key='Software\Microsoft\Microsoft SQL Server\SQLEXPRESS\MSSQLServer\CurrentVersion'Name='CurrentVersion'/Property ConditionMessage=SQL Server was uninstalled manually. Please run Setup.exeSQLREGISTRYSEARCH =9.00.4035.00]]OR REMOVE/ Any suggestions? Thanks PrabhakaranCondition -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] facing trouble when run the application after installation - EventType : clr20r3
Hello, I don't think this relates to the installer or WiX. Is .NET installed on the target machine? Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: danimian [mailto:miand...@gmail.com] Sent: Wednesday, September 30, 2009 14:52 To: wix-users@lists.sourceforge.net Subject: [WiX-users] facing trouble when run the application after installation - EventType : clr20r3 Hi, i am facing trouble after installation when i run the application (.exe) on other computers. On my Own computer works fine. I am using WIX V3 and OS is Windows XP Professional SP2. (installation working successfully). i am getting the following error: EventType : clr20r3 P1 : my-application.exe P2 : 0.5.3559.24684 P3 : 4ac200cd P4 : system P5 : 2.0.0.0 P6 : 4889de7a P7 : 393b P8 : 5f P9 : system.invalidoperationexception How to fix it to work properly on other computers also? Something need to be change Installer code? Even when i run this application on Windows XP Professional Image on my own computer, i got this error. Best Regards Adnan -- View this message in context: http://n2.nabble.com/facing-trouble-when-run-the-application-after-installat ion-EventType-clr20r3-tp3742479p3742479.html Sent from the wix-users mailing list archive at Nabble.com. -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] facing trouble when run the application after installation - EventType : clr20r3
I think, it's still something bigger than just a WiX issue... Can you manually install the application on the without using an MSI/ WiX and does it work then? Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com On 30.09.2009, at 15:35, danimian wrote: Hi, yes .NET Framework 3.5 SP1 is our basic requirement and it is already installed on target machine. How to deal with this? Any Idea? Best Regards and Thanks for quick reply Adnan Sebastian Brand (Instyler Software) wrote: Hello, I don't think this relates to the installer or WiX. Is .NET installed on the target machine? Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: danimian [mailto:miand...@gmail.com] Sent: Wednesday, September 30, 2009 14:52 To: wix-users@lists.sourceforge.net Subject: [WiX-users] facing trouble when run the application after installation - EventType : clr20r3 Hi, i am facing trouble after installation when i run the application (.exe) on other computers. On my Own computer works fine. I am using WIX V3 and OS is Windows XP Professional SP2. (installation working successfully). i am getting the following error: EventType : clr20r3 P1 : my-application.exe P2 : 0.5.3559.24684 P3 : 4ac200cd P4 : system P5 : 2.0.0.0 P6 : 4889de7a P7 : 393b P8 : 5f P9 : system.invalidoperationexception How to fix it to work properly on other computers also? Something need to be change Installer code? Even when i run this application on Windows XP Professional Image on my own computer, i got this error. Best Regards Adnan -- View this message in context: http://n2.nabble.com/facing-trouble-when-run-the-application-after-installat ion-EventType-clr20r3-tp3742479p3742479.html Sent from the wix-users mailing list archive at Nabble.com. -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- View this message in context: http://n2.nabble.com/facing-trouble-when-run-the-application-after-installation-EventType-clr20r3-tp3742479p3742714.html Sent from the wix-users mailing list archive at Nabble.com. -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] facing trouble when run the application after installation - EventType : clr20r3
By manually, I mean without the installer (MSI). Until that does not work, how could the installer work either? :) Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com On 30.09.2009, at 17:38, danimian wrote: I just tried to install it manually, it's not working manually. Sebastian Brand (Instyler Software) wrote: I think, it's still something bigger than just a WiX issue... Can you manually install the application on the without using an MSI/ WiX and does it work then? Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com On 30.09.2009, at 15:35, danimian wrote: Hi, yes .NET Framework 3.5 SP1 is our basic requirement and it is already installed on target machine. How to deal with this? Any Idea? Best Regards and Thanks for quick reply Adnan Sebastian Brand (Instyler Software) wrote: Hello, I don't think this relates to the installer or WiX. Is .NET installed on the target machine? Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: danimian [mailto:miand...@gmail.com] Sent: Wednesday, September 30, 2009 14:52 To: wix-users@lists.sourceforge.net Subject: [WiX-users] facing trouble when run the application after installation - EventType : clr20r3 Hi, i am facing trouble after installation when i run the application (.exe) on other computers. On my Own computer works fine. I am using WIX V3 and OS is Windows XP Professional SP2. (installation working successfully). i am getting the following error: EventType : clr20r3 P1 : my-application.exe P2 : 0.5.3559.24684 P3 : 4ac200cd P4 : system P5 : 2.0.0.0 P6 : 4889de7a P7 : 393b P8 : 5f P9 : system.invalidoperationexception How to fix it to work properly on other computers also? Something need to be change Installer code? Even when i run this application on Windows XP Professional Image on my own computer, i got this error. Best Regards Adnan -- View this message in context: http://n2.nabble.com/facing-trouble-when-run-the-application-after-installat ion-EventType-clr20r3-tp3742479p3742479.html Sent from the wix-users mailing list archive at Nabble.com. -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- View this message in context: http://n2.nabble.com/facing-trouble-when-run-the-application-after-installation-EventType-clr20r3-tp3742479p3742714.html Sent from the wix-users mailing list archive at Nabble.com. -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX
Re: [WiX-users] how to create a MSU file?
Can you tell us why you wanted to create a MSU file? In most places where one would be able to use MSU (MDT and SCCM) there are also possiblities to have msi or exe installations. Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Wednesday, September 30, 2009 23:19 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] how to create a MSU file? Thanks Brant. -Original Message- From: Brant Gurganus [mailto:br...@gurganus.name] Sent: Wednesday, September 30, 2009 10:09 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] how to create a MSU file? Why do you want to create an MSU file? That's not a Windows Installer format. That's a Windows/Microsoft Update format that I don't believe is heavily documented outside of Microsoft. That said, it is a CAB file so you can use 7-zip or similar to extract the contents. However, you can probably find more official documentation inside of Microsoft. This may be useful to you: http://support.microsoft.com/kb/934307 Brant Gurganus http://gurganus.name/brant On Wed, Sep 30, 2009 at 12:45 PM, Lian Jiang lji...@microsoft.com wrote: Hi, Does anybody have any reference about how to create a MSU file? I get no luck by searching online. :( Thanks Lian -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Folder not install in define path
Hi, Have you tried to changing the IDs and Guids of the SQL folder and files? Are there some other folder/files/components with the same Ids? (Should give compiler warnings). Otherwise I'm pretty much in the dark about this. Maybe the verbose log of the msi file can help. Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Tuesday, September 29, 2009 09:26 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Folder not install in define path Hi Sebastian, Thank you for your reply. The snippet is: Directory Id=TARGETDIR Name=SourceDir Directory Id=APPLICATIONFOLDER Name=ViewPoint6 Some other folders... Directory Id=SQL Name=SQL Component Id=SQLFolder Guid=BDDD9C07-2D4A-47E5-A5F8-AB26588C12CA File Id=standard.log Name=standard.log Source=$(var.DataDir)\DB\standard.log / File Id=standard.db Name=standard.db Source=$(var.DataDir)\DB\standard.db / /Component /Directory .Some other folders... /Directory /Directory ... ComponentRef Id=SQLFolder / ... And in the other wxs, there is: Property Id=WIXUI_INSTALLDIR Value=APPLICATIONFOLDER / Control Id=Folder Type=PathEdit X=20 Y=100 Width=320 Height=18 Property=WIXUI_INSTALLDIR Indirect=yes / Control Id=Next Type=PushButton X=236 Y=243 Width=56 Height=17 Default=yes Text=!(loc.AdvancedWelcomeEulaDlgInstall) Publish Event=EndDialog Value=Return999/Publish /Control The other folders are pretty same as this weird SQL folder. User can change the path in PathEdit, then click Next. The installation will start. All other files are copied to changed path, say PathB, only the two files in SQL folder. It is still copied to original APPLICATIONFOLDER Regards, Chunyan -Ursprüngliche Nachricht- Von: Sebastian Brand (Instyler Software) [mailto:wix+us...@instyler.com] Gesendet: Montag, 28. September 2009 16:30 An: 'General discussion for Windows Installer XML toolset.' Betreff: Re: [WiX-users] Folder not install in define path Still a wierd behavior :) And what do these two files have in common? There must be something that's different from the other files. Can you post the .wxs snippet with all file elements? Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Monday, September 28, 2009 16:22 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Folder not install in define path Thanks to Sebastian. The files not changing Path is as below: APPLICATIONDIR\SQL\standard.db APPLICATIONDIR\SQL\standard.log I changed the APPLICATIONDIR as PathB during the installation. But the above two files are still installed in PathA as defined in the wxs file. And I didn't see the secure property there. Best regards, Chunyan -Ursprüngliche Nachricht- Von: Sebastian Brand (Instyler Software) [mailto:wix+us...@instyler.com] Gesendet: Montag, 28. September 2009 16:11 An: 'General discussion for Windows Installer XML toolset.' Betreff: Re: [WiX-users] Folder not install in define path Can you see any pattern of the files not having the Path changed? Is the path stored in a public secure property? (Uppercase property name and @Secure=yes) Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Monday, September 28, 2009 15:07 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Folder not install in define path Hi Wix-users, There is a weird thing happend in my wix installer. I define a path for files installing in the main wxs, say PathA. And during the installaion the user can change the path and install files to another path, say PathB. Most files are installed correctly in the user changed path PathB. However, there are several files still installed in the main wxs PathA. I checked the log file. It shows there are some files installed in PathA. But there is no error message. In the main wxs, there is no special define for those incorrect install files. Why does this weird thing happen? How can I figure this problem? Best regards, Chunyan -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your
Re: [WiX-users] Maskedit Whitespace
Hello, Unfortunally it seems that only using a Custom Action can resolve Trimming and most string manipulation issues. Fastest way would be a small vbscript to change the property value. Oh, we have some nice weather here too. Greetings from southern Germany. :-) Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Simon Topley [mailto:simon.top...@wallingfordsoftware.com] Sent: Tuesday, September 29, 2009 11:07 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Maskedit Whitespace Good morning all, What a wonderful day it is here, a perfect day for some more installer coding. Today's issue (along with yesterdays 2 issue that are still driving me crazy) is whitespace, I have a maskededit control that takes a numeric input as I need to force the user to input numbers only. This was the only way i could find to do it, the length of the integer is variable though, if a user inputs a shorter number than the mask the rest of the mask is replaced with whitespace which then messes up registry input. Is there any way I can stop it from doing this or trim the string after it has happened? MSI (c) (64:DC) [15:30:08:670]: PROPERTY CHANGE: Modifying RMSPORT property. Its current value is '222'. Its new value: '222 '. Any help would be well received Simon Disclaimer: This electronic communication and its attachments may contain confidential, proprietary and/or legally privileged information which are for the sole use of the intended recipient. If you are not the intended recipient, any use, distribution, or reproduction of this communication is strictly prohibited and may be unlawful; please contact the sender and delete this communication. MWH does not warrant or make any representation regarding this transmission whatsoever nor does it warrant that it is free from viruses or defects, correct or reliable. MWH is not liable for any loss or damage that occurs as a result of this communication entering your computer network. The views expressed in this message are not necessarily those of MWH. This communication cannot form a binding agreement unless that is the express intent of the parties and they are authorized to make such an agreement. MWH reserves all intellectual property rights contained in this transmission. MWH reserves the right to monitor any electronic communication sent or received by its employees. This communication may come from a variety of legal entities within or associated with the MWH group. For a full list of details for these entities please see our website at www.mwhglobal.com. Where business communications relate to the MWH UK Limited entity, the registered office is Terriers House, 201 Amersham Rd, High Wycombe, HP13 5AJ Tel: 01494 526240 and the company is registered in England as registration number 01188070. Where business communications relate to the MWH Constructors Limited entity, the registered office is as above and the company is registered in England as registration number 04635724. Where business communications relate to the MWH Soft Limited entity, the registered office is as above and the company is registered in England as registration number 6975921. -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Removing old version not installed via MSI
Hello, I'd recommend to following: First, use a RegistrySearch or FileSearch to find the existing product and installation path. The found value is stored in a Property. Then, if that property is set (=old version exists), show a dialog to warn the user. On that dialog run a Custom Action that calls unwise (maybe silently). Hope this helps. Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Joakim Harsman [mailto:joakim.hars...@profdoc.com] Sent: Tuesday, September 29, 2009 15:14 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Removing old version not installed via MSI I'm in the process of migrating an installer that used to be built with Wise to an MSI built with Wix. I'd like for the new installer to detect and automatically remove old versions of the product if present. Is there an easy way to do this? As far as I can tell RemoveExistingProducts and the Upgrade element won't help because they only work if the product you want to remove was installed with Windows Installer. What's the best way to solve this, do I just create some sort of Custom action that removes files and registry entries manually using say RemoveFiles? Do I call the unwise.exe (the standard way the old version is uninstalled)? Joakim Hårsman Head of development, Profdoc Care +46-8 440 93 78 http://www.profdoc.se -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Can you create a shortcut that is Pinned to Taskbar in an install?
This sounds pretty harsh imho. :) I think it is indeed allowed to set *user* settings during a per-user installation and even All-Users or Default-User settings in a per-machine setting. If I remember correctly, Microsoft Office is using the Pinning feature in the 2010 version as well. Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com On 28.09.2009, at 22:27, Brant Gurganus wrote: That is a *user* area just like the quick launch bar was supposed to be. They've taken steps to make it harder to programmatically add anything to it because that is an area that the user controls, not you or your application. Brant Gurganus http://gurganus.name/brant On Mon, Sep 28, 2009 at 11:45 AM, Gareth gmor...@serif.com wrote: Since Microsoft have deprecated the QuickLaunch toolbar, is there a way to utilise it's replacement and add a shortcut to the 'Pinned to Taskbar' set as an option in an installer? I've tried simply adding a shortcut to where the pinned shortcuts are stored, but this is not successful - there must be more to it than this. Any thoughts? Cheers, G -- View this message in context: http://n2.nabble.com/Can-you-create-a-shortcut-that-is-Pinned-to-Taskbar-in-an-install-tp3730173p3730173.html Sent from the wix-users mailing list archive at Nabble.com. -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Reading contents of a text file
You'll have to stick with a custom action for that. To read a text file, I'd just use VBScript to read the text file ( fso.OpenTextFile (...).ReadAll ) and store it in a property (if it's a short text). Otherwise it depends on your purpose. Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com On 29.09.2009, at 00:14, phillip_sid...@dellteam.com phillip_sid...@dellteam.com wrote: Does anyone have an example of how I can read the contents of a text file and use it with WiX? Thanks. - Phil -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Folder not install in define path
Can you see any pattern of the files not having the Path changed? Is the path stored in a public secure property? (Uppercase property name and @Secure=yes) Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Monday, September 28, 2009 15:07 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Folder not install in define path Hi Wix-users, There is a weird thing happend in my wix installer. I define a path for files installing in the main wxs, say PathA. And during the installaion the user can change the path and install files to another path, say PathB. Most files are installed correctly in the user changed path PathB. However, there are several files still installed in the main wxs PathA. I checked the log file. It shows there are some files installed in PathA. But there is no error message. In the main wxs, there is no special define for those incorrect install files. Why does this weird thing happen? How can I figure this problem? Best regards, Chunyan -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Folder not install in define path
Still a wierd behavior :) And what do these two files have in common? There must be something that's different from the other files. Can you post the .wxs snippet with all file elements? Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Monday, September 28, 2009 16:22 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Folder not install in define path Thanks to Sebastian. The files not changing Path is as below: APPLICATIONDIR\SQL\standard.db APPLICATIONDIR\SQL\standard.log I changed the APPLICATIONDIR as PathB during the installation. But the above two files are still installed in PathA as defined in the wxs file. And I didn't see the secure property there. Best regards, Chunyan -Ursprüngliche Nachricht- Von: Sebastian Brand (Instyler Software) [mailto:wix+us...@instyler.com] Gesendet: Montag, 28. September 2009 16:11 An: 'General discussion for Windows Installer XML toolset.' Betreff: Re: [WiX-users] Folder not install in define path Can you see any pattern of the files not having the Path changed? Is the path stored in a public secure property? (Uppercase property name and @Secure=yes) Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Monday, September 28, 2009 15:07 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Folder not install in define path Hi Wix-users, There is a weird thing happend in my wix installer. I define a path for files installing in the main wxs, say PathA. And during the installaion the user can change the path and install files to another path, say PathB. Most files are installed correctly in the user changed path PathB. However, there are several files still installed in the main wxs PathA. I checked the log file. It shows there are some files installed in PathA. But there is no error message. In the main wxs, there is no special define for those incorrect install files. Why does this weird thing happen? How can I figure this problem? Best regards, Chunyan -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] UnInstallExecuteSequence ... how?
Create a custom action that triggers your command and schedule it using the condition Installed in the InstallExecuteSequence after the sequence position of the other custom program that iss sequenced during installation (set that condition to NOT Installed to ensure it doesn't get ran during uninstallation). Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: mirram...@googlemail.com [mailto:mirram...@googlemail.com] Sent: Friday, September 25, 2009 06:37 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] UnInstallExecuteSequence ... how? Hi all, I make use of InstallExecuteSequence to trigger custom programs when an installation succeeds. During uninstall I need to reverse the process and trigger another custom program, but unfortunately (telling from the docs) there does not seem to be a UnInstallExecuteSequence. How can I trigger an external program once an uninstallation has been successful? Thanks Armin. -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Sending custom message to log file
Hello, You'll have to fill properties and use them in the Script with Session (MYPROP) for example. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com On 18.09.2009, at 05:11, puyo puy wrote: Hi there, I want to send custom debug message to my installer's log file after a custom action has been exectued. I found their is a useful information from http://www.dalun.com/wix/06.26.2005.htm Binary Id='Customization.vbs' src='Customization.vbs'/ CustomAction Id='test' BinaryKey='Customization.vbs' VBScriptCall='Hello' Return='check'/ Function LogInfo(msg) Dim rec Set rec = Session.Installer.CreateRecord(1) rec.StringData(0) = msg LogInfo = Session.Message(H0400, rec) End Function Function Hello LogInfo Customization is being called here. End function Is there a way that I can pass the custom message to the function Hello intead of the static messgae? Or is there a better way to log custom message rather than calling VB Script? Thanks in advance Jeff __ Get more done like never before with Yahoo!7 Mail. Learn more: http://au.overview.mail.yahoo.com/ -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Is there a way to drop databases on uninstall after confirmation.
Since MSI does not support dialogs in the uninstallation of a product, you'll have to create a Custom Action for asking the user. Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Anuj Pandey [mailto:a...@vetvision.in] Sent: Monday, September 14, 2009 09:35 To: WIX Subject: [WiX-users] Is there a way to drop databases on uninstall after confirmation. Hi Is there a way to drop databases on uninstall after confirmation. I have created a setup using wix. and then need to uninstall it. Also need to drop the db. but sometimes i may not want to. Is there anything i can follow currently available with wix? :: Anuj Pandey VetVision www.vetvision.in :: -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Multiple Instances in Add Remove Program
Setting the ProductCode to Autogen (Product Id=* .. ) will create independent products for each new version. When you set OnlyDetect=yes this will not remove the older versions but only set the PREVIOUSVERSIONSINSTALLED Property to the product guids of the older versions. Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Anuj Pandey [mailto:a...@vetvision.in] Sent: Monday, September 14, 2009 09:45 To: WIX Subject: [WiX-users] Multiple Instances in Add Remove Program Hi I have create a setup starting like this ?xml version=1.0 encoding=utf-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; xmlns:util=http://schemas.microsoft.com/wix/UtilExtension; xmlns:fire=http://schemas.microsoft.com/wix/FirewallExtension; xmlns:Sql=http://schemas.microsoft.com/wix/SqlExtension; ?define PRODUCTVERSION=1.4.8.5? Product Id=* Name=Hit Hop Product Language=1033 Codepage=Windows-1252 Version=$(var.PRODUCTVERSION) Manufacturer=HitHop UpgradeCode=D9953040-8360-4680-B5FA-AC3A1F4D5302 Package InstallerVersion=200 Compressed=yes Languages=1033 InstallScope=perMachine Manufacturer=HitHop / Upgrade Id=D9953040-8360-4680-B5FA-AC3A1F4D5302 UpgradeVersion OnlyDetect=yes Property=PREVIOUSVERSIONSINSTALLED Minimum=$(var.PRODUCTVERSION) IncludeMinimum=yes Maximum=$(var.PRODUCTVERSION) IncludeMaximum=yes / /Upgrade But every time i install it creates a new instance in Add Remove program, any idea? what i am doing wrong.. :: Anuj Pandey VetVision www.vetvision.in :: -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Calling $(env.SystemRoot)\regedit on uninstall
The $env.WinDir variable is only available during built time - on your PC, not at the end-users. Use MSI properties like [WindowsFolder] instead. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Svein Dybvik [mailto:s...@steria.no] Sent: Thursday, September 10, 2009 10:58 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Calling $(env.SystemRoot)\regedit on uninstall Additional info: I created a small .net-application which lists all environment variables in the system (uses System.Environment.GetEnvironmentVariables();) And that returned: Systemroot = M:\WINDOWS SystemDrive = M: Windir = M:\WINDOWS And I'm using WiX 3.0. Svein -Opprinnelig melding- Fra: Svein Dybvik [mailto:s...@steria.no] Sendt: 10. september 2009 10:16 Til: wix-users@lists.sourceforge.net Emne: [WiX-users] Calling $(env.SystemRoot)\regedit on uninstall Hi I have an issue when uninstalling my application if the operating system is not installed on the C-drive. It reports this error in the event viewer: Product: MyProduct -- Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: Unregister, location: C:\windows\regedit.exe, command: /s M:\Program Files\MyCompany\MyProduct\unregister.reg The operating system is installed on M: and I would then assume that env.WinDir or env.SystemRoot would return M:\Windows. But it still tries to run it from the c-drive. This is taken from my wxs-file: !-- Regedit property -- Property Id=REGEDIT$(env.WinDir)\regedit.exe/Property I have also tried: Property Id=REGEDIT$(env.SystemRoot)\regedit.exe/Property . . . !-- Custom actions -- !-- Uninstall custom action: running unregister script -- CustomAction Id=Unregister Property=REGEDIT ExeCommand=/s quot;[INSTALLDIR]unregister.regquot;/ Is this a known issue? Should I instead include all the commands in unregister.reg in the wxs-file somehow? I'm quite new to WiX, so in case could anyone give me a couple of pointers on how to do that? Thanks for any help. With regards Svein Dybvik This email originates from Steria AS, Biskop Gunnerus' gate 14a, N-0051 OSLO, http://www.steria.no. This email and any attachments may contain confidential/intellectual property/copyright information and is only for the use of the addressee(s). You are prohibited from copying, forwarding, disclosing, saving or otherwise using it in any way if you are not the addressee(s) or responsible for delivery. If you receive this email by mistake, please advise the sender and cancel it immediately. Steria may monitor the content of emails within its network to ensure compliance with its policies and procedures. Any email is susceptible to alteration and its integrity cannot be assured. Steria shall not be liable if the message is altered, modified, falsified, or even edited. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users This email originates from Steria AS, Biskop Gunnerus' gate 14a, N-0051 OSLO, http://www.steria.no. This email and any attachments may contain confidential/intellectual property/copyright information and is only for the use of the addressee(s). You are prohibited from copying, forwarding, disclosing, saving or otherwise using it in any way if you are not the addressee(s) or responsible for delivery. If you receive this email by mistake, please advise the sender and cancel it immediately. Steria may monitor the content of emails within its network to ensure compliance with its policies and procedures. Any email is susceptible to alteration and its integrity cannot be assured. Steria shall not be liable if the message is altered, modified, falsified, or even edited. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008
Re: [WiX-users] Wix 3.0 FileSearch
Hello, Are you sure the INSTALLDIR property is set already when the FileSearch begins? Also try removing the @Id from the FileSearch, I remember there was an issue with that when trying to get sub-directories. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: puyo puy [mailto:puyo...@yahoo.com] Sent: Thursday, September 10, 2009 10:31 To: wix users Subject: [WiX-users] Wix 3.0 FileSearch Hi there, I'm trying to create msi installer using wix and this installer will search for old application for current install location. When the old application found, a custom action will execute the old application. I used the following script to search for the old application. Property Id=EXE_EXISTS DirectorySearch Id=CheckInstallDir Path=[INSTALLDIR] Depth=0 FileSearch Id=CheckExeFile Name=APP.exe / /DirectorySearch /Property When the old application found, custom action CA_RunEXE will execute. InstallExecuteSequence Custom Action=CA_RunEXE After=InstallInitializeEXE_EXISTS/Custom /InstallExecuteSequence But according to the msi log, action CA_RunEXE never execute because condition is false even the old application exist. From the log file I see INSTALLDIR already set and pointed to correct location(C:\Program Files\Company\Product\). If I replace DirectorySearch Id=CheckInstallDir Path=[INSTALLDIR] Depth=0 to DirectorySearch Id=CheckInstallDir Path=C:\Program Files\Company\Product\ Depth=0 , the action CA_RunEXE executed as expected. I cannot hardcode the Path as user may install in different locations. Can anyone of you can see what's wrong in my script? Thanks in advance Jeff __ Get more done like never before with Yahoo!7 Mail. Learn more: http://au.overview.mail.yahoo.com/ -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Setting Property Values After Custom Dialog
Can you post some wix code? I'd set the other properties when the user clicks Next on that custom dialog with the radio buttons. Use the Publish element at the Next control. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Nathan D. Roe [mailto:nd...@sep.com] Sent: Wednesday, September 02, 2009 22:50 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Setting Property Values After Custom Dialog Hi, I have created a custom dialog that executes during my installation where the user selects the environment (TEST, QA, or PROD) that they are installing into via a radio button, and this radio button is bound to a property in my installer. I would like to update some other properties in my installer based on the user's selection. I thought I could accomplish this using a SetProperty element with a condition, but I can't seem to find the right action to bind the Before or After attribute to. I keep getting the error Found an ActionRow with a non-existent Before/After action from light.exe. Am I doing something wrong? Is this even possible? If so, how can I accomplish this? Thanks, Nathan Roe Software Engineer II Software Engineering Professionals 11611 N. Meridian Street - 8th Floor Carmel, IN 46032-4609 317.843.1640 Ext. 2082 317.843.1642 (fax) nd...@sep.commailto:nd...@sep.com - www.sep.comhttp://www.sep.com/ -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to check the prerequisite software install?
Hi, Add a Condition right under Product. The message in the @Message attribute will be shown whenever the condition is false, and setup is aborted. The condition should contain a Property that gets initialized with RegistrySearch or FileSearch to find a registry value or file from the other software to identify if it is installed. Example: Product Property Id=ADOBEREADER9INSTALLED RegistrySearch Id=ADOBEREADER9INSTALLED_REGSEARCH Key=Software\Adobe\Acrobat Reader\9.0\InstallPath Root=HKLM Type=raw / /Property Condition Message=[ProductName] requires Adobe Reader 9.0 Please make sure you it installed.ADOBEREADER9INSTALLED/Condition ... /Product Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Tuesday, September 01, 2009 14:46 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] How to check the prerequisite software install? Hi Wix-users, My software needs another software (Sybase) as the prerequisite. Therefore I need to check whether Sybase has been installed in the machine and show the warning message if it is not installed. How can I define the condition in the installer? Best regards, Chunyan -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Problem while creating virtual directory
You must add -ext WixIISExtension to the light.exe command line. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Jaspreet Nabha [mailto:jaspreet.na...@headstrong.com] Sent: Friday, August 28, 2009 09:02 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Problem while creating virtual directory Hi All, I am using WiX3.0 with VS2008. I am trying to create virtual directories. I have added reference of WiXIISExtension in my project and refer the namespace xmlns:iis=http://schemas.microsoft.com/wix/IIsExtension . But I am getting following error while building the project. Error Error 11 The Component element contains an unhandled extension element 'iis:WebVirtualDir'. Please ensure that the extension for elements in the 'http://schemas.microsoft.com/wix/IIsExtension ' namespace has been provided. C:\NewWiX\Components.wxs. Code : Component Id='C_VirtualDirComponent' Guid='{A598E09C-B770-4df2-BE08-E069A718B938}' iis:WebVirtualDir Id='VirtualDir' Alias='[TARGETVDIR]' Directory='TARGETDIR' WebSite='DefaultWebSite' DirProperties='WebVirtualDirProperties' iis:WebApplication Id='WebApplication' Name='[TARGETVDIR]' WebAppPool='C_MyAppPool'/ /iis:WebVirtualDir /Component Please guide if you have any idea Thanks Jaspreet ***The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review,retransmission,dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.*** -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Problem while creating virtual directory
In the project settings of your wix project file go to the Tool settings tab and add -ext WixIISExtension to the Compiler: text box. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Jaspreet Nabha [mailto:jaspreet.na...@headstrong.com] Sent: Friday, August 28, 2009 09:53 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Problem while creating virtual directory Hi Sebestian, I am using VS 2008 for the build process. Can you please let me know how can use the said command ? Thanks Jaspreet Singh From: Sebastian Brand (Instyler Software) [wix+us...@instyler.com] Sent: Friday, August 28, 2009 1:18 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Problem while creating virtual directory You must add -ext WixIISExtension to the light.exe command line. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Jaspreet Nabha [mailto:jaspreet.na...@headstrong.com] Sent: Friday, August 28, 2009 09:02 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Problem while creating virtual directory Hi All, I am using WiX3.0 with VS2008. I am trying to create virtual directories. I have added reference of WiXIISExtension in my project and refer the namespace xmlns:iis=http://schemas.microsoft.com/wix/IIsExtension . But I am getting following error while building the project. Error Error 11 The Component element contains an unhandled extension element 'iis:WebVirtualDir'. Please ensure that the extension for elements in the 'http://schemas.microsoft.com/wix/IIsExtension ' namespace has been provided. C:\NewWiX\Components.wxs. Code : Component Id='C_VirtualDirComponent' Guid='{A598E09C-B770-4df2-BE08-E069A718B938}' iis:WebVirtualDir Id='VirtualDir' Alias='[TARGETVDIR]' Directory='TARGETDIR' WebSite='DefaultWebSite' DirProperties='WebVirtualDirProperties' iis:WebApplication Id='WebApplication' Name='[TARGETVDIR]' WebAppPool='C_MyAppPool'/ /iis:WebVirtualDir /Component Please guide if you have any idea Thanks Jaspreet ***The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review,retransmission,dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.*** -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ***The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review,retransmission,dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.*** -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment
Re: [WiX-users] Problem while creating virtual directory
Ops my fault, I meant Candle.exe :) Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Jaspreet Nabha [mailto:jaspreet.na...@headstrong.com] Sent: Friday, August 28, 2009 10:35 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Problem while creating virtual directory Mike, If you see the trail, Sebestian suggested to use -ext WixIISExtension to the light.exe. But if check Light's help the -ext is not coming there , in fact it is coming with Candle. I have tried both but stillit is not working . I shall be thankful, if you can help me out from this problem. Let me explain the problem again : I have added the reference of WixIIsExtension and the namespace (with prefic iis:) for the same in my wxs file. But it is not recognising the iis tag .(see trailing mail for more detail) From: Mike Carlson (DEV DIV) [mica...@microsoft.com] Sent: Friday, August 28, 2009 1:46 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Problem while creating virtual directory If you're using the visual studio UI for WiX (called Votive), you'll want to add a reference to WixIISExtension.dll, similar to the way you add references to assemblies in your C# projects. If you want general commandline help for the tools, either see the helpfile (wix.chm), or try running them with no parameters from the commandline - they'll list all their possibly commandline arguments with a brief description of each. -Original Message- From: Jaspreet Nabha [mailto:jaspreet.na...@headstrong.com] Sent: Friday, August 28, 2009 12:53 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Problem while creating virtual directory Hi Sebestian, I am using VS 2008 for the build process. Can you please let me know how can use the said command ? Thanks Jaspreet Singh From: Sebastian Brand (Instyler Software) [wix+us...@instyler.com] Sent: Friday, August 28, 2009 1:18 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Problem while creating virtual directory You must add -ext WixIISExtension to the light.exe command line. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Jaspreet Nabha [mailto:jaspreet.na...@headstrong.com] Sent: Friday, August 28, 2009 09:02 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Problem while creating virtual directory Hi All, I am using WiX3.0 with VS2008. I am trying to create virtual directories. I have added reference of WiXIISExtension in my project and refer the namespace xmlns:iis=http://schemas.microsoft.com/wix/IIsExtension . But I am getting following error while building the project. Error Error 11 The Component element contains an unhandled extension element 'iis:WebVirtualDir'. Please ensure that the extension for elements in the 'http://schemas.microsoft.com/wix/IIsExtension ' namespace has been provided. C:\NewWiX\Components.wxs. Code : Component Id='C_VirtualDirComponent' Guid='{A598E09C-B770-4df2-BE08-E069A718B938}' iis:WebVirtualDir Id='VirtualDir' Alias='[TARGETVDIR]' Directory='TARGETDIR' WebSite='DefaultWebSite' DirProperties='WebVirtualDirProperties' iis:WebApplication Id='WebApplication' Name='[TARGETVDIR]' WebAppPool='C_MyAppPool'/ /iis:WebVirtualDir /Component Please guide if you have any idea Thanks Jaspreet ***The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review,retransmission,dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.*** -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http
Re: [WiX-users] Skip Merge Modules for per-user install
Hi, Instead of using SKIP_MERGE_MODULES I'd just check for ALLUSERS=1 in die Condition. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: asanami [mailto:alexsan...@gmail.com] Sent: Thursday, August 27, 2009 11:00 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Skip Merge Modules for per-user install Hi, I need to be able to skip installation of the VC merge modules if is a per-user install. (ie. ALLUSERS=2) and the user doesn't have admin rights on the machine. Ideally, this would be done by setting a property on the command line. e.g MSIExec /i image.msi SKIP_MERGE_MODULES=1 I can make the merge modules conditional at the feature level like this: Feature Id='MergeModules' Title='MergeModules' Level='1' Display='hidden' Absent='disallow' AllowAdvertise='no' Condition Level=0SKIP_MERGE_MODULES = 1/Condition MergeRef Id=VCRedist_1/ This correctly doesn't install the merge modules if the property is set, but when tried on a box without admin rights, I get the following error message: ALLUSERS property is not 1 - this MSM cannot be used for a per-user or fallback-to-per-user install Does anybody have any ideas or solutions? Thanks -- View this message in context: http://n2.nabble.com/Skip-Merge-Modules-for-per-user-install-tp3522922p35229 22.html Sent from the wix-users mailing list archive at Nabble.com. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Copy folder structure
You can suppress harvesting that using the -sreg argument in heat.exe. Sample: heat dir c:\folder\with\files -out dynamic.wxs -ag -sreg -ag sets to component guid to * to have them autogenerated during compile time. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Jaspreet Nabha [mailto:jaspreet.na...@headstrong.com] Sent: Wednesday, August 26, 2009 07:44 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Copy folder structure Blair, I have tried the HEAT.EXE, but it is giving me the error Could not harvest data from a file that was ecpected to be a assembly I have some assemblies in the folder structure, which needs to be copied on user machine. Please suggest for the solution Thanks Jaspreet From: Blair [os...@live.com] Sent: Wednesday, August 26, 2009 5:28 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Copy folder structure Would some incantation of HEAT.EXE work? -Original Message- From: Jaspreet Nabha [mailto:jaspreet.na...@headstrong.com] Sent: Tuesday, August 25, 2009 4:02 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Copy folder structure Hi All, I am using WiX3.0 and trying to copy a folder structure to user machine. Th efolder structure is very huge in depth and i dont want to copy every single file. Can you please help me out from this problem. Thanks Jaspreet ***The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review,retransmission,dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.*** -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ***The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review,retransmission,dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.*** -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to add a dialog box when uninstall
Hello, Windows Installer executes uninstall in Silent mode (no UI) mode only. To show a dialog, you'll have to create a custom action to show a dialog, then schedule that during uninstall. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Wednesday, August 26, 2009 09:04 To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to add a dialog box when uninstall Hi, We're using WiX 3.0. How to add a dialog box when uninstall? We'd like to ask the end user if they want to delete their settings files in AppData\Company\Product folder. If the answer is Yes, then we'll need to delete that folder. And we only want this dialog box showing up when manually uninstall by either click the uninstall shortcut or from ARP in control panel. We do NOT want this dialog showing up when the user doing a major upgrade(installing a higher version, the old version is uninstalled). Thanks. /Brian __ Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Size of the RAM in WIX
PhysicalMemory returns the size of RAM in MB. This should work. Where are you using this property? Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Sunkesula, Srivardhan [mailto:srivardhan.sunkes...@netapp.com] Sent: Wednesday, August 26, 2009 10:03 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Size of the RAM in WIX Hi, Can anyone help in finding out the size of the RAM in wix? I was trying to use PhysicalMemory attribute in wix. But didn't work out. If anyone can help in usage of this attribute, it would be great. Thanks Regards, Srivardhan. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] CustomAction Exectuion by Feature
When sequencing the custom action, use MyFeature=3 to schedule it whenever the MyFeature feature is being installed. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Yan Sklyarenko [mailto:y...@sitecore.net] Sent: Tuesday, August 25, 2009 11:01 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] CustomAction Exectuion by Feature You should set the same condition to your custom action as to the feature. I have quoted the same word because the actual condition might differ between Feature and Custom elements. When feature condition evaluates to true, it sets the feature level to the value defined in Condition/ element. This level might mean install, but also not install depending on your logic. See Condition/, Custom/ and Feature/ element references in wix.chm for details. Hope this helps. -- Yan -Original Message- From: takashi.sek...@jp.yokogawa.com [mailto:takashi.sek...@jp.yokogawa.com] Sent: Tuesday, August 25, 2009 11:31 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] CustomAction Exectuion by Feature Hello, I would like to execute custom actions by feature using Wix3.0. How can I solve this issue? I means I want to execute a custom action when the dependent feature is selected. Does anyone know how to solve and implement it? Thank you. Takashi SEKIDO -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Copy folder structure
Hello, It's not built-in yet. One could extend the Wix Preprocessor to automatically generate new File elements. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Jaspreet Nabha [mailto:jaspreet.na...@headstrong.com] Sent: Tuesday, August 25, 2009 13:02 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Copy folder structure Hi All, I am using WiX3.0 and trying to copy a folder structure to user machine. Th efolder structure is very huge in depth and i dont want to copy every single file. Can you please help me out from this problem. Thanks Jaspreet ***The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review,retransmission,dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.*** -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] BMP and JPEG
Hi Sebastiaan, Windows Installer only supports BMP and JPG, and I remember the built- in reszing method looks horrible too. I also remember JPEGs are shown badly sometimes (like being compressed to 10% or so), so BMP is still the best option. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com On 24.08.2009, at 14:56, Sebastiaan Deckers wrote: Hi all, While adding custom graphics using the WixUIBannerBmp and WixUIDialogBmp WixVariable's I noticed that this adds a lot of overhead to the MSI package. Some testing shows that the bitmaps are not compressed. I also found that both BMP and JPEG formats are supported, but not GIF or PNG. I did not try any other formats. - Is there any reason why we should not use JPEG? - Why does WiX default to BMP files? - Which other file types are supported? Thanks Sebastiaan -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Actions from Execute sequence in UI
Hi guys, Does anybody know why the following standard sequence actions are allowed in the adminUIsequence table? I thought they should be authored into adminEXECUTEsequence only. Wix though allows to add them to adminUIsequence as well: - InstallValidate, InstallInitialize, InstallAdminPackage, InstallFiles, InstallFinalize Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Problem about installing windows services, need help!
Hi, Can the service be started manually after it got installed? Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: bonn deng [mailto:bonnd...@gmail.com] Sent: Thursday, August 20, 2009 09:31 To: wix-users Subject: [WiX-users] Problem about installing windows services, need help! Hi, all~I ran into this weird problem as follows: I'm using WiX3.0 to build an installation package which will install several windows services, but I can't start the service correctly, every time I got the message: Service 'PublishService' failed to start. Verify that you have sufficient privileges to start system services. And my wix code is as follows: *DirectoryRef Id=PUBLISHSERVICE* * Component Id=PublishServiceComponent Guid=5e9f12c0-9c80-4e6b-b271-2a8e21fabf2f* *File Id=PublishService.exe Name=PublishService.exe Source=PublishService.exe DiskId=1 KeyPath=yes /* *..//and other files needed by the PublishService.exe* * * *ServiceInstall Id=InstallPublishService Type=ownProcess Vital=yes Name=PublishService Description=PublishService Start=auto Account=NT AUTHORITY\NetworkService ErrorControl=ignore Interactive=no* */ServiceInstall* *ServiceControl Id=PublishServiceControl Name=PublishService Start=install Stop=both Remove=uninstall Wait=yes /* * /Component* */DirectoryRef* By the way, in order to exclude the possibility that the failure is caused by the PublishService.exe itself, I used the Visual Studio 2008 Command Prompt to run the command InstallUtil /u PublishService.exe, and I succeeded this way. Do you guys have any ideas where I'm going wrong? Thanks in advance~ Best wishes, Bonn -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Obtaining a property and running an exe if, and only if a property contains a value
Hi Sean, To get the registry values use the RegistrySearch element to set the value to a property. Then use a CustomAction with a condition using that property. Schedule that custom action after InstallInitialize in the InstallExecuteSequence. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] Sent: Thursday, August 20, 2009 09:21 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Obtaining a property and running an exe if, and only if a property contains a value Hi: I am testing a registry value (a string) for a previous installer written with another product, if the installation exe is found, I want to firstly obtain another registry value (a string) and then run the previous installer before re-installing the product using my installer. What is the best way of doing this? Sean. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] SpawnDialog doesn't work
Hello, Check the order of the events in the resulting MSI in the ControlEvent table. Maybe the Publish event you are adding with Order=1 is set after the NewDialog element to show the next page... Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: tcherkv [mailto:vega...@rogers.com] Sent: Wednesday, August 19, 2009 18:53 To: wix-users@lists.sourceforge.net Subject: [WiX-users] SpawnDialog doesn't work I'd like to show dialog when user presses Next button on welcome page warning user if some file not found. But it doesn't work. When I hit Next it just goes to next page. Here what I have: UIRef Id=WixUI_Mondo/ UIRef Id=WixUI_ErrorProgressText / UI Publish Dialog=WelcomeDlg Control=Next Order=1 Event=SpawnDialog Value=NoVcbDlg1/Publish Dialog Id=NoVcbDlg Width=260 Height=85 Title=[ProductName] [Setup] NoMinimize=yes Control Id=Return Type=PushButton X=100 Y=57 Width=56 Height=17 Default=yes Cancel=yes Text=amp;OK Publish Event=EndDialog Value=Return1/Publish /Control Control Id=Text Type=Text X=48 Y=15 Width=194 Height=30 TabSkip=no TextFilek was not found. Please install./Text /Control /Dialog /UI -- View this message in context: http://n2.nabble.com/SpawnDialog-doesn%27t-work-tp3473786p3473786.html Sent from the wix-users mailing list archive at Nabble.com. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Prevent file deletion duting upgrade
Hello, By default, Windows Installer never deletes files it doesn't know of (user files). So how is this accomplished in v1.0.0? Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Konstantin Vlasenko [mailto:konstantin.vlase...@gmail.com] Sent: Thursday, August 20, 2009 12:30 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Prevent file deletion duting upgrade Hello, I have the case below: 1. product.msi 1.0.0 deletes all files (even created by user) on uninstallation 2. product.msi 1.0.1 (RemoveExistingProducts Before=InstallInitialize /) How to prevent particular file deletion on 1.0.0 uninstallation. Maybe it is possible to read file content (text) to the property before RemoveExistingProducts action and then recreate it? What is the biggest content size which I can set to the propery? -- Konstantin Vlasenko -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Obtaining a property and running an exe if, and only if a property contains a value
Right after InstallValidate. Just set @After=InstallInitialize when adding the custom action to the sequence Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] Sent: Thursday, August 20, 2009 12:49 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Obtaining a property and running an exe if, and only if a property contains a value Hi: When is the Install initialize executed. Sean. -Original Message- From: Sebastian Brand (Instyler Software) [mailto:wix+us...@instyler.com] Sent: 20 August 2009 11:30 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Obtaining a property and running an exe if,and only if a property contains a value Hi Sean, To get the registry values use the RegistrySearch element to set the value to a property. Then use a CustomAction with a condition using that property. Schedule that custom action after InstallInitialize in the InstallExecuteSequence. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] Sent: Thursday, August 20, 2009 09:21 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Obtaining a property and running an exe if, and only if a property contains a value Hi: I am testing a registry value (a string) for a previous installer written with another product, if the installation exe is found, I want to firstly obtain another registry value (a string) and then run the previous installer before re-installing the product using my installer. What is the best way of doing this? Sean. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Prevent file deletion duting upgrade
Uh that's bad. Then I'd create a new custom action to copy user files to the new folder before removing the the old version. Using properties to store the contents of a file is probably not working... Also applications shouldn't store user files in the Program Files installation folder. Since Vista applications can't write there anyway if not running specifically as administrator. Use the AppData folders instead... Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Konstantin Vlasenko [mailto:konstantin.vlase...@gmail.com] Sent: Thursday, August 20, 2009 12:50 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Prevent file deletion duting upgrade Yes, I know. But for some reasons I have implemented this custom action on uninstall. CustomAction Id=REMOVEDIRS Property=CMD ExeCommand=/C rd /S /Q quot;[INSTALLDIR]quot; Return='asyncNoWait' Impersonate=yes / :) 2009/8/20 Sebastian Brand (Instyler Software) wix+us...@instyler.comwix%2bus...@instyler.com Hello, By default, Windows Installer never deletes files it doesn't know of (user files). So how is this accomplished in v1.0.0? Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Konstantin Vlasenko [mailto:konstantin.vlase...@gmail.com] Sent: Thursday, August 20, 2009 12:30 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Prevent file deletion duting upgrade Hello, I have the case below: 1. product.msi 1.0.0 deletes all files (even created by user) on uninstallation 2. product.msi 1.0.1 (RemoveExistingProducts Before=InstallInitialize /) How to prevent particular file deletion on 1.0.0 uninstallation. Maybe it is possible to read file content (text) to the property before RemoveExistingProducts action and then recreate it? What is the biggest content size which I can set to the propery? -- Konstantin Vlasenko -- -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Konstantin Vlasenko -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Obtaining a property and running an exe if, and only if a property contains a value
To schedule it before any UI is shown, it must be sequenced in the installUIsequence, probably before CostInitialize. But this will remove the old version before the user has seen any UI and won't be able to stop uninstallation. In Windows Installer it would be more common sense to perform the user interview before doing system modifications. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] Sent: Thursday, August 20, 2009 13:58 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Obtaining a property and running an exe if, and only if a property contains a value Ok: Does the InstallInitialize action ocure before any ui for the new installer? Ideally, I would like all this to occure before any new ui. Sean. -Original Message- From: Sebastian Brand (Instyler Software) [mailto:wix+us...@instyler.com] Sent: 20 August 2009 12:34 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Obtaining a property and running an exe if,and only if a property contains a value Right after InstallValidate. Just set @After=InstallInitialize when adding the custom action to the sequence Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] Sent: Thursday, August 20, 2009 12:49 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Obtaining a property and running an exe if, and only if a property contains a value Hi: When is the Install initialize executed. Sean. -Original Message- From: Sebastian Brand (Instyler Software) [mailto:wix+us...@instyler.com] Sent: 20 August 2009 11:30 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Obtaining a property and running an exe if,and only if a property contains a value Hi Sean, To get the registry values use the RegistrySearch element to set the value to a property. Then use a CustomAction with a condition using that property. Schedule that custom action after InstallInitialize in the InstallExecuteSequence. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] Sent: Thursday, August 20, 2009 09:21 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Obtaining a property and running an exe if, and only if a property contains a value Hi: I am testing a registry value (a string) for a previous installer written with another product, if the installation exe is found, I want to firstly obtain another registry value (a string) and then run the previous installer before re-installing the product using my installer. What is the best way of doing this? Sean. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX
Re: [WiX-users] LGHT 0204
I think you have to create 2 setups, one for x64 and and for x86. In your current situation it will copy everything to Program Files (x86) because the msi package is x86, so the msiexec is running in x86 mode and does not know about x64... Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Polazhenko Sergey [mailto:s_polazhe...@tut.by] Sent: July 29, 2009 13:11 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] LGHT 0204 In my case I wrote my custom c++ action dll, that detects Wow64 mode with WinApi function IsWow64Process and also uses Wow64DisableWow64FsRedirection to disable it. Also I saw code like: !-- Platform specific variables -- ?if $(var.Platform) = x64 ? ?define Win64 = yes ? ?define PlatformProgramFilesFolder = ProgramFiles64Folder ? ?else ? ?define Win64 = no ? ?define PlatformProgramFilesFolder = ProgramFilesFolder ? ?endif ? But I'm not sure, that it works pretty enough. _ WBR, Polazhenko Sergey -Original Message- From: Eswari [mailto:sravi...@yahoo.com] Sent: Wednesday, July 29, 2009 1:08 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] LGHT 0204 Hi, I resolved that.. I commented the below line for that.. Honestly i do not know what difference does it make.. Can any one tell me? !--DirectoryRef Id=dirED144AF07EBA0C13922116F7871E5218-- I have one more question.. I have to copy two dlls..One 32 bit in profram files and 64 in programfiles x86.. This is my code but it is copying 32 bit into programfiles x86 and does not copying 64 bit dll.. I have the following code Directory Id='TARGETDIR' Name='SourceDir' Directory Id='ProgramFilesFolder' Name='PFiles' Directory Id='Acme' Name='Acme' componet32bit /directory /Directory Directory Id='ProgramFiles64Folder' Name='PFiles' component64bit /Directory /Directory How to resolve this? Thanks in advance.. Regards, Subramanyeswari --- On Wed, 7/29/09, Eswari sravi...@yahoo.com wrote: From: Eswari sravi...@yahoo.com Subject: [WiX-users] LGHT 0204 To: wix-users@lists.sourceforge.net Date: Wednesday, July 29, 2009, 1:21 AM Hi, I am getting the following error on light error LGHT0204 : ICE03: Invalid DefaultDir string; Table: Directory, Column: DefaultDir, Key(s): TARGETDIR After some googling i think this is because i mentioned a duplicate TARGETDIR DirectoryRef Id=TARGETDIR Directory Id=dirED144AF07EBA0C13922116F7871E5218 Name=BuildShell64 / /DirectoryRef DirectoryRef Id=dirED144AF07EBA0C13922116F7871E5218 Directory Id='TARGETDIR' Name='SourceDir'//this is line that it showng error I generated this wxs file using heat passing my dll.. How to fix this error.. Regards, Subramanyeswari - - Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users --- --- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net
Re: [WiX-users] Change Add/Remove Programs buttons
Hi Ben, The only valid options are using ARPNOMODIFY and ARPNOREMOVE to disable the change and/or remove button. The ARP control panel seems to know when a Windows Installer package handles Modify different from Remove, so you'd have to remove some registry values from the HKLM\.. \Uninstall key. But this will break lot's of rules so I'd not recommend it. Also note that Vista/Win7's ARP section looks completely different, so maybe this problem can be discussed away somehow :-) Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com On 28.07.2009, at 18:30, Ben Hegarty wrote: Hi, Does anyone know how to change the behaviour of the add/remove programs window so that it has a combined 'change/remove' button instead of separate ones? Cheers -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Registry key don't get deleted.
This should only happen if the key was existing prior to the installation already. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: sandun css [mailto:sandun...@gmail.com] Sent: July 27, 2009 9:18 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Registry key don't get deleted. Hi, I am setting a registry key, using the following code. RegistryKey Root='HKLM' Key='Software\Microsoft\ProductName\Setup' Action=' createAndRemoveOnUninstall' But, it don't get deleted when I uninstalled the msi. Please advice.. Sandun -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] error 2902
Hi, First, check that your Windows Installer Version is current, I remember Error 2902 was part of a MSI engine fix sometime ago. If that's not it, try splitting the cab file. Unfortunally, WiX doesn't seem to support this yet. More about #2902 - http://www.appdeploy.com/msierrors/detail.asp?id=39 Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Sudipto [mailto:sudiptadey...@hotmail.com] Sent: July 23, 2009 10:16 To: wix-users@lists.sourceforge.net Subject: [WiX-users] error 2902 Whenever I include a huge file in the MSI, it fails to install in win2k3. I am using wix2 the huge file is PMBUBD which is 1.3 GB. If I exclude this file the MSI installs well. With the huge file if I build uncompressed, it also install fine Here is the log extract ... what is wrong here ? ... ... MSI (s) (6C:B8) [01:00:36:782]: Executing op: FileCopy(SourceName=PMBUBD,SourceCabKey=PMBUBD,DestName=PMBUBD,Attributes=0, FileSize=1398449600,PerTick=32768,,VerifyMedia=1,CheckCRC=0,,,InstallMod e=58982400,HashOptions=0,HashPart1=710615634,HashPart2=2033431498,HashPart3= 186933745,HashPart4=-923381210,,) MSI (s) (6C:B8) [01:00:36:782]: Executing op: CacheSizeFlush(,) MSI (s) (6C:B8) [01:00:36:782]: Executing op: InstallProtectedFiles(AllowUI=0) MSI (s) (6C:B8) [01:00:36:782]: Executing op: ActionStart(Name=RegisterProduct,Description=Registering product,Template=[1]) MSI (s) (6C:B8) [01:00:37:344]: Executing op: ChangeMedia(,MediaPrompt=Please insert the disk: ,MediaCabinet=InstallApp.cab,BytesPerTick=0,CopierType=2,ModuleFileName=C:\W INDOWS\Installer\b07e7aac.msi,IsFirstPhysicalMedia=1) MSI (s) (6C:B8) [01:00:37:344]: Note: 1: 2205 2: 3: Error MSI (s) (6C:B8) [01:00:37:344]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2902 DEBUG: Error 2902: Operation ixoFileCopy called out of sequence. MSI (s) (6C:B8) [01:00:37:360]: Note: 1: 2205 2: 3: Error MSI (s) (6C:B8) [01:00:37:360]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709 MSI (s) (6C:B8) [01:00:37:360]: Product: MyApp 4.3 -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2902. The arguments are: ixoFileCopy, , ... ... Thanks, Sudipta -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Unresolved reference to symbol 'WixUI:WixUI_ErrorProgressText
And -cultures:en-us too :-) Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Konstantin Vlasenko [mailto:konstantin.vlase...@gmail.com] Sent: July 22, 2009 7:43 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Unresolved reference to symbol 'WixUI:WixUI_ErrorProgressText Try to add *-ext WixUlExtension* to the command lines. 2009/7/22 jo...@msli.com jo...@msli.com I newbie using wix3.0.5419.0, and I am having a problem finding the Wix UI library. I have read WixUIExtension.dll is in the directory where I installed Wix, and all I need to do is run light.exe, and the library will be found. Some say A full path to light.exe might be required. In my wxs, in the product/product tag, I have: Property Id=WIXUI_INSTALLDIRINSTALLDIR/Property UIRef Id=WixUI_InstallDir / UIRef Id=WixUI_ErrorProgressText / These are the incantations: candle.exe MyApp.wxs MyApp.fragment.wxs-ext WixUtilExtension light.exe -sval MyApp.wixobj MyApp.fragment.wixobj -ext WixUtilExtension -o MyApp.msi The error: MyApp.wxs(24) : error LGHT0094 : Unresolved reference to symbol 'WixUI:WixUI_InstallDir' in section 'Product:*'. MyApp.wxs(25) : error LGHT0094 : Unresolved reference to symbol 'WixUI:WixUI_ErrorProgressText' in section 'Product:*'. I tried from cygwin and cmd, with full paths to Wix directory and without full paths, but the outcome is always the same. It would be great if there was some environment variable I could set. Can you see anything wrong with what I am trying to do? CONFIDENTIALITY NOTICE: This electronic mail message and any attachment hereto may contain confidential information of Meyer Sound Laboratories, Incorporated and is intended for the personal and confidential use of the designated recipient(s) only. If you are not the intended recipient (or responsible for delivering the message to the intended recipient), you have received this message in error and any review, distribution, or copying of this message or any attachment hereto is prohibited. If you have received this message in error, please promptly notify the sender and permanently delete it from your computer. -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Konstantin Vlasenko -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] A issue when uninstalling--unable to remove shortcut
Hi Tuanqing, Can you post some Wix code you are using? Is it possible that the shortcut gets modified somehow (maybe it links to DOS command which automatically modifies .lnk to .pif files) Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Tuanqing Zhang (MDT InfoTech) [mailto:v-tua...@microsoft.com] Sent: July 20, 2009 7:03 To: wix-users@lists.sourceforge.net Subject: [WiX-users] A issue when uninstalling--unable to remove shortcut Hi all, I'm using wix 2.0 to create an installer for my application. When installing, everything is ok. But when uninstalling, something strange happens. On 32bit Vista, All shortcuts seems to be removed based on the log file, but there are still an shortcut link left in the start menu. There are four shortcuts in total, the rest three shortcuts are removed except this only one. While in 64bit XP, everything are removed clearly and sure the shortcut link is also removed. Does anyone encounter similar issue? Best Regards, Tuanqing -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] ReserveCost/@RunLocal value
Hi Hukum It seems that ReserveCost supports 2GB at maximum. Have you tried adding five ReserveCost elements to get 5x2 GB=10GB ? Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Hukumchand Shah [mailto:hukum.s...@gmail.com] Sent: July 17, 2009 7:28 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] ReserveCost/@RunLocal value Hi All, I want to check disk space for 10 GB. I have put following code: Component Id=MyCustomComponent Guid=A2DCFC09-0651-4E2C-04A4-B18F759F9F41 ReserveCost Directory=CABDIR RunLocal=102400 RunFromSource=0 Id=CABID / /Component and when i tries to build this the it throws following error: error CNDL0008 : The ReserveCost/@RunLocal attribute's value, '102400', is not a legal integer value. Legal integer values are from -2,147,483,648 to 2,147,483,647. So what value I have to mention here. for 10Gb disk space. Can someone help in this? Thanks, Hukum -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Howcreate *.exe file (not *.msi)
Hi, A bootstrapper is planned with burn for WiX 3.5 pretty soon (*wink to Rob*). So far, there's no built in exe packaging in WiX. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: A.S [mailto:ansic.s...@gmail.com] Sent: July 17, 2009 14:47 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Howcreate *.exe file (not *.msi) Hi, How create (exe) installer - non *.msi in WIX 3 and VS 2008. I need exe for activeX installer TIA -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Read install location from an env variable
Hello Sandun, You cannot initialize the property default value with another property value or environment variable. You may either use a SetProperty custom action or get the default value from the registry using a RegistrySearch within that Property to get the environment variable value from HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment (System variables) or HKEY_CURRENT_USER\Environment (User variables) Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: sandun css [mailto:sandun...@gmail.com] Sent: July 16, 2009 10:17 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Read install location from an env variable Hi, I need to install my msi to a certain location. That location is read from an env. variable. I am not quite sure how to do it. Property Id=INSTALLLOCATION[%myPath]/Property is not working. (When installing I get an error saying Could not find network location [%myPath]) Any idea regarding this? Thanks, Sandun -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Help needed on suppressing unwanted message
Hi Libin, Create a property and add a FileSearch to find out if Mono is installed already. Then change the condition of the InstallMono action to run only when that property is not set (ie. Mono was not found on the system). You may want to do the same with the GTK action to avoid reinstallation of GTK# as well. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: libin [mailto:libin.moha...@wipro.com] Sent: July 16, 2009 8:35 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Help needed on suppressing unwanted message Hi all, I am using WIX for installing a windows application created using GTK#. We are using mono to run the application. In the installer package we are shipping both GTK# and mono. The installer is working perfectly when both mono and GTK# is not installed in the system. The issue is when mono is installed and unwanted message is coming up showing mono seems to be installed please uninstall and try again actually this is not causing any problem in successful installation but I want to suppress this message. code snippet: inside component tag: File Id=MONOSETUP Source=../Pre-Requisites/To Run/W2K3/x86_x64/mono-2.0.1-gtksharp-2.10.4-win32-1.exe Checksum=yes Hidden=yes/ File Id=GTKSETUP Source=../Pre-Requisites/To Run/W2K3/x86_x64/gtksharp-2.8.3-win32-0.0.exe Checksum=yes Hidden=yes/ Custom action for installation: !-- Install Mono and Gtk#-- CustomAction Id=InstallMono FileKey=MONOSETUP ExeCommand=/silent Execute=deferred Impersonate=no Return=ignore/ CustomAction Id=InstallGtk FileKey=GTKSETUP ExeCommand=/silent Execute=deferred Impersonate=no Return=ignore/ InstallExecuteSequence Custom Action=InstallMono Before=InstallFinalize ![CDATA[NOT REMOVE]] /Custom Custom Action=InstallGtk Before=InstallFinalize ![CDATA[NOT REMOVE]] /Custom /InstallExecuteSequence Please help me to find out what went wrong here Many thanks Libin -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Can not write registry vlue on 64bit system
If the installer runs in 32-bit mode, the registry value is written in the Software\WOW6432Node\Microsoft\... key. 32-bit applications will still find it at the right place as Windows maps that. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Tuanqing Zhang (MDT InfoTech) [mailto:v-tua...@microsoft.com] Sent: July 16, 2009 11:35 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Can not write registry vlue on 64bit system Hi all, I create an installer using wix 2.0.5805.0 and want to write a registry value, the code looks as follows: Component Id=CID_DetectionRegKey Guid={47BD4C22-286F-4B4B-96AF-87051F40EB9B} DiskId=1 Registry Id=RID_DetectionRegKey Root=HKLM Key=SOFTWARE\Microsoft\Automotive\Installer Name=Version Value=1... Action=write Type=string / /Component It works fine on 32 bit XP and Vista system. But after installing on 64bit Xp system, I cannot find the key SOFTWARE\Microsoft\Automotive\HMI\Installer and the value Version in the registry. Anyone knows how to solve this issue? Best Regards, Tuanqing -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Help needed on suppressing unwanted message
You don't need the checkmonoinstalled property, remove those tags: CustomAction Id=checkMonoInstalled .. and Custom Action=checkMonoInstalled ... Then change the condition by setting inner text of the sequence Custom .. element to Custom Action=InstallMono Before=InstallFinalize ![CDATA[NOT REMOVE AND NOT MONOINSTALLED]] /Custom If that doesnt work, test if the MONOINSTALLED property has the correct value (see the msi installation logfile) Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: libin [mailto:libin.moha...@wipro.com] Sent: July 16, 2009 12:27 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Help needed on suppressing unwanted message Dear Brand, I changed the code like this: Property for checking the registry: Property Id=MONOINSTALLED RegistrySearch Id=MonoSearch Key=SOFTWARE\Novell\Mono\2.0.1 Name=Install Root=HKLM Type=raw/RegistrySearch /Property CustomAction Id=checkMonoInstalled Property=checkmonoinstalled Value=[MONOINSTALLED] Return=check /CustomAction Custom action for installation: CustomAction Id=InstallMono FileKey=MONOSETUP ExeCommand=/silent Execute=deferred Impersonate=no Return=ignore/ Install sequence: InstallExecuteSequence Custom Action=checkMonoInstalled Before=InstallFinalize ![CDATA[NOT REMOVE]] /Custom Custom Action=InstallMono After=checkMonoInstalled ![CDATA[NOT REMOVE]] /Custom /InstallExecuteSequence But still the message is coming. I think I have to include the condition(if already installed no reinstallation) somewhere. Can you please tell me what I am missing here? I am new to WIX and I don't know most of the keywords and functions. Thanks a lot Libin -Original Message- From: Sebastian Brand (Instyler Software) [mailto:wix+us...@instyler.com] Sent: Thursday, July 16, 2009 2:02 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Help needed on suppressing unwanted message Hi Libin, Create a property and add a FileSearch to find out if Mono is installed already. Then change the condition of the InstallMono action to run only when that property is not set (ie. Mono was not found on the system). You may want to do the same with the GTK action to avoid reinstallation of GTK# as well. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: libin [mailto:libin.moha...@wipro.com] Sent: July 16, 2009 8:35 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Help needed on suppressing unwanted message Hi all, I am using WIX for installing a windows application created using GTK#. We are using mono to run the application. In the installer package we are shipping both GTK# and mono. The installer is working perfectly when both mono and GTK# is not installed in the system. The issue is when mono is installed and unwanted message is coming up showing mono seems to be installed please uninstall and try again actually this is not causing any problem in successful installation but I want to suppress this message. code snippet: inside component tag: File Id=MONOSETUP Source=../Pre-Requisites/To Run/W2K3/x86_x64/mono-2.0.1-gtksharp-2.10.4-win32-1.exe Checksum=yes Hidden=yes/ File Id=GTKSETUP Source=../Pre-Requisites/To Run/W2K3/x86_x64/gtksharp-2.8.3-win32-0.0.exe Checksum=yes Hidden=yes/ Custom action for installation: !-- Install Mono and Gtk#-- CustomAction Id=InstallMono FileKey=MONOSETUP ExeCommand=/silent Execute=deferred Impersonate=no Return=ignore/ CustomAction Id=InstallGtk FileKey=GTKSETUP ExeCommand=/silent Execute=deferred Impersonate=no Return=ignore/ InstallExecuteSequence Custom Action=InstallMono Before=InstallFinalize ![CDATA[NOT REMOVE]] /Custom Custom Action=InstallGtk Before=InstallFinalize ![CDATA[NOT REMOVE]] /Custom /InstallExecuteSequence Please help me to find out what went wrong here Many thanks Libin -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have
Re: [WiX-users] Subscribe Edit to SelectionChanged event of ListBox
Hello Natalia, The SelectionChange event is only published by a DirectoryList, so it won't update your Edit box when the folder selection in the listbox is changed. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Natalia [mailto:natalia.gladk...@arcadia.spb.ru] Sent: July 13, 2009 12:16 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Subscribe Edit to SelectionChanged event of ListBox Hello all, I'm facing the problem while trying to make a dialog for choosing start menu folder for creating application shortcut. There are 2 controls on the dialog: Edit for entering new folder name (if user chooses to create a new folder for shortcut) and ListBox in which existing folders are listed. Behaviour should be like the following: if user chooses some item in ListBox, Edit should be updated to the chosen item. User also should be able to enter new folder name in Edit. But now Edit is updated only until some text is entered in Edit. After that Edit is not updated on changing selected item in ListBox. If I go to the next dialog and return back, all is working well again until I manually change text in Edit. Here is the code: Control Id=ProgramFolderEdit Type=Edit X=20 Y=104 Width=332 Height=18 Property=EXISTINGFOLDERS Subscribe Event=SelectionChanged Attribute=Text / /Control Control Id=ExistingFoldersListBox Type=ListBox X=20 Y=143 Width=332 Height=100 Property=EXISTINGFOLDERS ListBox Property=EXISTINGFOLDERS /ListBox /Control Any ideas?... -- View this message in context: http://n2.nabble.com/Subscribe-Edit-to-%22SelectionChanged%22-event-of-ListB ox-tp3249912p3249912.html Sent from the wix-users mailing list archive at Nabble.com. -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] single msi-file seems to need 1033.mst transform file
We had a similar problem. When using the transform trick, the initial language of the msi package has to be the language of the system (regional settings - location) or the transforming won't find the right mst file... Solution: set the Package Languages field to 0. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Robert Nickel [mailto:robert.nic...@dcam.de] Sent: July 15, 2009 9:22 To: wix-users@lists.sourceforge.net Subject: [WiX-users] single msi-file seems to need 1033.mst transform file Hi, I have an installation with product language English (US) which compiles and links into a single msi-file. It runs on most PCs, however, lately I experienced a strange problem on a dutch OS where it seems to require an English transform file. I thought all this information is automatically merged with the msi file? Product Language is 1033. Package Languages are set to 1031,1033. I do not use any special compiler/linker options and no transform files at all. The log file is quite short: DEBUG: Error 2203: Database: 1033. Cannot open database file. System error -2147287038 1: 2203 2: 1033 3: -2147287038 Fout tijdens het toepassen van transforms. Controleer dat de opgegeven transformpaden geldig zijn. 1033 MSI (c) (DC:50) [17:18:04:072]: Product: DCAMCUT 6.0 for SolidWorks -- Installation failed. The dutch error message means: Error applying transforms. Verify that the specified transform paths are valid. Does anyone have an idea what to do? Thanks in advance Robert -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Set required Free Disk space
Hello, You can use the ReserveCost element under any component to reserve additional disk space. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Hukumchand Shah [mailto:hukum.s...@gmail.com] Sent: July 09, 2009 7:22 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Set required Free Disk space Hi All, I want set a limit for 10 GB of free disk space before installing my application which I developed in WIX. How can I achieve that in WIX? I can't use C or C++ code. Thanks, Hukum -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Conditionally pass the property value to File Element Name, Source attributes.
Hello, The @Source is used by the WiX compiler when creating the .msi file to read the file you want to add to the msi. WiX does not handle any [] Properties during compile time - Properties are handled by the MSI Engine during installation. To achieve your goal use a compiler variable, e.g. $(var.PATHARGS) - these variables can be set when starting wix and will be handled by the Preprocessor. See WiX help Preprocessor for more. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: mahesh u [mailto:maheshu.u...@gmail.com] Sent: July 09, 2009 11:26 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Conditionally pass the property value to File Element Name, Source attributes. I am using Wix Version 2. I have the two features F1 and F2. F2 is a sub component of F1. I have a component C1 which is kept inside F1. The component C1 has a file element like this: File Id=xyz Name=abc.txt Source=C:\abc.txt / But, the Source attribute path and Name attribute depends on the Feature which is selected. So, I tried to have a custom action to set a property PATHARGS to the path based on selection of a feature (F1 or F2) and also property FILENAME to set appropriate file based on selection of Feature (F1 or F2). Now, if I redefine File element as File Id=xyz Name=[FILENAME] Source=[PATHARGS] / , the File element is unable to read the property value. So, my questions are: 1) Why are the above mentioned steps not working properly? 2) Is there any other way to pass property values to File Name and Source element. --thanks.. -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Conditionally pass the property value to File Element Name, Source attributes.
The @Source attribute is not available when the user selects the features. It's only there for the WiX compiler to add the file to the package. The @source is the location of the file on your development machine. It has nothing to do with the installation itself. If you do not want your installation to install a file if a specific feature is selected use a condition for the component element. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: mahesh u [mailto:maheshu.u...@gmail.com] Sent: July 09, 2009 12:23 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Conditionally pass the property value to File Element Name, Source attributes. The problem I am facing is that I cannot use preprocessor variables for PATHARGS because the selection of feature can only be got in run time... So, I want to set a property only based on feature selection and use it in Source attribute of File element.. On Thu, Jul 9, 2009 at 3:14 PM, Sebastian Brand (Instyler Software) wix+us...@instyler.com wix%2bus...@instyler.com wrote: Hello, The @Source is used by the WiX compiler when creating the .msi file to read the file you want to add to the msi. WiX does not handle any [] Properties during compile time - Properties are handled by the MSI Engine during installation. To achieve your goal use a compiler variable, e.g. $(var.PATHARGS) - these variables can be set when starting wix and will be handled by the Preprocessor. See WiX help Preprocessor for more. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: mahesh u [mailto:maheshu.u...@gmail.com] Sent: July 09, 2009 11:26 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Conditionally pass the property value to File Element Name, Source attributes. I am using Wix Version 2. I have the two features F1 and F2. F2 is a sub component of F1. I have a component C1 which is kept inside F1. The component C1 has a file element like this: File Id=xyz Name=abc.txt Source=C:\abc.txt / But, the Source attribute path and Name attribute depends on the Feature which is selected. So, I tried to have a custom action to set a property PATHARGS to the path based on selection of a feature (F1 or F2) and also property FILENAME to set appropriate file based on selection of Feature (F1 or F2). Now, if I redefine File element as File Id=xyz Name=[FILENAME] Source=[PATHARGS] / , the File element is unable to read the property value. So, my questions are: 1) Why are the above mentioned steps not working properly? 2) Is there any other way to pass property values to File Name and Source element. --thanks.. -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users
Re: [WiX-users] Boolean paramaters
Hello, All values except 0 and (empty string) are interpreted as TRUE. So you may use the condition MYFLAG AND (Installed OR (POWERSHELL = 1.0)) and have the commandline msiexec /i installer.msi MYFLAG=anyvalue Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: sandun css [mailto:sandun...@gmail.com] Sent: Wednesday, July 01, 2009 6:21 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Boolean paramaters Hi, I have some conditions in my msi, like the following, Condition Message=Required prerequisite (PowerShell 1.0) is not found. ![CDATA[Installed OR (POWERSHELL = 1.0)]] /Condition But I need to run these conditions only if a certain parameter is set to 'true'. (i.e. msiexec /i installer.msi MYFLAG=true) Are there boolean parameters, or do I need to treat 'true' and 'false' valuse as strings? Thanks, Sandun -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] wix3_x64.msi
Thanks for all the replies. My problem is that our tool is calling the WiX compiler, binder and linker directly, without light.exe - light.exe is 32-bit only, probably because winterop.dll (interop to Windows CabBuilder) is 32-bit only. Now calling the WiX binder directly from our 64-bit tool, invoking anything from winterop fails (BadImageFormatException). Any chance in getting a 64-bit release of winterop.dll? Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Mike Carlson (DEV DIV) [mailto:mica...@microsoft.com] Sent: Tuesday, June 30, 2009 7:21 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] wix3_x64.msi The x64 CA's also come with the x86 version of WiX. I believe the only difference between the x86 and x64 releases of WiX is the MSBuild difference mentioned below. Also, to be clear, while some of the custom actions are also built as 64-bit DLLs, others are not, and support 64-bit scenarios through the Wow64 API. Thanks, Mike Carlson -Original Message- From: John Robbins [mailto:j...@wintellect.com] Sent: Tuesday, June 30, 2009 10:04 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] wix3_x64.msi Doh! Yes, the CA's have x64 versions too. The x64 version will also get the dutil_*_x64.lib files as well. -Original Message- From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] Sent: Tuesday, June 30, 2009 9:44 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] wix3_x64.msi I was under the impression that the C++ custom actions are also built as 64-bit DLLs. Is that not the case? Edwin G. Castro Software Developer - Staff Electronic Banking Services Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com Please consider the environment before printing this e-mail -Original Message- From: John Robbins [mailto:j...@wintellect.com] Sent: Tuesday, June 30, 2009 9:28 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] wix3_x64.msi The x64 installer also installs the MSBuild target files into C:\Program Files\MSBuild\Microsoft\WiX so if you do a command line build using MSBUILD.EXE from the Framework64 directory it works. -Original Message- From: Sebastian Brand (Instyler Software) [mailto:wix+us...@instyler.com] Sent: Tuesday, June 30, 2009 4:34 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] wix3_x64.msi Hello, I was just installing the x64 version of WiX and noticed the files are identical as in x86. All binaries are Any Cpu assemblies. Can someone tell me what (besides the installer) are the differences in the x64 release of WiX? Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com http://www.instyler.com - - -- -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- - --- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] wix3_x64.msi
I got it working. I compiled winterop.dll as 64-bit. Back on Route 64... Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Sebastian Brand (Instyler Software) [mailto:wix+us...@instyler.com] Sent: Wednesday, July 01, 2009 8:22 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] wix3_x64.msi Thanks for all the replies. My problem is that our tool is calling the WiX compiler, binder and linker directly, without light.exe - light.exe is 32-bit only, probably because winterop.dll (interop to Windows CabBuilder) is 32-bit only. Now calling the WiX binder directly from our 64-bit tool, invoking anything from winterop fails (BadImageFormatException). Any chance in getting a 64-bit release of winterop.dll? Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Mike Carlson (DEV DIV) [mailto:mica...@microsoft.com] Sent: Tuesday, June 30, 2009 7:21 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] wix3_x64.msi The x64 CA's also come with the x86 version of WiX. I believe the only difference between the x86 and x64 releases of WiX is the MSBuild difference mentioned below. Also, to be clear, while some of the custom actions are also built as 64-bit DLLs, others are not, and support 64-bit scenarios through the Wow64 API. Thanks, Mike Carlson -Original Message- From: John Robbins [mailto:j...@wintellect.com] Sent: Tuesday, June 30, 2009 10:04 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] wix3_x64.msi Doh! Yes, the CA's have x64 versions too. The x64 version will also get the dutil_*_x64.lib files as well. -Original Message- From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] Sent: Tuesday, June 30, 2009 9:44 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] wix3_x64.msi I was under the impression that the C++ custom actions are also built as 64-bit DLLs. Is that not the case? Edwin G. Castro Software Developer - Staff Electronic Banking Services Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com Please consider the environment before printing this e-mail -Original Message- From: John Robbins [mailto:j...@wintellect.com] Sent: Tuesday, June 30, 2009 9:28 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] wix3_x64.msi The x64 installer also installs the MSBuild target files into C:\Program Files\MSBuild\Microsoft\WiX so if you do a command line build using MSBUILD.EXE from the Framework64 directory it works. -Original Message- From: Sebastian Brand (Instyler Software) [mailto:wix+us...@instyler.com] Sent: Tuesday, June 30, 2009 4:34 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] wix3_x64.msi Hello, I was just installing the x64 version of WiX and noticed the files are identical as in x86. All binaries are Any Cpu assemblies. Can someone tell me what (besides the installer) are the differences in the x64 release of WiX? Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com http://www.instyler.com - - -- -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- - --- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] wix3_x64.msi
Hello, I was just installing the x64 version of WiX and noticed the files are identical as in x86. All binaries are Any Cpu assemblies. Can someone tell me what (besides the installer) are the differences in the x64 release of WiX? Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com http://www.instyler.com -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users