Re: [WiX-users] Hiding Browse button in CustomizeDlg
Without including my own complete source for this dialog... It's not such a big deal. I've written a step-by-step beginners guide to how to do it, which you might find useful. http://www.merlinia.com/mdt/WiXTutorial.msl The problem is that the Browse button on CustomizeDlg is disabled but not hidden. Just out of curiosity, did you do something to make it hidden? It's normally enabled. Rennie From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Payne Sent: 7. juni 2007 03:38 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Hiding Browse button in CustomizeDlg Hi, I'm using WIXUI_Mondo in Wix 2.0. This dialog does not allow the user to choose the Installation directory for the product, which is fine. The problem is that the Browse button on CustomizeDlg is disabled but not hidden. Without including my own complete source for this dialog, is there a way to add a row to the ControlCondition table to hide this button? Is there another means of hiding this button? Thanks. --Doug - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to use a localized string for an error text of an custom action
Hello, I need to use in my project an custom action which displays an error message and aborts installation in some specific conditions. In order to achieve this I wrote the following line: CustomAction Id=ValidInstall Error=Some error message/ If I place this custom action in the InstallExecuteSequence and everything works as I was expecting. When my conditions are not met, the Some error message is displayed and installation aborted. Now, I want to use a localized string as the error message in order to be able to display the message in different languages. For this I have added in a wxl file the following String block: String Id=MyErrMessage Overridable=yesSome error message/String and I have modified my CustomAction block as follows: CustomAction Id=ValidInstall Error=[MyErrMessage]/. The project builds fine, but when I run my setup it fails with the following error: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2869. Could you please advise me of what I did wrong and if it's possible and how to achive what I need ? Thanks, Cristian Baiu - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to use a localized string for an error text of ancustom action
Is this WiX 2 or 3? With WiX 2 I would assume you should write CustomAction Id=ValidInstall Error=$(loc.SomeErrorMessagLabel) / Rennie -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cristian Baiu Sent: 7. juni 2007 09:57 To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to use a localized string for an error text of ancustom action Hello, I need to use in my project an custom action which displays an error message and aborts installation in some specific conditions. In order to achieve this I wrote the following line: CustomAction Id=ValidInstall Error=Some error message/ If I place this custom action in the InstallExecuteSequence and everything works as I was expecting. When my conditions are not met, the Some error message is displayed and installation aborted. Now, I want to use a localized string as the error message in order to be able to display the message in different languages. For this I have added in a wxl file the following String block: String Id=MyErrMessage Overridable=yesSome error message/String and I have modified my CustomAction block as follows: CustomAction Id=ValidInstall Error=[MyErrMessage]/. The project builds fine, but when I run my setup it fails with the following error: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2869. Could you please advise me of what I did wrong and if it's possible and how to achive what I need ? Thanks, Cristian Baiu -- --- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] COM+ in V3
Thanks for the confirmation Mike. I had the code correct but couldn't find the extension DLL. There appears to be difference between the MSI (which has an WixOfficeExtension.dll not in the binaries zip) and the binaries.zip, which has the WiXComPlusExtension.dll missing from the msi. All sorted now thanks. On 06/06/07, Mike Dimmick [EMAIL PROTECTED] wrote: Should be OK. The xmlns declaration should be http://schemas.microsoft.com/wix/ComPlusExtension For example: Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; xmlns:complus=http://schemas.microsoft.com/wix/ComPlusExtension; complus:ComPlusApplication …/ /Wix Ensure you're passing the WixComPlusExtension to both candle and light on the command line using the -ext option. In v3 you only need specify the assembly name, unlike v2. Any error messages produced? -- Mike Dimmick -- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Graham Harwood *Sent:* 06 June 2007 16:49 *To:* wix-users@lists.sourceforge.net *Subject:* [WiX-users] COM+ in V3 Hi, Did I understand from the V3 history (weekly build 3.0.3001.0) that COM+ is now integrated into V3? I can't resolve the ComPlusApplication element using either the original pubca schema or the ComPlusExtension schema denoted in the help chm. Did I miss something or have I jumped the gun on this one? Regards Graham - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Is it possible to detect if a software is currentlyrunning ?
Hopefully Windows Installer does this for any running application you're trying to uninstall. The problem is you don't have a mecanism in WiX, other than a custom action, which might help in detecting whether the browser is open. Dacian - Original Message From: Palit [EMAIL PROTECTED] To: fiordean dacian [EMAIL PROTECTED]; WiX-users@lists.sourceforge.net Sent: Wednesday, June 6, 2007 6:03:36 PM Subject: Re: [WiX-users] Is it possible to detect if a software is currentlyrunning ? DIV { MARGIN:0px;} Thanks This what I thought and done but when I Uninstall my WebPlayer which it is running in a browser, installer can tell me that I must quit the active browser to continue ... so there is a mecanism somehere Nicolas. - Original Message - From: fiordean dacian To: WiX-users@lists.sourceforge.net Sent: Tuesday, June 05, 2007 4:57 PM Subject: Re: [WiX-users] Is it possible to detect if a software is currentlyrunning ? Hi Nicolas, As far as I know, you'll have to write a custom action for that. Good luck, Dacian - Original Message From: Palit [EMAIL PROTECTED] To: WiX-users@lists.sourceforge.net Sent: Tuesday, June 5, 2007 3:36:14 PM Subject: [WiX-users] Is it possible to detect if a software is currently running ? Hi, I'm doing a wix installer for a Web-Player. Is it possible during the beginning of the process of installation to detect the running browsers ? Or I must do a custom action ? Thanks Nicolas, - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Is it possible to detect if a software is currentlyrunning ?
ok Thanks - Original Message - From: fiordean dacian To: Palit ; WiX-users@lists.sourceforge.net Sent: Thursday, June 07, 2007 10:25 AM Subject: Re: [WiX-users] Is it possible to detect if a software is currentlyrunning ? Hopefully Windows Installer does this for any running application you're trying to uninstall. The problem is you don't have a mecanism in WiX, other than a custom action, which might help in detecting whether the browser is open. Dacian - Original Message From: Palit [EMAIL PROTECTED] To: fiordean dacian [EMAIL PROTECTED]; WiX-users@lists.sourceforge.net Sent: Wednesday, June 6, 2007 6:03:36 PM Subject: Re: [WiX-users] Is it possible to detect if a software is currentlyrunning ? Thanks This what I thought and done but when I Uninstall my WebPlayer which it is running in a browser, installer can tell me that I must quit the active browser to continue ... so there is a mecanism somehere Nicolas. - Original Message - From: fiordean dacian To: WiX-users@lists.sourceforge.net Sent: Tuesday, June 05, 2007 4:57 PM Subject: Re: [WiX-users] Is it possible to detect if a software is currentlyrunning ? Hi Nicolas, As far as I know, you'll have to write a custom action for that. Good luck, Dacian - Original Message From: Palit [EMAIL PROTECTED] To: WiX-users@lists.sourceforge.net Sent: Tuesday, June 5, 2007 3:36:14 PM Subject: [WiX-users] Is it possible to detect if a software is currently running ? Hi, I'm doing a wix installer for a Web-Player. Is it possible during the beginning of the process of installation to detect the running browsers ? Or I must do a custom action ? Thanks Nicolas, - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Sanity Check: Shortcuts and HKCU for a per machine install
Many of the examples I've seen show an idiom that has a component containing a registry key and a shortcut. Supposedly, the reason is that this supports user roaming profiles somehow, which I don't quite understand. However, on Vista, the HKCU this will be installed into is the local system account I assume. My question is, if I create a shortcut on the desktop for my per machine install, should I really be using an HKCU registry path as the keypath? Or should I be using HKLM as the root instead? Anthony Wieser Wieser Software Ltd - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] More PI}}LS IN$$IDE
{BODY}- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Sanity Check: Shortcuts and HKCU for a per machine install. Should it be HKMU?
Anthony Wieser wrote: Looking into this further, HKLM doesn't work, however reading the ICE43 documenation, it says: Yes, ICE43 is wrong in this respect. It should read ALLUSERS and check (using HKMU is an interesting workaround though). That almost works, but then you get an ICE57 error instead, that says: Component 'DesktopShortcut' has both per-user data and a keypath that can be either per-user or per-machine. So you worked around the ICE43 error and ended up with an ICE57 error :p The documentation on the Desktop Folder indicates that it changes based on the ALLUSERS property, so is it my INSTALLLOCATION causing this, or something else (like ICE57 coded incorrectly)? Sounds like it. Pick which ICE you're going to ignore basically.. in your case it sounds like ICE57 is the one. Tony - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] COM+ / RegAsm
Did you provide the typelib file in the MSI? The CA won't create it for you if you don't. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of LINFIELD , Andrew, GBM Sent: Monday, June 04, 2007 5:34 PM To: 'wix-users@lists.sourceforge.net' Subject: [WiX-users] COM+ / RegAsm I've got most of my COM+ applications installed using Wix v3 however I'm having problems with this private .Net assembly: File Id=PageBuilder.dll Name=PageBuilder.dll Source=$(var.SourceDir_Web)\PageBuilder.NET\PageBuilder.dll / pca:ComPlusApplication Id=PageBuilderComPlusApp Name=WebDev-PageBuilder Activation=local Authentication=packet pca:ComPlusAssembly Id=PageBuilderComPlusAss DllPath=[#PageBuilder.dll] TlbPath=[#PageBuilder.tlb] Type=.net RegisterInCommit=no DllPathFromGAC=no / /pca:ComPlusApplication The specified COM+ application is created but the component is not added. No error messages or notes exist in the MSI log to indicate a failure. I'm assuming that as part of the custom action RegAsm is used and the typelib I supply is used i.e. regasm pagebuilder.dll /tlb:pagebuilder.tlb /codebase. If I do this manually I can then add the component manually and all works as expected. If anyone can shed some light on this it would be really appreciated. Many thanks Andy Linfield *** The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB. Authorised and regulated by the Financial Services Authority This e-mail message is confidential and for use by the addressee only. If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer. Internet e-mails are not necessarily secure. The Royal Bank of Scotland plc does not accept responsibility for changes made to this message after it was sent. Whilst all reasonable care has been taken to avoid the transmission of viruses, it is the responsibility of the recipient to ensure that the onward transmission, opening or use of this message and any attachments will not adversely affect its systems or data. No responsibility is accepted by The Royal Bank of Scotland plc in this regard and the recipient should carry out such virus and other checks as it considers appropriate. Visit our websites at: www.rbs.com www.rbsgc.com www.rbsmarkets.com *** - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Sanity Check: Shortcuts and HKCU for a per machine install. Should it be HKMU?
Rob has a blog post on how to create a shortcut that passes validation. Personally I stopped paying attention to those warnings long ago. Rob Tony Hoyle wrote: Anthony Wieser wrote: Looking into this further, HKLM doesn't work, however reading the ICE43 documenation, it says: Yes, ICE43 is wrong in this respect. It should read ALLUSERS and check (using HKMU is an interesting workaround though). That almost works, but then you get an ICE57 error instead, that says: Component 'DesktopShortcut' has both per-user data and a keypath that can be either per-user or per-machine. So you worked around the ICE43 error and ended up with an ICE57 error :p The documentation on the Desktop Folder indicates that it changes based on the ALLUSERS property, so is it my INSTALLLOCATION causing this, or something else (like ICE57 coded incorrectly)? Sounds like it. Pick which ICE you're going to ignore basically.. in your case it sounds like ICE57 is the one. Tony - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Sanity Check: Shortcuts and HKCU for a per machine install. Should it be HKMU?
That's where I got the original idiom from, but it feels wrong for an all users install. Yes, doing it this way gives no errors, but it doesn't make sense (to me at least). Any chance one of you guys inside Microsoft could get a comment out of the Windows Installer team, or can you suggest how I could raise it with them, for the benefit of all of us? Anthony Wieser Wieser Software Ltd Oh, and ICE57's message is actually an error, not a warning, strangely. - Original Message - From: Rob Hamflett [EMAIL PROTECTED] To: wix-users@lists.sourceforge.net Sent: Thursday, June 07, 2007 1:19 PM Subject: Re: [WiX-users] Sanity Check: Shortcuts and HKCU for a per machine install. Should it be HKMU? D'oh! Including the link might have helped. Here it is. http://robmensching.com/blog/archive/2007/04/27/How-to-create-an-uninstall-shortcut-and-pass-all-the.aspx Rob Rob Hamflett wrote: Rob has a blog post on how to create a shortcut that passes validation. Personally I stopped paying attention to those warnings long ago. Rob Tony Hoyle wrote: Anthony Wieser wrote: Looking into this further, HKLM doesn't work, however reading the ICE43 documenation, it says: Yes, ICE43 is wrong in this respect. It should read ALLUSERS and check (using HKMU is an interesting workaround though). That almost works, but then you get an ICE57 error instead, that says: Component 'DesktopShortcut' has both per-user data and a keypath that can be either per-user or per-machine. So you worked around the ICE43 error and ended up with an ICE57 error :p The documentation on the Desktop Folder indicates that it changes based on the ALLUSERS property, so is it my INSTALLLOCATION causing this, or something else (like ICE57 coded incorrectly)? Sounds like it. Pick which ICE you're going to ignore basically.. in your case it sounds like ICE57 is the one. Tony - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Chinese Installer
Bob Arnson wrote: Rohit Lodha wrote: The current votive gives me error when I write locale as zh. Which error? The loc strings do not exists. How can I support chinese UI in wix 3.0? There currently isn't a Chinese localization file, so you'll have to localize the appropriate strings. Can I get en-US loc file so that I can copy and translate to Chinese? I hope my Chinese vendor might be willing to share it with wix. Thanks a ton, Rohit - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Acrobat as a condition
On Wed, 6 Jun 2007 19:48:20 +0100, Mike Dimmick wrote: Mike, Not a fan of Adobe Reader at all. Very slow to load even after the 'optimisation' application is launched at system startup (which basically just preloads all the DLLs), and still pretty buggy. Off-topic here, but the 'optimisation' is a joke. However, if you simply disable the dozens of unnecessary plugins it comes with, it starts in an instant. Bye, Gábor --- DEÁK JAHN, Gábor -- Budapest, Hungary E-mail: [EMAIL PROTECTED] - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Chinese Installer
Rohit Lodha wrote: Can I get en-US loc file so that I can copy and translate to Chinese? I hope my Chinese vendor might be willing to share it with wix. That'd be great. The en-us .wxl file is embedded in WixUIExtension.dll. You can get the loose file from the WiX sources .zip file in src\ext\UIExtension\wixlib\WixUI_en-us.wxl. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] update issue
Hi everybody, I think this is my last question about WIX. I'm looking at the update behaviours. Following the tutorial : http://www.tramontana.co.hu/wix/lesson4.php I Launch old\SampleUpgrade.msi, and after new\SampleUpgrade.msi with the following options : REINSTALL=ALL REINSTALLMODE=vomus like it is said in the tuto and all works fine. I launch old\SampleUpgrade.msi again and I never have the custom action CustomAction Id='NoDowngrade' Error='A later version of [ProductName] is already installed.' / So it installs foobar 1.0 but I have already a newest version. All I've done is to change PUT-YOUR-GUID Why ? Thanks - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to override RegistrySearch property?
Hi, I have a custom dialog that includes an edit box that is pre-populated with the value of a property [MY_REAL_VALUE]. Another property, MY_FOUND_VALUE, is set via RegistrySearch. If the user did not supply MY_REAL_VALUE in the command line, I want to set MY_REAL_VALUE = MY_FOUND_VALUE. This way the custom dialog will have the correct initial value. Following the example in Section 3.2 of the WiX tutorial, I created a custom action to set MY_REAL_VALUE = MY_FOUND_VALUE. CustomAction Id=MyAssign Property='MY_REAL_VALUE' Value='[MY_REAL_VALUE]' / I'm sequencing it like this; Custom Action= MyAssign After=CostInitialize1/Custom (yes I know the condition is incorrect) but this custom action does not run before my dialog is displayed. Three questions; 1) Is my CA correct? 2) How do I sequence the CA so it executes before my UI is displayed? 3) How do I condition the CA to only execute if MY_REAL_VALUE is empty? Thanks for any help. Dale - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to override RegistrySearch property?
Dale Quigg wrote: Three questions; 1) Is my CA correct? I think you want CustomAction Id=MyAssign Property='MY_REAL_VALUE' Value='[MY_FOUND_VALUE]' / 2) How do I sequence the CA so it executes before my UI is displayed? I'd sequence it straight after AppSearch. 3) How do I condition the CA to only execute if MY_REAL_VALUE is empty? Try a condition of NOT MY_REAL_VALUE. Alternatively you can give MY_REAL_VALUE a value of dummy_value and use MY_REAL_VALUE dummy_value. Rob - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] COM+ in V3
Ahh, that'd be a bug (er, bugs). I always look in the binaries.zip (old habit from before we had WiX3.msi) so I found what you were looking for. grin/ Please do open the bug on SourceForge so we are sure to get it fixed. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Graham Harwood Sent: Thursday, June 07, 2007 1:04 AM To: Mike Dimmick Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] COM+ in V3 Thanks for the confirmation Mike. I had the code correct but couldn't find the extension DLL. There appears to be difference between the MSI (which has an WixOfficeExtension.dll not in the binaries zip) and the binaries.zip , which has the WiXComPlusExtension.dll missing from the msi. All sorted now thanks. On 06/06/07, Mike Dimmick [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] wrote: Should be OK. The xmlns declaration should be http://schemas.microsoft.com/wix/ComPlusExtension For example: Wix xmlns= http://schemas.microsoft.com/wix/2006/wi; xmlns:complus= http://schemas.microsoft.com/wix/ComPlusExtension; complus:ComPlusApplication .../ /Wix Ensure you're passing the WixComPlusExtension to both candle and light on the command line using the -ext option. In v3 you only need specify the assembly name, unlike v2. Any error messages produced? -- Mike Dimmick From: [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]] On Behalf Of Graham Harwood Sent: 06 June 2007 16:49 To: wix-users@lists.sourceforge.netmailto:wix-users@lists.sourceforge.net Subject: [WiX-users] COM+ in V3 Hi, Did I understand from the V3 history (weekly build 3.0.3001.0) that COM+ is now integrated into V3? I can't resolve the ComPlusApplication element using either the original pubca schema or the ComPlusExtension schema denoted in the help chm. Did I miss something or have I jumped the gun on this one? Regards Graham - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to override RegistrySearch property?
1) Is my CA correct? Yes 2) How do I sequence the CA so it executes before my UI is displayed? Put it under InstallUISequence 3) How do I condition the CA to only execute if MY_REAL_VALUE is empty? Custom Action= MyAssign After=CostInitializeNOT MY_REAL_VALUE/Custom Good luck, Dacian - Original Message From: Dale Quigg [EMAIL PROTECTED] To: wix-users@lists.sourceforge.net Sent: Thursday, June 7, 2007 5:19:37 PM Subject: [WiX-users] How to override RegistrySearch property? !-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:Times New Roman;} a:link, span.MsoHyperlink {color:blue;text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple;text-decoration:underline;} p.MsoPlainText, li.MsoPlainText, div.MsoPlainText {margin:0in;margin-bottom:.0001pt;font-size:10.0pt;font-family:Courier New;} _filtered {margin:1.0in 77.95pt 1.0in 77.95pt;} div.Section1 {} -- Hi, I have a custom dialog that includes an edit box that is pre-populated with the value of a property [MY_REAL_VALUE]. Another property, MY_FOUND_VALUE, is set via RegistrySearch. If the user did not supply MY_REAL_VALUE in the command line, I want to set MY_REAL_VALUE = MY_FOUND_VALUE. This way the custom dialog will have the correct initial value. Following the example in Section 3.2 of the WiX tutorial, I created a custom action to set MY_REAL_VALUE = MY_FOUND_VALUE. CustomAction Id=MyAssign Property='MY_REAL_VALUE' Value='[MY_REAL_VALUE]' / I'm sequencing it like this; Custom Action= MyAssign After=CostInitialize1/Custom (yes I know the condition is incorrect) but this custom action does not run before my dialog is displayed. Three questions; 1) Is my CA correct? 2) How do I sequence the CA so it executes before my UI is displayed? 3) How do I condition the CA to only execute if MY_REAL_VALUE is empty? Thanks for any help. Dale - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to override RegistrySearch property?
Rob and Dacian, Thanks so much for your help. 2) How do I sequence the CA so it executes before my UI is displayed? Rob: I'd sequence it straight after AppSearch. Dacian: Put it under InstallUISequence Yes. Perfect. InstallUISequence Custom Action=MyAssign After=AppSearchNOT MY_REAL_VALUE/Custom /InstallUISequence I also kept it in InstallExecuteSequence in case of silent installs. 3) How do I condition the CA to only execute if MY_REAL_VALUE is empty? Rob: Try a condition of NOT MY_REAL_VALUE. Dacian: NOT MY_REAL_VALUE Thanks. For some reason, I had it in my head that I needed [MY_REAL_VALUE] (which gives errors at build time). Thanks again for the help. Dale - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Define constants not working with candle in 3.0.2921.0?
I have some code like this: ?ifdef $(var.Debug) ? ?define Flavor2=Debug ? ?else? ?define Flavor2=Release ? ?endif? File Id=MyExe Name=MyExe.exe Source=$(var.Flavor2)\MyExe.exe / The command line for candle looks like: candle.exe -dDebug -out obj\Debug\Base.wixobj -ext ..\..\..\..\v1_tools\wix\bin\WixUtilExtension.dll Base.wxs But, I'm seeing $(var.Flavor2) evaluate to Release. I would've expected it to be Debug based on the -dDebug on the candle command line. Am I doing something wrong? Or is there possible a bug in candle? I've also tried -dDebug=1, but that didn't help. Thanks, Kevin _ With Windows Live Hotmail, you can personalize your inbox with your favorite color. www.windowslive-hotmail.com/learnmore/personalize.html?locale=en-usocid=TXT_TAGLM_HMWL_reten_addcolor_0607- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Define constants not working with candle in 3.0.2921.0?
Your ifdef should look like ?ifdef Debug? -Brian Simoneau -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Fischer Sent: Thursday, June 07, 2007 2:44 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Define constants not working with candle in 3.0.2921.0? I have some code like this: ?ifdef $(var.Debug) ? ?define Flavor2=Debug ? ?else? ?define Flavor2=Release ? ?endif? File Id=MyExe Name=MyExe.exe Source=$(var.Flavor2)\MyExe.exe / The command line for candle looks like: candle.exe -dDebug -out obj\Debug\Base.wixobj -ext ..\..\..\..\v1_tools\wix\bin\WixUtilExtension.dll Base.wxs But, I'm seeing $(var.Flavor2) evaluate to Release. I would've expected it to be Debug based on the -dDebug on the candle command line. Am I doing something wrong? Or is there possible a bug in candle? I've also tried -dDebug=1, but that didn't help. Thanks, Kevin Change is good. See what's different about Windows Live Hotmail. Check it out! - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Define constants not working with candle in 3.0.2921.0?
That worked. I re-read the documentation and I now see this mentioned, but it's not especially clear. Is there a formal process for updating the documentation? Thanks, Kevin Date: Thu, 7 Jun 2007 15:09:06 -0400From: [EMAIL PROTECTED]: [EMAIL PROTECTED]; [EMAIL PROTECTED]: Re: [WiX-users] Define constants not working with candle in 3.0.2921.0? Your ifdef should look like ?ifdef Debug? -Brian Simoneau -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin FischerSent: Thursday, June 07, 2007 2:44 PMTo: [EMAIL PROTECTED]: [WiX-users] Define constants not working with candle in 3.0.2921.0?I have some code like this: ?ifdef $(var.Debug) ??define Flavor2=Debug ??else??define Flavor2=Release ??endif?File Id=MyExe Name=MyExe.exe Source=$(var.Flavor2)\MyExe.exe / The command line for candle looks like:candle.exe -dDebug -out obj\Debug\Base.wixobj -ext ..\..\..\..\v1_tools\wix\bin\WixUtilExtension.dll Base.wxs But, I'm seeing $(var.Flavor2) evaluate to Release. I would've expected it to be Debug based on the -dDebug on the candle command line. Am I doing something wrong? Or is there possible a bug in candle? I've also tried -dDebug=1, but that didn't help. Thanks,Kevin Change is good. See what's different about Windows Live Hotmail. Check it out! _ Make every IM count. Download Windows Live Messenger and join the i’m Initiative now. It’s free. http://im.live.com/messenger/im/home/?source=TAGWL_June07- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] IISReset
i created website using WIX, websites are created sucessfully, but once we do IISReSet, Websites are deleting fromt the IIS, Do any one faced the problem i am using WebSite Id=MiddleTier Description=[MTWEBSITENAME] AutoStart=yes DirProperties=WebSiteDirProp Directory=TARGETDIR WebAddress Id=MiddleTierAllUnassigned Port=80 IP=[MTIPLIST] / WebApplication Id=MiddleTier Default Application Name=Default Application / /WebSite - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Adding files to components
Hi, I have a question about how to add files to a component. Is that possible to add all the files in a directory to a component and just exclude a few. Writing code for all the files one by one seems to be hard. Thanks, Afshin - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Adding files to components
Take a look at heat. http://installing.blogspot.com/2006/04/heatexe-making-setup-easier.html Regards, //aj On 6/7/07, Afshin Sepehri [EMAIL PROTECTED] wrote: Hi, I have a question about how to add files to a component. Is that possible to add all the files in a directory to a component and just exclude a few. Writing code for all the files one by one seems to be hard. Thanks, Afshin - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Conditionally installing components based on user'slocale
I realize that the language ID can identify a language down to the dialect of a specific region, but I still don't think the language ID is the appropriate property to check to determine location information. A user my have set the language to American English but still be located in Japan. Surely there is a way to get the region setting independent from the language. Scott On 6/6/07, Rennie Petersen [EMAIL PROTECTED] wrote: Well, the UserLanguageID doesn't just give you the language but also the locale. There's a difference between English in the USA, English in Canada, English in the UK, etc. http://www.microsoft.com/globaldev/reference/lcid-all.mspx Here are some other system properties you can use if UserLanguageID isn't the right one: http://msdn2.microsoft.com/en-us/library/aa370905.aspx http://msdn2.microsoft.com/en-us/library/aa372389.aspx Rennie -- *From:* Scott Palmer [mailto:[EMAIL PROTECTED] *Sent:* 6. juni 2007 14:26 *To:* wix-users@lists.sourceforge.net *Cc:* Rennie Petersen *Subject:* Re: [WiX-users] Conditionally installing components based on user'slocale Thanks, but I need to know the country and I don't really care about the language. I will have many systems where the language may be set to English but I will need different values in the registry. Scott ...previous msgs snipped ... - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] how to do this in wix?
Hi, During MSI install, I want to set values of some property based on other input property value. Something like if ([SERVERENV] = TEST) Property Id=SERVERURL value=http://url-test.com / else Property Id=SERVERURL value=http://url-prod.com / Endif Can someone tell me how to do this? Can we do this without using custom action? Thanks, Paramesh - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Conditionally installing components based onuser'slocale
I think you need code like the second example on this page: http://msdn2.microsoft.com/en-us/library/87k6sx8t(vs.71).aspx Phil Wilson From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Palmer Sent: Thursday, June 07, 2007 4:55 PM Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Conditionally installing components based onuser'slocale I realize that the language ID can identify a language down to the dialect of a specific region, but I still don't think the language ID is the appropriate property to check to determine location information. A user my have set the language to American English but still be located in Japan. Surely there is a way to get the region setting independent from the language. Scott On 6/6/07, Rennie Petersen [EMAIL PROTECTED] wrote: Well, the UserLanguageID doesn't just give you the language but also the locale. There's a difference between English in the USA, English in Canada, English in the UK, etc. http://www.microsoft.com/globaldev/reference/lcid-all.mspx http://www.microsoft.com/globaldev/reference/lcid-all.mspx Here are some other system properties you can use if UserLanguageID isn't the right one: http://msdn2.microsoft.com/en-us/library/aa370905.aspx http://msdn2.microsoft.com/en-us/library/aa370905.aspx http://msdn2.microsoft.com/en-us/library/aa372389.aspx http://msdn2.microsoft.com/en-us/library/aa372389.aspx Rennie From: Scott Palmer [mailto:[EMAIL PROTECTED] Sent: 6. juni 2007 14:26 To: wix-users@lists.sourceforge.net Cc: Rennie Petersen Subject: Re: [WiX-users] Conditionally installing components based on user'slocale Thanks, but I need to know the country and I don't really care about the language. I will have many systems where the language may be set to English but I will need different values in the registry. Scott ...previous msgs snipped ... - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Problems with Major Upgrade
What I'd really like is a pointer to a working example of a Major Upgrade. The fine tutorial at http://www.tramontana.co.hu/wix/ has a lot of info about patches and minor upgrades, but no explicit working examples of major upgrades. I've been trying for quite some time to get this working. What I'm experiencing is this- Either I get a double install, or a broken install. If I set OnlyDetect to yes, I get a double install when I try to do an upgrade (two instances of my program in add/remove programs) . If I set OnlyDetect to no, at the end of my upgrade, the entire installation is deleted and I have a corrupted install. Here's my Upgrade table- Upgrade Id=9C471B34-F15F-44EA-8F25-131B6952A0CA UpgradeVersion OnlyDetect=no Property=PREVIOUSVERSIONINSTALLED IncludeMinimum='yes' Minimum='0.0.1'/ /Upgrade I don't see any suggestion of where the PREVIOUSVERSIONINSTALLED property should be used once it's populated. Do I have to write a custom action, or is there some mainstream way of using it? I tried adding it as a condition to the Welcome Maintenance dialog, but that didn't seem to work. Thanks for any help. -Carter - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users