Re: [WiX-users] create installer with dll
hi, Im reedit my code, but i still have this problem, compiler/linker doesn't add all library to my installer. I remove Giud ( place *) and remove name section. Can I view some log from building? I don't have any errors or warnings TIA 2009/7/14 Konstantin Vlasenko konstantin.vlase...@gmail.com: Please remove Name attribute from the file element. Also avoid the hardcoded guids. I hate duplication :) Component Id=SubComponent1 Guid=* File Id=Microsoft.Office.Interop Source=../zzz/Microsoft.Office.Interop.dll / /Component Component Id=SubComponent2 Guid=* File Id=RTM Source=../zzz/RTM.dll / /Component Component Id=SubComponent3 Guid=* File Id=Api Source=../zzz/Api.dll / /Component Component Id=SubComponent4 Guid=* File Id=PIRES Source=../zzz/PIRES.dll / /Component Component Id=ProductComponent Guid=* File Id=ltacje Source=../zzz/ltacje.dll / /Component 2009/7/14 A.S ansic.s...@gmail.com Component Id=SubComponent1 Guid=3AD63215-4F9E-4416-A24F-A5CF91F86329 File Id=Microsoft.Office.Interop Name=Microsoft.Office.Interop.dll Source=../zzz/Microsoft.Office.Interop.dll / /Component Component Id=SubComponent2 Guid=D6C9E1E5-29D2-4bfa-AD24-02982FD8E281 File Id=RTM Name=RTM.dll Source=../zzz/RTM.dll / /Component Component Id=SubComponent3 Guid=483DD971-8B6E-4273-8560-661D77D2F9A4 File Id=Api Name=Api.dll Source=../zzz/Api.dll / /Component Component Id=SubComponent4 Guid=F69777ED-EC90-469b-AFD0-390C27DFDCE9 File Id=PIRES Name=PIRES.dll Source=../zzz/PIRES.dll / /Component Component Id=ProductComponent Guid=1BAB864E-26CE-4644-B339-3DAAC36D6B03 File Id=ltacje Name=ltacje.dll Source=../zzz/ltacje.dll / /Component this is this code, all DLL is ~ 11 MB, but my setup.exe 5 MB Can You check my code? I think, i make mistake when i write this xml file 2009/7/14 Matthew S. Yost matt.y...@gldsolutions.com: Out of curiosity, did you mark any off your 5 DLLs as Assembly=.net ? -Original Message- From: Michael Clark [mailto:mcl...@fullarmor.com] Sent: Tuesday, July 14, 2009 8:17 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] create installer with dll Without a log file it's hard to tell what happened. Try running your installer with a log file msiexec /l*vx installer.log /I Your.msi -Original Message- From: A.S [mailto:ansic.s...@gmail.com] Sent: Tuesday, July 14, 2009 8:12 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] create installer with dll Hi, I create simple wix installer, I want add 5 *.dll file to my specjal folder in Program Files I can compile without errors or warnings in Visual Studio 2008, but when I run compiled installer, I have only 3 from 5 *dll files. -- 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
Re: [WiX-users] create installer with dll
Use the Orca tool http://msdn.microsoft.com/en-us/library/aa370557(VS.85).aspx. It is the swiss army knife for the setup developers. Also find the information related to msi tables (usaly MSDN helps). You will find an idea why this happens. BTW: Send me your wsx-file. I'll check it 2009/7/14 Matthew S. Yost matt.y...@gldsolutions.com You may want to check the root folder (C:\) to see the files were placed there. I've had setups in the past in which the files ended up being placed there. Matthew Yost Software Engineer GLD Solutions, Inc. -Original Message- From: A.S [mailto:ansic.s...@gmail.com] Sent: Tuesday, July 14, 2009 12:52 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] create installer with dll Component Id=SubComponent1 Guid=3AD63215-4F9E-4416-A24F-A5CF91F86329 File Id=Microsoft.Office.Interop Name=Microsoft.Office.Interop.dll Source=../zzz/Microsoft.Office.Interop.dll / /Component Component Id=SubComponent2 Guid=D6C9E1E5-29D2-4bfa-AD24-02982FD8E281 File Id=RTM Name=RTM.dll Source=../zzz/RTM.dll / /Component Component Id=SubComponent3 Guid=483DD971-8B6E-4273-8560-661D77D2F9A4 File Id=Api Name=Api.dll Source=../zzz/Api.dll / /Component Component Id=SubComponent4 Guid=F69777ED-EC90-469b-AFD0-390C27DFDCE9 File Id=PIRES Name=PIRES.dll Source=../zzz/PIRES.dll / /Component Component Id=ProductComponent Guid=1BAB864E-26CE-4644-B339-3DAAC36D6B03 File Id=ltacje Name=ltacje.dll Source=../zzz/ltacje.dll / /Component this is this code, all DLL is ~ 11 MB, but my setup.exe 5 MB Can You check my code? I think, i make mistake when i write this xml file 2009/7/14 Matthew S. Yost matt.y...@gldsolutions.com: Out of curiosity, did you mark any off your 5 DLLs as Assembly=.net ? -Original Message- From: Michael Clark [mailto:mcl...@fullarmor.com] Sent: Tuesday, July 14, 2009 8:17 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] create installer with dll Without a log file it's hard to tell what happened. Try running your installer with a log file msiexec /l*vx installer.log /I Your.msi -Original Message- From: A.S [mailto:ansic.s...@gmail.com] Sent: Tuesday, July 14, 2009 8:12 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] create installer with dll Hi, I create simple wix installer, I want add 5 *.dll file to my specjal folder in Program Files I can compile without errors or warnings in Visual Studio 2008, but when I run compiled installer, I have only 3 from 5 *dll files. -- 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] 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
Re: [WiX-users] create installer with dll
Hi, i see alle dll lib. in Orca ... i will wait for Your reply on my e-mail. Thx 2009/7/15 Konstantin Vlasenko konstantin.vlase...@gmail.com: Use the Orca tool http://msdn.microsoft.com/en-us/library/aa370557(VS.85).aspx. It is the swiss army knife for the setup developers. Also find the information related to msi tables (usaly MSDN helps). You will find an idea why this happens. BTW: Send me your wsx-file. I'll check it 2009/7/14 Matthew S. Yost matt.y...@gldsolutions.com You may want to check the root folder (C:\) to see the files were placed there. I've had setups in the past in which the files ended up being placed there. Matthew Yost Software Engineer GLD Solutions, Inc. -Original Message- From: A.S [mailto:ansic.s...@gmail.com] Sent: Tuesday, July 14, 2009 12:52 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] create installer with dll Component Id=SubComponent1 Guid=3AD63215-4F9E-4416-A24F-A5CF91F86329 File Id=Microsoft.Office.Interop Name=Microsoft.Office.Interop.dll Source=../zzz/Microsoft.Office.Interop.dll / /Component Component Id=SubComponent2 Guid=D6C9E1E5-29D2-4bfa-AD24-02982FD8E281 File Id=RTM Name=RTM.dll Source=../zzz/RTM.dll / /Component Component Id=SubComponent3 Guid=483DD971-8B6E-4273-8560-661D77D2F9A4 File Id=Api Name=Api.dll Source=../zzz/Api.dll / /Component Component Id=SubComponent4 Guid=F69777ED-EC90-469b-AFD0-390C27DFDCE9 File Id=PIRES Name=PIRES.dll Source=../zzz/PIRES.dll / /Component Component Id=ProductComponent Guid=1BAB864E-26CE-4644-B339-3DAAC36D6B03 File Id=ltacje Name=ltacje.dll Source=../zzz/ltacje.dll / /Component this is this code, all DLL is ~ 11 MB, but my setup.exe 5 MB Can You check my code? I think, i make mistake when i write this xml file 2009/7/14 Matthew S. Yost matt.y...@gldsolutions.com: Out of curiosity, did you mark any off your 5 DLLs as Assembly=.net ? -Original Message- From: Michael Clark [mailto:mcl...@fullarmor.com] Sent: Tuesday, July 14, 2009 8:17 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] create installer with dll Without a log file it's hard to tell what happened. Try running your installer with a log file msiexec /l*vx installer.log /I Your.msi -Original Message- From: A.S [mailto:ansic.s...@gmail.com] Sent: Tuesday, July 14, 2009 8:12 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] create installer with dll Hi, I create simple wix installer, I want add 5 *.dll file to my specjal folder in Program Files I can compile without errors or warnings in Visual Studio 2008, but when I run compiled installer, I have only 3 from 5 *dll files. -- 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
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] Subscribe Edit to SelectionChanged event of ListBox
Hello Sebastian, Ok, I see, thank you. Well, does ListBox publish ANY event at all on changing selected item? I can't find any info about it. I will be very grateful if you provide me with a link. Sebastian Brand (Instyler Software) wrote: 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 -- View this message in context: http://n2.nabble.com/Subscribe-Edit-to-%22SelectionChanged%22-event-of-ListBox-tp3249912p3261702.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
Re: [WiX-users] create installer with dll
Hi, run your MSI with logging enabled. Open a command prompt and cd to the folder where your msi is. MSIEXEC /I msiname.msi /l*v installlog.txt Or enable msi logging on your pc http://support.microsoft.com/kb/223300 This will tell you what is happening. Dave -Original Message- From: A.S [mailto:ansic.s...@gmail.com] Sent: 15 July 2009 08:28 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] create installer with dll Hi, i see alle dll lib. in Orca ... i will wait for Your reply on my e-mail. Thx 2009/7/15 Konstantin Vlasenko konstantin.vlase...@gmail.com: Use the Orca tool http://msdn.microsoft.com/en-us/library/aa370557(VS.85).aspx. It is the swiss army knife for the setup developers. Also find the information related to msi tables (usaly MSDN helps). You will find an idea why this happens. BTW: Send me your wsx-file. I'll check it 2009/7/14 Matthew S. Yost matt.y...@gldsolutions.com You may want to check the root folder (C:\) to see the files were placed there. I've had setups in the past in which the files ended up being placed there. Matthew Yost Software Engineer GLD Solutions, Inc. -Original Message- From: A.S [mailto:ansic.s...@gmail.com] Sent: Tuesday, July 14, 2009 12:52 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] create installer with dll Component Id=SubComponent1 Guid=3AD63215-4F9E-4416-A24F-A5CF91F86329 File Id=Microsoft.Office.Interop Name=Microsoft.Office.Interop.dll Source=../zzz/Microsoft.Office.Interop.dll / /Component Component Id=SubComponent2 Guid=D6C9E1E5-29D2-4bfa-AD24-02982FD8E281 File Id=RTM Name=RTM.dll Source=../zzz/RTM.dll / /Component Component Id=SubComponent3 Guid=483DD971-8B6E-4273-8560-661D77D2F9A4 File Id=Api Name=Api.dll Source=../zzz/Api.dll / /Component Component Id=SubComponent4 Guid=F69777ED-EC90-469b-AFD0-390C27DFDCE9 File Id=PIRES Name=PIRES.dll Source=../zzz/PIRES.dll / /Component Component Id=ProductComponent Guid=1BAB864E-26CE-4644-B339-3DAAC36D6B03 File Id=ltacje Name=ltacje.dll Source=../zzz/ltacje.dll / /Component this is this code, all DLL is ~ 11 MB, but my setup.exe 5 MB Can You check my code? I think, i make mistake when i write this xml file 2009/7/14 Matthew S. Yost matt.y...@gldsolutions.com: Out of curiosity, did you mark any off your 5 DLLs as Assembly=.net ? -Original Message- From: Michael Clark [mailto:mcl...@fullarmor.com] Sent: Tuesday, July 14, 2009 8:17 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] create installer with dll Without a log file it's hard to tell what happened. Try running your installer with a log file msiexec /l*vx installer.log /I Your.msi -Original Message- From: A.S [mailto:ansic.s...@gmail.com] Sent: Tuesday, July 14, 2009 8:12 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] create installer with dll Hi, I create simple wix installer, I want add 5 *.dll file to my specjal folder in Program Files I can compile without errors or warnings in Visual Studio 2008, but when I run compiled installer, I have only 3 from 5 *dll files. --- - -- 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
Re: [WiX-users] Subscribe Edit to SelectionChanged event of ListBox
Unfortunately the Listbox doesnt seem to publish any events. From http://msdn.microsoft.com/en-gb/library/aa368559(VS.85).aspx The ControlEvent Table specifies the control events that are started when a user interacts with a PushButton Control, CheckBox Control, or SelectionTree Control. These are the only controls that a user can use to initiate control events. Is it possible to redesign the UI to use a radio button group to choose between selection via listbox or selection via edit control ? Then the user wouldnt think it was strange if one didnt update the other because they are presented as mutually exclusive options. Its not ideal but MSI UI is quite limited. -Original Message- From: Natalia [mailto:natalia.gladk...@arcadia.spb.ru] Sent: 15 July 2009 09:11 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Subscribe Edit to SelectionChanged event of ListBox Hello Sebastian, Ok, I see, thank you. Well, does ListBox publish ANY event at all on changing selected item? I can't find any info about it. I will be very grateful if you provide me with a link. Sebastian Brand (Instyler Software) wrote: 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 -- View this message in context: http://n2.nabble.com/Subscribe-Edit-to-%22SelectionChanged%22-event-of-L istBox-tp3249912p3261702.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
Re: [WiX-users] create installer with dll
I got it. You have placed each component in its own subfeature. A feature is installed only if the feature level value is less than or equal to the current install level. Your current install level is equal to level of the parent feature (=1). The files not installed are in the features with Level=4. Change it to 1 and you'll happy :) BTW: Why do you use so many feature? 2009/7/15 A.S ansic.s...@gmail.com Hi, i see alle dll lib. in Orca ... i will wait for Your reply on my e-mail. Thx 2009/7/15 Konstantin Vlasenko konstantin.vlase...@gmail.com: Use the Orca tool http://msdn.microsoft.com/en-us/library/aa370557(VS.85).aspx. It is the swiss army knife for the setup developers. Also find the information related to msi tables (usaly MSDN helps). You will find an idea why this happens. BTW: Send me your wsx-file. I'll check it 2009/7/14 Matthew S. Yost matt.y...@gldsolutions.com You may want to check the root folder (C:\) to see the files were placed there. I've had setups in the past in which the files ended up being placed there. Matthew Yost Software Engineer GLD Solutions, Inc. -Original Message- From: A.S [mailto:ansic.s...@gmail.com] Sent: Tuesday, July 14, 2009 12:52 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] create installer with dll Component Id=SubComponent1 Guid=3AD63215-4F9E-4416-A24F-A5CF91F86329 File Id=Microsoft.Office.Interop Name=Microsoft.Office.Interop.dll Source=../zzz/Microsoft.Office.Interop.dll / /Component Component Id=SubComponent2 Guid=D6C9E1E5-29D2-4bfa-AD24-02982FD8E281 File Id=RTM Name=RTM.dll Source=../zzz/RTM.dll / /Component Component Id=SubComponent3 Guid=483DD971-8B6E-4273-8560-661D77D2F9A4 File Id=Api Name=Api.dll Source=../zzz/Api.dll / /Component Component Id=SubComponent4 Guid=F69777ED-EC90-469b-AFD0-390C27DFDCE9 File Id=PIRES Name=PIRES.dll Source=../zzz/PIRES.dll / /Component Component Id=ProductComponent Guid=1BAB864E-26CE-4644-B339-3DAAC36D6B03 File Id=ltacje Name=ltacje.dll Source=../zzz/ltacje.dll / /Component this is this code, all DLL is ~ 11 MB, but my setup.exe 5 MB Can You check my code? I think, i make mistake when i write this xml file 2009/7/14 Matthew S. Yost matt.y...@gldsolutions.com: Out of curiosity, did you mark any off your 5 DLLs as Assembly=.net ? -Original Message- From: Michael Clark [mailto:mcl...@fullarmor.com] Sent: Tuesday, July 14, 2009 8:17 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] create installer with dll Without a log file it's hard to tell what happened. Try running your installer with a log file msiexec /l*vx installer.log /I Your.msi -Original Message- From: A.S [mailto:ansic.s...@gmail.com] Sent: Tuesday, July 14, 2009 8:12 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] create installer with dll Hi, I create simple wix installer, I want add 5 *.dll file to my specjal folder in Program Files I can compile without errors or warnings in Visual Studio 2008, but when I run compiled installer, I have only 3 from 5 *dll files. -- 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
Re: [WiX-users] Setup upgrade needs to care for 4th part of versionnumber
Hi, We also ran into this problem. It is just stupid that visual studio projects use 4 part version numbers and MSI only supports 3. Visual Studio doesn't. We're talking in the context of major upgrades and the ProductVersion property. In Visual Studio that's the Version property of the Setup Project. If you put 4 digits in there, its build fails, saying Must be of format ##.##.###. I suspect VS does this to ensure that you can't go ahead and build an upgrade that won't work because, after all, Visual Studio is building an MSI file! I was talking about the version numbers you can use in the resource files for executables that you create with Visual C++. The version number there has 4 parts... So that is two products made by Microsoft. One saying: look feel free to use 4 version numbers, the other one being the brick wall you run into when trying to create an installer :) - Kim -- *Kim Gybels Software Developer * kim.gyb...@metris.com mailto:kim.gyb...@metris.com Tel: +32 16 74 01 01 Fax: +32 16 74 01 02 * Metris Europe * Interleuvenlaan 86 3001 Leuven Belgium www.metris.com http://www.metris.com/ This message and any attachment are privileged, confidential and contain private information. If you are not the addressee named above any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication is prohibited. If you have received this transmission in error, please notify the sender immediately and destroy this e-mail. Metris does not guarantee that the integrity of this communication has been maintained or that this communication is free of viruses, interceptions or interference, and shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. Incoming and outgoing email communications may be monitored by Metris, as permitted by applicable law and regulations. -- 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] create installer with dll
Many thank for You! Now it's working fine! many future... so, this is my first installer build with WIX, I must learn how this stuff work, and how using it. In my opinion WIX is a very good and very big stuff. Konstantin, thank You ! 2009/7/15 Konstantin Vlasenko konstantin.vlase...@gmail.com: I got it. You have placed each component in its own subfeature. A feature is installed only if the feature level value is less than or equal to the current install level. Your current install level is equal to level of the parent feature (=1). The files not installed are in the features with Level=4. Change it to 1 and you'll happy :) BTW: Why do you use so many feature? -- 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
[WiX-users] GAC source assemblies
Hi I'm creating a WIX 3 project in VS2008 which needs to include assemblies that are located in the GAC (3rd party libraries that come with their own installer that puts them in the GAC). Is it possible for WIX to source them from the GAC to include them in the msi it creates? Thanks Anthony - This email is sent on behalf of Northgate Information Solutions Limited and its associated companies (Northgate) and is strictly confidential and intended solely for the addressee(s). If you are not the intended recipient of this email you must: (i) not disclose, copy or distribute its contents to any other person nor use its contents in any way or you may be acting unlawfully; (ii) contact Northgate immediately on +44 (0)1442 232424 quoting the name of the sender and the addressee then delete it from your system. Northgate has taken reasonable precautions to ensure that no viruses are contained in this email, but does not accept any responsibility once this email has been transmitted. You should scan attachments (if any) for viruses. Northgate Information Solutions Limited. Registered in England no. 06442582 - Northgate Information Solutions UK Limited. Registered in England no. 968498 - NorthgateArinso UK Limited .Registered in England no. 1587537 - Moorepay Limited. Registered in England no. 891686 - Northgate Land Property Solutions Limited - Registered in England no. 2149536 Registered Office: Peoplebuilding 2, Peoplebuilding Estate, Maylands Avenue, Hemel Hempstead, Hertfordshire HP2 4NW Northgate Managed Services Limited (NI). Registered in Northern Ireland no. NI032979 - LearnServe Limited (NI). Registered in Northern Ireland no. NI043825 Registered Office: Hillview House, 61 Church Road, Newtownabbey, Co. Antrim, BT36 7LQ - -- 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
[WiX-users] Create activeX installer with WIX?
Hi all, I need create activeX installer, Can I do this only using WIX? -- 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] 64bit package compiling
I just completed createing a x86/x64 installer using the information I found here http://blogs.msdn.com/astebner/archive/2007/08/09/4317654.aspx Good luck -Michael -Original Message- From: Igor Lemsky [mailto:igor.lem...@gmail.com] Sent: Wednesday, July 15, 2009 12:36 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 64bit package compiling No, there are no 64 bit files, I just remake x86 installer to x64, and all files is x86. So there are must be no x64 Components. Did anybody test x64 work of light? On Tue, Jul 14, 2009 at 6:04 PM, Chris Ridd chrisr...@mac.com wrote: On 14 Jul 2009, at 05:29, Igor Lemsky wrote: I have x64 Windows XP. I tried to make 64 bit package by setting attribute: Package Id=* Platform=x64 / and during compilation got an error: light.exe : error LGHT0310 : Failed to open package for validation. The most common cause of this error is validating an x64 package on an x86 system. To fix this error, run validation on an x64 sys tem or disable validation. So, what I did wrong? Maybe light's complaining because the Source of a file is an x64 binary and the Component it is in isn't? Each Component needs to be marked as Win64=yes as well, it isn't enough to mark the Package. Cheers, Chris -- 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
[WiX-users] WixLibrary project WixUI declarations
I'm new to wix and have a couple of wix projects in our solution. I'm now trying to put the UI setup in to a common WixLibrary that our other setup programs can link to. I'm using Wix 3.0. I've created a library project with the following code: ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; Fragment !-- Setup the UI -- UIRef Id=WixUI_Minimal/ WixVariable Id=WixUIBannerBmp Value=Banner.jpg/ WixVariable Id=WixUIDialogBmp Value=Dialog.jpg/ Icon Id=AddRemove.ico SourceFile=addremove.ico/ Property Id=ARPPRODUCTICON Value=AddRemove.ico / /Fragment /Wix The images Banner.jpg and Dialog.jpg live in the library project folder. This library references the WixUIExtension dll and it builds find. I've then created a wix project that references this library but when I build that and run the resultant setup, I don't get the 'minimal' UI, I just get none (well, the progress bar doing the install). If I put the above code inside the actual wix project, then the UI works as expected. Are Wix libraries not meant for pre-compiling Wix code such as UI behaviour? Or do I have to do something else to get the actual wix project to link correctly to the library? I've just added the library as a project reference. Thanks Russell -- 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
[WiX-users] Wix UI images and paths
I have the following code for the UI in my setup projects: UIRef Id=WixUI_Minimal/ WixVariable Id=WixUIBannerBmp Value=Banner.jpg/ WixVariable Id=WixUIDialogBmp Value=Dialog.jpg/ This code is actually in an include file that is shared by multiple wix projects. So Banner.jpg and Dialog.jpg don't live in each project folder, they're in a common location. So I've added relative include and reference paths to each Wix project to the location where the include file and the 2 jpgs are located. Both projects find the include file correctly via the include path but both fail to find the images. When specifying images like this, does the linker not search the reference paths for them? Is this a bug or is this as expected? If so, how can you share images across multiple projects? I've tried putting the common UI code in to a WixLibrary project but that doesn't work either (see my earlier post). Thanks Russell -- 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] WixLibrary project WixUI declarations
Did you reference your library both by including it on the light command line and by referencing the fragment in your wix source code ? Like a C function library, you have to reference something in the library for it to be included. In this case, you could use something like PropertyRef Id=ARPPRODUCTICON /. When you reference something in a fragment, the whole fragment is included. -Original Message- From: rh_maill...@mac.com [mailto:rh_maill...@mac.com] Sent: 15 July 2009 14:21 To: wix-users@lists.sourceforge.net Subject: [WiX-users] WixLibrary project WixUI declarations I'm new to wix and have a couple of wix projects in our solution. I'm now trying to put the UI setup in to a common WixLibrary that our other setup programs can link to. I'm using Wix 3.0. I've created a library project with the following code: ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; Fragment !-- Setup the UI -- UIRef Id=WixUI_Minimal/ WixVariable Id=WixUIBannerBmp Value=Banner.jpg/ WixVariable Id=WixUIDialogBmp Value=Dialog.jpg/ Icon Id=AddRemove.ico SourceFile=addremove.ico/ Property Id=ARPPRODUCTICON Value=AddRemove.ico / /Fragment /Wix The images Banner.jpg and Dialog.jpg live in the library project folder. This library references the WixUIExtension dll and it builds find. I've then created a wix project that references this library but when I build that and run the resultant setup, I don't get the 'minimal' UI, I just get none (well, the progress bar doing the install). If I put the above code inside the actual wix project, then the UI works as expected. Are Wix libraries not meant for pre-compiling Wix code such as UI behaviour? Or do I have to do something else to get the actual wix project to link correctly to the library? I've just added the library as a project reference. Thanks Russell -- 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 SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- 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] GAC source assemblies
Hi, While technically you could do this, it is not advisable. You may not be legally allowed to redistribute 3rd party software in this way. If you are installing these components into the GAC there is the danger of you clashing with some other application that also utilizes these components. If you install them you will have to service them IE provide security updates / patches for them. If the component manafacturer has an installer then you should really use that. Dave W. -Original Message- From: Coates, Anthony [mailto:anthony.coa...@northgate-is.com] Sent: 15 July 2009 12:44 To: wix-users@lists.sourceforge.net Subject: [WiX-users] GAC source assemblies Hi I'm creating a WIX 3 project in VS2008 which needs to include assemblies that are located in the GAC (3rd party libraries that come with their own installer that puts them in the GAC). Is it possible for WIX to source them from the GAC to include them in the msi it creates? Thanks Anthony - This email is sent on behalf of Northgate Information Solutions Limited and its associated companies (Northgate) and is strictly confidential and intended solely for the addressee(s). If you are not the intended recipient of this email you must: (i) not disclose, copy or distribute its contents to any other person nor use its contents in any way or you may be acting unlawfully; (ii) contact Northgate immediately on +44 (0)1442 232424 quoting the name of the sender and the addressee then delete it from your system. Northgate has taken reasonable precautions to ensure that no viruses are contained in this email, but does not accept any responsibility once this email has been transmitted. You should scan attachments (if any) for viruses. Northgate Information Solutions Limited. Registered in England no. 06442582 - Northgate Information Solutions UK Limited. Registered in England no. 968498 - NorthgateArinso UK Limited .Registered in England no. 1587537 - Moorepay Limited. Registered in England no. 891686 - Northgate Land Property Solutions Limited - Registered in England no. 2149536 Registered Office: Peoplebuilding 2, Peoplebuilding Estate, Maylands Avenue, Hemel Hempstead, Hertfordshire HP2 4NW Northgate Managed Services Limited (NI). Registered in Northern Ireland no. NI032979 - LearnServe Limited (NI). Registered in Northern Ireland no. NI043825 Registered Office: Hillview House, 61 Church Road, Newtownabbey, Co. Antrim, BT36 7LQ - -- 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 SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- 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] WixLibrary project WixUI declarations
Thanks Peter. I am using Wix through its Visual Studio integration. I'd added the library as a reference to the main setup project. I've now added an explicit property to the library which can be referenced: Property Id=WixCommon Value=WixCommon / Which is referenced from the main project and this now works. But it seems a bit odd. I'd expect linking to the library would have indicated I wanted the fragment included. Cheers Russell On Wednesday, 15 July, 2009, at 02:45PM, Peter Shirtcliffe pshirtcli...@sdl.com wrote: Did you reference your library both by including it on the light command line and by referencing the fragment in your wix source code ? Like a C function library, you have to reference something in the library for it to be included. In this case, you could use something like PropertyRef Id=ARPPRODUCTICON /. When you reference something in a fragment, the whole fragment is included. -- 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] WixLibrary project WixUI declarations
I see what you mean, especially if youre used to C# references in VS. The oddness allows you to have multiple fragments in a wixlib and you might not necessarily want to pull in all the fragments into your project. It reduces bloat and avoids the need for lots of little wixlibs. -Original Message- From: rh_maill...@mac.com [mailto:rh_maill...@mac.com] Sent: 15 July 2009 14:57 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] WixLibrary project WixUI declarations Thanks Peter. I am using Wix through its Visual Studio integration. I'd added the library as a reference to the main setup project. I've now added an explicit property to the library which can be referenced: Property Id=WixCommon Value=WixCommon / Which is referenced from the main project and this now works. But it seems a bit odd. I'd expect linking to the library would have indicated I wanted the fragment included. Cheers Russell On Wednesday, 15 July, 2009, at 02:45PM, Peter Shirtcliffe pshirtcli...@sdl.com wrote: Did you reference your library both by including it on the light command line and by referencing the fragment in your wix source code ? Like a C function library, you have to reference something in the library for it to be included. In this case, you could use something like PropertyRef Id=ARPPRODUCTICON /. When you reference something in a fragment, the whole fragment is included. -- 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 SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- 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] WixLibrary project WixUI declarations
The multiple fragments in a single library does make sense. Thanks for your help on this. Cheers Russell On Wednesday, 15 July, 2009, at 03:09PM, Peter Shirtcliffe pshirtcli...@sdl.com wrote: I see what you mean, especially if youre used to C# references in VS. The oddness allows you to have multiple fragments in a wixlib and you might not necessarily want to pull in all the fragments into your project. It reduces bloat and avoids the need for lots of little wixlibs. -- 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
[WiX-users] WixVariables and GUIDs
I'm trying to put a GUID in to a wix variable but can't seem to make it work. I've successfully put the same GUID in to a pre-processor define and it works correctly. Is this a bug in Wix 3 or am I trying to use wix variables incorrectly. I've declared the define like this: ?define UPGRADE_ID = 5FC4DAE6-D1B9-42D6-BF3A-6DA600FB8A3F? And was accessing it like this: Upgrade Id=$(var.UPGRADE_ID) Which worked fine. I've then tried to declare this as a wix variable so it can go in a library project like this: WixVariable Id=UpgradeID Value=5FC4DAE6-D1B9-42D6-BF3A-6DA600FB8A3F / But if I then try and use this variable in an upgrade section: Upgrade Id=!(wix.UpgradeID) I get the following 2 errors: Error 1 ICE03: Invalid GUID string (Be sure GUID is all UPPER case); Table: Upgrade, Column: UpgradeCode, Key(s): 5FC4DAE6-D1B9-42D6-BF3A-6DA600FB8A3F..0.2.0..256 C:\russell\ServerTools\trunk.wix\IssueChooserWix\Common.wxi 7 1 IssueChooserWix Error 2 ICE61: In Upgrade table UpgradeCode 5FC4DAE6-D1B9-42D6-BF3A-6DA600FB8A3F is not a valid GUID C:\russell\ServerTools\trunk.wix\IssueChooserWix\Common.wxi 7 1 IssueChooserWix Is this the correct syntax to use wix variables? Thanks Russell -- 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
Using Package Languages to define the supported languages and embedded each supported language into the master msi is working fine for me. Here is what i have done: For example, i have Package Languages set to 1031,1033. Suppose I will use 1033 as my Master msi. for 1033, I have the following settings WixLocalization Culture=en-us Codepage=0 xmlns=http://schemas.microsoft.com/wix/2006/localization; String Id=ProductLanguage Localizable=no1033/String String Id=LanguageCodePage Localizable=no0/String /WixLocalization and for 1031, i have the following settings WixLocalization Culture=de-de Codepage=1252 xmlns=http://schemas.microsoft.com/wix/2006/localization; String Id=ProductLanguage Localizable=no1031/String String Id=LanguageCodePage Localizable=no1252/String /WixLocalization Now after compiling both the MSIs for 1033 and 1031. I will create an mst for 1031 and apply this transform to MSI for 1033. Doing this, the MSI is working fine with me on all locales and english resources are displayed on all locales except for 1031 (german resources are displayed in this case). And to add on this, If i run the MSI for 1033 without applying 1031 transform, it will give me an error that cannot find a transform to apply. Becuase in the Package Languages we set 1031 and 1033...so the msi is looking for a transform to run on 1031 if 1033 is the master MSI. I hope this will help. Best Regards, Gulfam Murad On Wed, Jul 15, 2009 at 4:07 AM, Sebastian Brand (Instyler Software)wix+us...@instyler.com wrote: 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 -- HasbonAllah hu wa nae'mal wakeel -- 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] Wix UI images and paths
OK, I've found the problem. A library is just re-formatted XML just embeds the WixVariable value as its written in the wxs file. So a solution to this is to change the WixVariable lines to by: WixVariable Id=WixUIBannerBmp Value=$(sys.SOURCEFILEDIR)Banner.jpg/ Which then embeds a full path to the file assuming it is in the current folder. This works fine if the library project is part of your solution (as ours is) but not so well if you are trying to share the compiled wxlib file. Cheers Russell On Wednesday, 15 July, 2009, at 02:42PM, rh_maill...@mac.com wrote: I have the following code for the UI in my setup projects: UIRef Id=WixUI_Minimal/ WixVariable Id=WixUIBannerBmp Value=Banner.jpg/ WixVariable Id=WixUIDialogBmp Value=Dialog.jpg/ This code is actually in an include file that is shared by multiple wix projects. So Banner.jpg and Dialog.jpg don't live in each project folder, they're in a common location. So I've added relative include and reference paths to each Wix project to the location where the include file and the 2 jpgs are located. Both projects find the include file correctly via the include path but both fail to find the images. When specifying images like this, does the linker not search the reference paths for them? Is this a bug or is this as expected? If so, how can you share images across multiple projects? I've tried putting the common UI code in to a WixLibrary project but that doesn't work either (see my earlier post). Thanks Russell -- 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] WixVariables and GUIDs
Hey Russell, Have you tried putting brackets around the GUID? http://msdn.microsoft.com/en-us/library/aa368767(VS.85).aspx Thanks, Brian Rogers Intelligence removes complexity. - Me http://blogs.msdn.com/icumove -- NEW On Wed, Jul 15, 2009 at 6:31 AM, rh_maill...@mac.com wrote: I'm trying to put a GUID in to a wix variable but can't seem to make it work. I've successfully put the same GUID in to a pre-processor define and it works correctly. Is this a bug in Wix 3 or am I trying to use wix variables incorrectly. I've declared the define like this: ?define UPGRADE_ID = 5FC4DAE6-D1B9-42D6-BF3A-6DA600FB8A3F? And was accessing it like this: Upgrade Id=$(var.UPGRADE_ID) Which worked fine. I've then tried to declare this as a wix variable so it can go in a library project like this: WixVariable Id=UpgradeID Value=5FC4DAE6-D1B9-42D6-BF3A-6DA600FB8A3F / But if I then try and use this variable in an upgrade section: Upgrade Id=!(wix.UpgradeID) I get the following 2 errors: Error 1 ICE03: Invalid GUID string (Be sure GUID is all UPPER case); Table: Upgrade, Column: UpgradeCode, Key(s): 5FC4DAE6-D1B9-42D6-BF3A-6DA600FB8A3F..0.2.0..256 C:\russell\ServerTools\trunk.wix\IssueChooserWix\Common.wxi 7 1 IssueChooserWix Error 2 ICE61: In Upgrade table UpgradeCode 5FC4DAE6-D1B9-42D6-BF3A-6DA600FB8A3F is not a valid GUID C:\russell\ServerTools\trunk.wix\IssueChooserWix\Common.wxi 7 1 IssueChooserWix Is this the correct syntax to use wix variables? Thanks Russell -- 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] WixVariables and GUIDs
Thanks Brian, this does work (I thought I'd tried this and it didn't before!) Odd that if I define the GUID as a pre-processor variable it doesn't require {}'s and if you enter the GUID manually Wix says it doesn't need them. But it works so great. Thanks Russell On Wednesday, 15 July, 2009, at 04:59PM, Brian Rogers rogers.br...@gmail.com wrote: Hey Russell, Have you tried putting brackets around the GUID? http://msdn.microsoft.com/en-us/library/aa368767(VS.85).aspx Thanks, Brian Rogers Intelligence removes complexity. - Me http://blogs.msdn.com/icumove -- NEW -- 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] WixVariables and GUIDs
Hey Russell, I am not 100% sure but I believe the WiX team works some magic on GUIDs before the bind/link time. That might be why you are seeing this behavior. Thanks, Brian Rogers Intelligence removes complexity. - Me http://blogs.msdn.com/icumove -- NEW On Wed, Jul 15, 2009 at 9:37 AM, rh_maill...@mac.com wrote: Thanks Brian, this does work (I thought I'd tried this and it didn't before!) Odd that if I define the GUID as a pre-processor variable it doesn't require {}'s and if you enter the GUID manually Wix says it doesn't need them. But it works so great. Thanks Russell On Wednesday, 15 July, 2009, at 04:59PM, Brian Rogers rogers.br...@gmail.com wrote: Hey Russell, Have you tried putting brackets around the GUID? http://msdn.microsoft.com/en-us/library/aa368767(VS.85).aspx Thanks, Brian Rogers Intelligence removes complexity. - Me http://blogs.msdn.com/icumove -- NEW -- 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 I control the UI when uninstall
Assuming you mean uninstall still, a custom action that calls MsiProcessMessage with INSTALLMESSAGE_COMMONDATA as documented here will do that: http://msdn.microsoft.com/en-us/library/aa370354(VS.85).aspx Do it as early as you can in the InstallExecute sequence. When I've done this it's not a good UI experience because the Cancel button is initially briefly shown, then disappears when the CA runs, then appears again at the end. I didn't investigate whether this could be improved. Phil Wilson -Original Message- From: zhihai guo [mailto:zhh...@gmail.com] Sent: Tuesday, July 14, 2009 6:26 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Can I control the UI when uninstall Can I make my installation without cancel button? 2009/7/14 Bob Arnson b...@joyofsetup.com zhihai guo wrote: In reality I just don't want the uninstall can be interrupted. Installation can always be interrupted, even without a cancel button. Your setup should tolerate that with proper rollback. -- sig://boB http://joyofsetup.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 -- 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
[WiX-users] I'd call this an error, not a warning
Hi all, Attempting to bootstrap in the .NET 3.5 sp1 installer yields the following warning: C:\Documents and Settings\hudson\.hudson\jobs\PhotonMainCI\workspace\photon\main\PhotonSetupWiX\PhotonSetupWiX.wixproj : warning MSB3155: Item 'Microsoft.Net.Framework.3.5.SP1' could not be located in 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\'. I'd call that actually a pretty severe error, not a warning. Any idea on why the sp1 installer can't be found? I've followed the instructions on: http://download.microsoft.com/download/A/2/8/A2807F78-C861-4B66-9B31-9205C3F22252/VS2008SP1Readme.htm to the letter. I suspect that the setup.bin file is broken... Mark -- 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
[WiX-users] Python for the custom action
It is a good idea to have an ability to write custom action on Python same as for VBScript or JScript. I understand that the Windows Installer not going support this (maybe IronPython?). But may we can to make an Wix extension? What do you think? Does it make sence? -- 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] Python for the custom action
Hey Konstantin, You could develop a managed custom action and use IronPython if that works for you. It would be good for the community to hear how your development efforts went. Thanks, Brian Rogers Intelligence removes complexity. - Me http://blogs.msdn.com/icumove -- NEW On Wed, Jul 15, 2009 at 11:52 AM, Konstantin Vlasenko konstantin.vlase...@gmail.com wrote: It is a good idea to have an ability to write custom action on Python same as for VBScript or JScript. I understand that the Windows Installer not going support this (maybe IronPython?). But may we can to make an Wix extension? What do you think? Does it make sence? -- 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] Setup upgrade needs to care for 4th part of versionnumber
It's worse than that: The FileVersion (and ProductVersion) values in the Win32 Version resource type (the 4-part one you refer to) allows 16-bit unsigned values in each of the four parts. The Windows Installer version allows 8-bit unsigned values in the first two parts and 16-bit unsigned values in the last two (although the fourth is ignored). The reason is that the Win32 version internally is a 64-bit number, while the MSI version internally is a 32-bit number. Visual Studio protects you by not allowing the fourth part (and further constraining the remaining three) in the Setup projects (so you don't have false expectations nor can you create an illegal version). I don't know the reason. MSI uses the Win32 structure (all 64-bits) when examining files comparing them to the rows in the File table, but it stores just 32-bits for the ProductVersion values it uses to compare MSI files. It may have something to do with the MSI 1.0 method of registering products (registry DWORDs) that was kept due to back-compat considerations. However, if you generate patches (MSP) you can use the Win32 notion of a version (4 16-bit numbers, or 64-bits) to order (and override) the version numbers (in other words, the same as the build-number system you use to generate the files' version resources). So, they upgraded where they could, while not where they couldn't without breaking things (you can always load an MSI intended for MSI 5.0 using MSI 1.0 and it has to understand what it is reading, even if it will reject it because you sent the minimum MSI you support to a higher number). -Blair -Original Message- From: Kim Gybels [mailto:kim.gyb...@metris.com] Sent: Wednesday, July 15, 2009 2:34 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Setup upgrade needs to care for 4th part of versionnumber Hi, We also ran into this problem. It is just stupid that visual studio projects use 4 part version numbers and MSI only supports 3. Visual Studio doesn't. We're talking in the context of major upgrades and the ProductVersion property. In Visual Studio that's the Version property of the Setup Project. If you put 4 digits in there, its build fails, saying Must be of format ##.##.###. I suspect VS does this to ensure that you can't go ahead and build an upgrade that won't work because, after all, Visual Studio is building an MSI file! I was talking about the version numbers you can use in the resource files for executables that you create with Visual C++. The version number there has 4 parts... So that is two products made by Microsoft. One saying: look feel free to use 4 version numbers, the other one being the brick wall you run into when trying to create an installer :) - Kim -- *Kim Gybels Software Developer * kim.gyb...@metris.com mailto:kim.gyb...@metris.com Tel: +32 16 74 01 01 Fax: +32 16 74 01 02 * Metris Europe * Interleuvenlaan 86 3001 Leuven Belgium www.metris.com http://www.metris.com/ This message and any attachment are privileged, confidential and contain private information. If you are not the addressee named above any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication is prohibited. If you have received this transmission in error, please notify the sender immediately and destroy this e-mail. Metris does not guarantee that the integrity of this communication has been maintained or that this communication is free of viruses, interceptions or interference, and shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. Incoming and outgoing email communications may be monitored by Metris, as permitted by applicable law and regulations. -- 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] How to register file type with wix 3 RTM?
Sorry. That goes over my head! Hopefully someone else can help you on this. --Quinton -Original Message- From: Ryan Dai [mailto:ryan...@hotmail.com] Sent: Thursday, July 09, 2009 8:22 PM To: Wix Subject: Re: [WiX-users] How to register file type with wix 3 RTM? Hi Quinton, Actually our product is a add-in package of VS. And we just want to register a file type. In other word, there is no exe or file can be used to open file of that type. It actually works before even we don't put actual FileId:). So do you think we should register that file type to devenv.exe of VS? Date: Thu, 9 Jul 2009 09:11:27 -0700 From: quint...@deltacompsys.com To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] How to register file type with wix 3 RTM? Ryan, Where do you have a file with @Id of FileId defined? I register an extension as shown: Component Id=ExeFile Guid=... File Id=FileId Source= MyApp.exe / ProgId Advertise=no Id=MyApp.MyExt.1 Icon=FileId IconIndex=1 Description=MyApp File Extension Id=myext ContentType=application/xml Verb Id=open TargetFile=FileId Argument=quot;%1quot; / /Extension /ProgId /Component Notice that I have the file and the extension both in the same component. Perhaps this isn't required, but it makes sense to me since they must go together for my application, but perhaps other apps want the extension to be optional. Notice that both ProgId/@Icon and Verb/@TargetFile refer to File/@Id, which WiX 3.0 will convert to [#FileId] in the MSI file, which will be the full installed filepath in the registry after installation. [#FileId] is nearly equivalent to [!FileId], except the latter uses short filenames. Notice that WiX includes the double-quotes around the [#FileId] to avoid problems with spaces in the path. There are some warnings in the MSI documentation about [#FileId] only being resolved if the component installing the file has already been installed, so perhaps that has something to do with your problem. --Quinton -Original Message- From: Ryan Dai [mailto:ryan...@hotmail.com] Sent: Wednesday, July 08, 2009 4:23 PM To: Wix; b...@joyofsetup.com Subject: Re: [WiX-users] How to register file type with wix 3 RTM? Hi Bob, Thanks for your answer. After I remove the Sequence attribute, I still get errors. Component Id=myfile Guid=8E4C47A3-4CDB-4c2c-A783-0B21747DFC3C ProgId Id=myfileid Extension Id=my ContentType=application/text Verb Id=open Command=open TargetFile=FileId Argument=quot;%1quot; / /Extension /ProgId /Component error LGHT0094 : Unresolved reference to symbol 'File:FileId' Wixcop changed my original Target = [!FileId] to TargetFile=FileId. So in wix 2, it works if we specify: Component Id=myfile Guid=8E4C47A3-4CDB-4c2c-A783-0B21747DFC3C ProgId Id=myfileid Extension Id=my ContentType=application/text Verb Id=open Command=open Target=[!FileId] Argument=quot;%1quot; / /Extension /ProgId /Component I think our orginal intention is just to register a file type for an editor of our Visual Studio package. So it seems like there is no something about the target file to be executed for the verb. Date: Wed, 8 Jul 2009 07:51:20 -0400 From: b...@joyofsetup.com To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] How to register file type with wix 3 RTM? Ryan Dai wrote: error CNDL0035 : The Verb/@Sequence attribute cannot be specified when attribute Advertise is present with value 'no'. If you have only a single Verb element, just omit the Sequence attribute. WiX v2 accepted the Sequence attribute when Advertised=no but did nothing with it; WiX v3 is more strict and doesn't just throw away what you give it. -- sig://boB http://joyofsetup.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 _ Windows Live(tm): Keep your life in sync. Check it out! http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009 -- 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
Re: [WiX-users] Setup upgrade needs to care for 4th part of versionnumber
I guess the issue here is the expectation that the MSI property called ProductVersion should behave the same was as an individual version in a file resource? Even though they're used for different purposes? I feel a Raymond Chen moment coming on. MIDL version is just 2 digits (and therefore so are type library versions), HTTP header version is 18 characters, assembly versions don't behave like file versions in the GAC and so on. I'm just making the point here that the term version is completely overloaded, and anything that might be afflicted with that label is never going to be consistent with the meanings of all the others. Phil Wilson -Original Message- From: Blair [mailto:os...@live.com] Sent: Wednesday, July 15, 2009 1:33 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Setup upgrade needs to care for 4th part of versionnumber It's worse than that: The FileVersion (and ProductVersion) values in the Win32 Version resource type (the 4-part one you refer to) allows 16-bit unsigned values in each of the four parts. The Windows Installer version allows 8-bit unsigned values in the first two parts and 16-bit unsigned values in the last two (although the fourth is ignored). The reason is that the Win32 version internally is a 64-bit number, while the MSI version internally is a 32-bit number. Visual Studio protects you by not allowing the fourth part (and further constraining the remaining three) in the Setup projects (so you don't have false expectations nor can you create an illegal version). I don't know the reason. MSI uses the Win32 structure (all 64-bits) when examining files comparing them to the rows in the File table, but it stores just 32-bits for the ProductVersion values it uses to compare MSI files. It may have something to do with the MSI 1.0 method of registering products (registry DWORDs) that was kept due to back-compat considerations. However, if you generate patches (MSP) you can use the Win32 notion of a version (4 16-bit numbers, or 64-bits) to order (and override) the version numbers (in other words, the same as the build-number system you use to generate the files' version resources). So, they upgraded where they could, while not where they couldn't without breaking things (you can always load an MSI intended for MSI 5.0 using MSI 1.0 and it has to understand what it is reading, even if it will reject it because you sent the minimum MSI you support to a higher number). -Blair -Original Message- From: Kim Gybels [mailto:kim.gyb...@metris.com] Sent: Wednesday, July 15, 2009 2:34 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Setup upgrade needs to care for 4th part of versionnumber Hi, We also ran into this problem. It is just stupid that visual studio projects use 4 part version numbers and MSI only supports 3. Visual Studio doesn't. We're talking in the context of major upgrades and the ProductVersion property. In Visual Studio that's the Version property of the Setup Project. If you put 4 digits in there, its build fails, saying Must be of format ##.##.###. I suspect VS does this to ensure that you can't go ahead and build an upgrade that won't work because, after all, Visual Studio is building an MSI file! I was talking about the version numbers you can use in the resource files for executables that you create with Visual C++. The version number there has 4 parts... So that is two products made by Microsoft. One saying: look feel free to use 4 version numbers, the other one being the brick wall you run into when trying to create an installer :) - Kim -- *Kim Gybels Software Developer * kim.gyb...@metris.com mailto:kim.gyb...@metris.com Tel: +32 16 74 01 01 Fax: +32 16 74 01 02 * Metris Europe * Interleuvenlaan 86 3001 Leuven Belgium www.metris.com http://www.metris.com/ This message and any attachment are privileged, confidential and contain private information. If you are not the addressee named above any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication is prohibited. If you have received this transmission in error, please notify the sender immediately and destroy this e-mail. Metris does not guarantee that the integrity of this communication has been maintained or that this communication is free of viruses, interceptions or interference, and shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. Incoming and outgoing email communications may be monitored by Metris, as permitted by applicable law and regulations. -- 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)
[WiX-users] how to localize Error messages
Hi, I reused WIX dialogs in my project. To localize the strings, I copied all the string from WIX to my own wxl file. After localization, I found the error strings are localized correctly. However, the msi still display English string for rebooting dialog. I tried to remove Error1703 string from the resource file and the msi still can be built successfully. This means msi does not use the error string in my resource file. How can I make my msi use the error strings in my localized resource file? Thanks Lian -- 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