[WiX-users] Problems adding Firebird ODBCDatasource with Wix
Hi all, I have tried several time to add ODBC datasource for a program. I'm using firebird datasource and I have checked properties for driver. What I'm doing wrong because the datasource doesn't get added? This is the section where datasource is defined: Media Id=1 Cabinet=Contents.cab EmbedCab=yes CompressionLevel=high / !-- Installation root directory -- Directory Id=TARGETDIR Name=SourceDir Directory Id=ProgramFilesFolder Name=PFiles Directory Id=install.dir.id Name=test LongName=test Directory Id=INSTALL.DIR.ID Name=InfoIn Component Id=odbc.id DiskId=1 Guid=FADFBCF3-1225-4BB3-A771-45BB5AB4087F ODBCDataSource DriverName=Firebird/InterBase(r) driver Id=odbc.source.driver.id Name=TEST Registration=user Property Id=DSN Value=TEST/Property Property Id=DBNAME Value=database/3051:TEST/Property Property Id=DRIVER Value=IscDbc/Property Property Id=Dialect Value=3/Property Property Id=QuotedIdentifier Value=Y/Property Property Id=SensitiveIdentifier Value=N/Property Property Id=AutoQuotedIdentifier Value=N/Property /ODBCDataSource /Component /Directory /Directory /Directory And later in setup file I have: InstallExecuteSequence InstallODBC/InstallODBC /InstallExecuteSequence MSI logs show : MSI (s) (68:74) [10:03:09:630]: Doing action: InstallODBC Toiminta alkoi 10:03:09: InstallODBC. MSI (s) (68:74) [10:03:09:630]: Note: 1: 2711 2: ODBCDriverManager64 MSI (s) (68:74) [10:03:09:630]: Note: 1: 2205 2: 3: ODBCDriver MSI (s) (68:74) [10:03:09:630]: Note: 1: 2228 2: 3: ODBCDriver 4: SELECT `Driver`,`ComponentId`,`Description`,`RuntimeFlags`,`Directory_`,`FileName`,`File_Setup`,`Action` FROM `ODBCDriver`, `File`, `Component` WHERE `File_` = `File` AND `ODBCDriver`.`Component_` = `Component` AND (`Component`.`ActionRequest` = 1 OR `Component`.`ActionRequest` = 2) AND `BinaryType` = ? MSI (s) (68:74) [10:03:09:630]: Note: 1: 2205 2: 3: ODBCDriver MSI (s) (68:74) [10:03:09:630]: Note: 1: 2228 2: 3: ODBCDriver 4: SELECT `Driver`,`ComponentId`,`Description`,`RuntimeFlags`,`Directory_`,`FileName`,`File_Setup`,`Action` FROM `ODBCDriver`, `File`, `Component` WHERE `File_` = `File` AND `ODBCDriver`.`Component_` = `Component` AND (`Component`.`ActionRequest` = 1 OR `Component`.`ActionRequest` = 2) AND `BinaryType` = ? MSI (s) (68:74) [10:03:09:630]: Note: 1: 2205 2: 3: ODBCTranslator MSI (s) (68:74) [10:03:09:630]: Note: 1: 2228 2: 3: ODBCTranslator 4: SELECT `Translator`,`ComponentId`,`Description`,`RuntimeFlags`,`Directory_`,`FileName`,`File_Setup`,`Action` FROM `ODBCTranslator`, `File`, `Component` WHERE `File_` = `File` AND `ODBCTranslator`.`Component_` = `Component` AND (`Component`.`ActionRequest` = 1 OR `Component`.`ActionRequest` = 2) AND `BinaryType` = ? MSI (s) (68:74) [10:03:09:630]: Note: 1: 2205 2: 3: ODBCTranslator MSI (s) (68:74) [10:03:09:630]: Note: 1: 2228 2: 3: ODBCTranslator 4: SELECT `Translator`,`ComponentId`,`Description`,`RuntimeFlags`,`Directory_`,`FileName`,`File_Setup`,`Action` FROM `ODBCTranslator`, `File`, `Component` WHERE `File_` = `File` AND `ODBCTranslator`.`Component_` = `Component` AND (`Component`.`ActionRequest` = 1 OR `Component`.`ActionRequest` = 2) AND `BinaryType` = ? Toiminta loppui 10:03:09: InstallODBC. Paluuarvo 0. -Anzi- - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] ICE33
I can confirm that warnings are all okay for Vista logo... I have a number of ICE33 warnings and have gotten that all important badge of approval for my packages. You can also get away with errors that appear as aresult of including MS merge modules, so long as they're well documented. The same goes for unsigned EXE and DLLs that you might be installing from a 3rd party source. Regards, Gareth Mike Robertson wrote: Like many others here I'm getting ICE33 warnings saying things should be registered in the ProgId table that I don't really have to worry about so far as actual installation is concerned. But can anybody confirm (or not) that these ICE33 warnings are OK for Vista certification (which does specifically say 'error' rather than 'warning', but it would be nice to hear that MS are OK'ing products with these warnings before I actually send them a package for certification). -- View this message in context: http://www.nabble.com/ICE33-tf3386348.html#a9433006 Sent from the wix-users mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Uninstalling
Does running the application generate new files in your folder(s) and so the installer has lost full ownership and so won't remove them? Try performing a treewalk of your installation files and see if anything new shows up that you weren't expecting. -- View this message in context: http://www.nabble.com/Uninstalling-tf3377150.html#a9433072 Sent from the wix-users mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Uninstalling
Nope. What I did to test was the following. Install files. After install complete, uninstall. only the plugin directory was removed. The root directory - StepCalc - Was not removed. Any Ideas? On 3/12/07, Gareth at Serif [EMAIL PROTECTED] wrote: Does running the application generate new files in your folder(s) and so the installer has lost full ownership and so won't remove them? Try performing a treewalk of your installation files and see if anything new shows up that you weren't expecting. -- View this message in context: http://www.nabble.com/Uninstalling-tf3377150.html#a9433072 Sent from the wix-users mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- My Website http://www.codelandia.com Jennys Website http://www.dontbflat.com - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Variable inside property value not resolved
Hi, I'm using a quit execution custom action to hide a folder at the end of the installation, the folder is created by the installation. The installation doesn't fail but the folder attributes remain intact. And on the msi log i can see the variable inside the [ ] is not resolved and i guess it should. Here is the relevant part of my wix file: Property Id=QtExecCmdLine Value='c:\windows\system32\attrib.exe +S +H [DocumentsFolder]' / CustomAction Id=QtExec BinaryKey=wixca DllEntry=CAQuietExec Execute=immediate Return=check / Binary Id=wixca src=wixca.dll / InstallExecuteSequence Custom Action=QtExec After=InstallValidate / /InstallExecuteSequence --- Ricardo Lopes - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WiX at TechEd 2007?
Is there any place in particular where I should be making noise in regards to getting a BOF or breakout session going? Joel Peterson Quality Engineer [EMAIL PROTECTED] From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Sunday, March 11, 2007 12:19 PM To: Peterson, Joel; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] WiX at TechEd 2007? Heh, funny you should ask. http://robmensching.com/blog/archive/2007/03/11/WiX-at-TechEd-2007--Surv ey-says.aspx From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peterson, Joel Sent: Friday, March 09, 2007 11:00 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] WiX at TechEd 2007? This is more for Rob and Bob, but if anyone else has any details I'd love to hear them. It actually crossed my mind to ask this as I was reading Rob's blog on the Designed for Operations Workshop. Is there any details for WiX-related breakout sessions, Birds of a Feather sessions, and/or Technical Learning Center developer availability at TechEd 2007? Thank you. Joel Peterson Quality Engineer [EMAIL PROTECTED] - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Control_first
How does Wix determine which control to set as control_first in the dialog table? Is there a way to override this? Thanks! -Tina - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Control_first
It's the control that is listed first. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tina Basinger Sent: Monday, March 12, 2007 9:11 AM To: Wix Group Subject: [WiX-users] Control_first How does Wix determine which control to set as control_first in the dialog table? Is there a way to override this? Thanks! -Tina - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WiX at TechEd 2007?
Heh, I hitchhiked my way into PDC last year (i.e. offered to do a lot of work in exchange for a ticket in). Took a fair bit of work and WiX wasn't on the official list of anything anywhere. I just wrote some stuff on a whiteboard and spent a lot of time answer questions about it. That was fun. I'm not exactly sure how to go about getting enough visibility to get a PDC session. Maybe we should start a petition the next time PDC starts making noise (early 2008?). -Original Message- From: Joe Kaplan [mailto:[EMAIL PROTECTED] On Behalf Of Joe Kaplan Sent: Sunday, March 11, 2007 8:00 PM To: Rob Mensching; Peterson, Joel; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] WiX at TechEd 2007? As I recall, they did let you into the last PDC, so maybe this time they'll let you attend and give you a session of some sort. :) I'd love to see WiX at TechEd, but PDC is more developer focused and probably an easier sell than TechEd, which is at least 50% infrastructure/IT Pro stuff. Another thing you can do is apply for a PDC BOF session. Those are at least voted on by the community, so the WiX community could potentially have a say in making it happen. I think it deserves a mainstream session topic though. Joe K. - Original Message - From: Rob Mensching [EMAIL PROTECTED] To: Peterson, Joel [EMAIL PROTECTED]; wix-users@lists.sourceforge.net Sent: Sunday, March 11, 2007 2:19 PM Subject: Re: [WiX-users] WiX at TechEd 2007? Heh, funny you should ask. http://robmensching.com/blog/archive/2007/03/11/WiX-at-TechEd-2007--Survey-says.aspx From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peterson, Joel Sent: Friday, March 09, 2007 11:00 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] WiX at TechEd 2007? This is more for Rob and Bob, but if anyone else has any details I'd love to hear them. It actually crossed my mind to ask this as I was reading Rob's blog on the Designed for Operations Workshop. Is there any details for WiX-related breakout sessions, Birds of a Feather sessions, and/or Technical Learning Center developer availability at TechEd 2007? Thank you. Joel Peterson Quality Engineer [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Variable inside property value not resolved
You're not going to be elevated at that point in time... you probably don't have permissions to do that. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ricardo Lopes Sent: Monday, March 12, 2007 7:33 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Variable inside property value not resolved Hi, I'm using a quit execution custom action to hide a folder at the end of the installation, the folder is created by the installation. The installation doesn't fail but the folder attributes remain intact. And on the msi log i can see the variable inside the [ ] is not resolved and i guess it should. Here is the relevant part of my wix file: Property Id=QtExecCmdLine Value='c:\windows\system32\attrib.exe +S +H [DocumentsFolder]' / CustomAction Id=QtExec BinaryKey=wixca DllEntry=CAQuietExec Execute=immediate Return=check / Binary Id=wixca src= wixca.dll / InstallExecuteSequence Custom Action=QtExec After=InstallValidate / /InstallExecuteSequence --- Ricardo Lopes - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Broken shortcuts in Vista
I've never seen anyone do what you did, so I'm not much help. smile/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gareth at Serif Sent: Monday, March 12, 2007 4:58 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Broken shortcuts in Vista Has no one else experienced this? If not, how did you create an optional Desktop shortcut that passes Windows Vista Logo testing? Cheers, Gareth -- View this message in context: http://www.nabble.com/Broken-shortcuts-in-Vista-tf3356646.html#a9433154 Sent from the wix-users mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Broken shortcuts in Vista
I think you need to re-read the Vista logo doc. You can have more than 1 shortcut per component they just have to point to the same file. Here is the NOTES section from Test Case 29. 1. The application's Windows Installer may contain more than one shortcut for each component listed in the Component or Shortcut tables; however, for each component that has multiple shortcuts, all shortcuts for that component must reference the same file in order to pass this test case. (Example: Application XYZ installs component foo and creates a shortcut on both the Start Menu and Desktop for that component. Both shortcuts must point to the same executable/component it is launching (foo.exe).) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching Sent: Monday, March 12, 2007 9:46 AM To: Gareth at Serif; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Broken shortcuts in Vista I've never seen anyone do what you did, so I'm not much help. smile/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gareth at Serif Sent: Monday, March 12, 2007 4:58 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Broken shortcuts in Vista Has no one else experienced this? If not, how did you create an optional Desktop shortcut that passes Windows Vista Logo testing? Cheers, Gareth -- View this message in context: http://www.nabble.com/Broken-shortcuts-in-Vista-tf3356646.html#a9433154 Sent from the wix-users mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE V ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE V ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Reusable properties?
Hey everyone, Just getting my feet wet with WiX. I've been working my way through the documentation and the online tutorial the past few days, but so far I've not been able to figure out if WiX has the ability to create anything like a global, reusable property, and if so, how are they applied? For example, what I would like to do, is create a property whose value can be referenced from various other places within the installer source file (.wxs). So, something like the following... !-- Declare the property -- Property Id=MyApplicationName Value=My Cool Application / !-- Now reference/use that property -- Directory Id=TARGETDIR Name=TDir LongName=TargetDirectory Directory Id=ProgramFilesFolder Name=PFiles LongName=Program Files Directory Id=INSTALLDIR Name=MyAppDir LongName={I.Want.To.Insert.My.Property.Value.Here...How.Do.I.Do.That?} /Directory /Directory /Directory __ // YEX // // Bob Yexley // Contractor / Software Engineer [Extreme Consulting] // LexisNexis - Risk Information Analytics Group (RIAG) // 937.865.6800 ext. 58655 // [EMAIL PROTECTED] - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Reusable properties?
Robert, One way that you can accomplish the below is an include file (NOTE includes are generally frowned upon). As an example you could set a property with respect to a directory search in the include ?xml version=1.0 encoding=utf-8? Include xmlns=http://schemas.microsoft.com/wix/2003/01/wi; Property Id=MYPROPERTY DirectorySearch Id=MYDIR Path=[ROOTDRIVE]XYZ Depth=0/ /Property /Include Then use the include where you need it ?include MyProperties.wxi? There is probably a fragment way to do this that would be more appropriate. I'll be interested to see myself. Thanks, Tom From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yexley, Robert (LNG-CON) Sent: Monday, March 12, 2007 2:24 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Reusable properties? Hey everyone, Just getting my feet wet with WiX. I've been working my way through the documentation and the online tutorial the past few days, but so far I've not been able to figure out if WiX has the ability to create anything like a global, reusable property, and if so, how are they applied? For example, what I would like to do, is create a property whose value can be referenced from various other places within the installer source file (.wxs). So, something like the following... !-- Declare the property -- Property Id=MyApplicationName Value=My Cool Application / !-- Now reference/use that property -- Directory Id=TARGETDIR Name=TDir LongName=TargetDirectory Directory Id=ProgramFilesFolder Name=PFiles LongName=Program Files Directory Id=INSTALLDIR Name=MyAppDir LongName={I.Want.To.Insert.My.Property.Value.Here...How.Do.I.Do.That?} /Directory /Directory /Directory __ // YEX // // Bob Yexley // Contractor / Software Engineer [Extreme Consulting] // LexisNexis - Risk Information Analytics Group (RIAG) // 937.865.6800 ext. 58655 // [EMAIL PROTECTED] - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Reusable properties?
Robert, One thing I'm not sure about... Are you saying that you want to be able to change the property at runtime? If so, then I think what you are suggesting may actually break the component rules (you would have the same component, but multiple different filenames). I'm sure someone else here can tell me if I'm right about that one! If what you are actually looking for is the ability to use the same source file(s) to create different packages, then using $(var.whatever) is probably a better choice. You can either define the settings for that type of variable in an include file, or (possibly more appropriately) with the -D command line parameter. A quick sample for how something like that may be used would be as follows: ?define Manufacturer=Some Company? ?define Name=Product Name? Wix xmlns=http://schemas.microsoft.com/wix/2003/01/wi; Product Id=---- Language=1033 Manufacturer=$(var.Manufacturer) Name=$(var.Name) ... NOTE: I'm not 100% confident about the ?define ... ? syntax for string parameters. You may need to put quote marks around the actual string... We pass ours in from the command line, using a parameter of the form: -dManufacturer=Some Company Hope this helps, Regards, Richard From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yexley, Robert (LNG-CON) Sent: Monday, March 12, 2007 2:24 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Reusable properties? Hey everyone, Just getting my feet wet with WiX. I've been working my way through the documentation and the online tutorial the past few days, but so far I've not been able to figure out if WiX has the ability to create anything like a global, reusable property, and if so, how are they applied? For example, what I would like to do, is create a property whose value can be referenced from various other places within the installer source file (.wxs). So, something like the following... !-- Declare the property -- Property Id=MyApplicationName Value=My Cool Application / !-- Now reference/use that property -- Directory Id=TARGETDIR Name=TDir LongName=TargetDirectory Directory Id=ProgramFilesFolder Name=PFiles LongName=Program Files Directory Id=INSTALLDIR Name=MyAppDir LongName={I.Want.To.Insert.My.Property.Value.Here...How.Do.I.Do.That?} /Directory /Directory /Directory __ // YEX // // Bob Yexley // Contractor / Software Engineer [Extreme Consulting] // LexisNexis - Risk Information Analytics Group (RIAG) // 937.865.6800 ext. 58655 // [EMAIL PROTECTED] * C O N F I D E N T I A L I T Y N O T I C E * --- The content of this e-mail is intended solely for the use of the individual or entity to whom it is addressed. If you have received this communication in error, be aware that forwarding it, copying it, or in any way disclosing its content to any other person, is strictly prohibited. Peek Traffic Corporation is neither liable for the contents, nor for the proper, complete and timely transmission of (the information contained in) this communication. If you have received this communication in error, please notify the author by replying to this e-mail immediately and delete the material from any computer. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Reusable properties?
Richard - You're close...I don't want to be able to change anything at runtime. What I want is a simple way to define a string variable that will be used in several placed throughout the source file, and then reference in some way wherever I need to use it. I'd like to do that so that, if the value changes, I can just change it in one place, instead of having to try to remember all of the places in the file that its used and change them all, and possibly miss some. I liked what you mentioned with the define and $(...) syntax. If that syntax is accurate, that may just be exactly what I was looking for. __ // YEX // From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, March 12, 2007 4:16 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Reusable properties? Robert, One thing I'm not sure about... Are you saying that you want to be able to change the property at runtime? If so, then I think what you are suggesting may actually break the component rules (you would have the same component, but multiple different filenames). I'm sure someone else here can tell me if I'm right about that one! If what you are actually looking for is the ability to use the same source file(s) to create different packages, then using $(var.whatever) is probably a better choice. You can either define the settings for that type of variable in an include file, or (possibly more appropriately) with the -D command line parameter. A quick sample for how something like that may be used would be as follows: ?define Manufacturer=Some Company? ?define Name=Product Name? Wix xmlns=http://schemas.microsoft.com/wix/2003/01/wi; Product Id=---- Language=1033 Manufacturer=$(var.Manufacturer) Name=$(var.Name) ... NOTE: I'm not 100% confident about the ?define ... ? syntax for string parameters. You may need to put quote marks around the actual string... We pass ours in from the command line, using a parameter of the form: -dManufacturer=Some Company Hope this helps, Regards, Richard From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yexley, Robert (LNG-CON) Sent: Monday, March 12, 2007 2:24 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Reusable properties? Hey everyone, Just getting my feet wet with WiX. I've been working my way through the documentation and the online tutorial the past few days, but so far I've not been able to figure out if WiX has the ability to create anything like a global, reusable property, and if so, how are they applied? For example, what I would like to do, is create a property whose value can be referenced from various other places within the installer source file (.wxs). So, something like the following... !-- Declare the property -- Property Id=MyApplicationName Value=My Cool Application / !-- Now reference/use that property -- Directory Id=TARGETDIR Name=TDir LongName=TargetDirectory Directory Id=ProgramFilesFolder Name=PFiles LongName=Program Files Directory Id=INSTALLDIR Name=MyAppDir LongName={I.Want.To.Insert.My.Property.Value.Here...How.Do.I.Do.That?} /Directory /Directory /Directory __ // YEX // // Bob Yexley // Contractor / Software Engineer [Extreme Consulting] // LexisNexis - Risk Information Analytics Group (RIAG) // 937.865.6800 ext. 58655 // [EMAIL PROTECTED] * C O N F I D E N T I A L I T Y N O T I C E * --- The content of this e-mail is intended solely for the use of the individual or entity to whom it is addressed. If you have received this communication in error, be aware that forwarding it, copying it, or in any way disclosing its content to any other person, is strictly prohibited. Peek Traffic Corporation is neither liable for the contents, nor for the proper, complete and timely transmission of (the information contained in) this communication. If you have received this communication in error, please notify the author by replying to this e-mail immediately and delete the material from any computer. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Reusable properties?
In that case, look at the Preprocessor section in the WiX help, it describes the preprocessor variables (which was what I mentioned), and also how a similar technique can be used to access environment variables and system variables. Be aware though, that the $(var.) format I mentioned is the Wix 2.0 form. I believe the $ character may have been changed to something else in WiX 3.x so check the documentation appropriate to the version you are using. Regards, Richard From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yexley, Robert (LNG-CON) Sent: Monday, March 12, 2007 4:25 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Reusable properties? Richard - You're close...I don't want to be able to change anything at runtime. What I want is a simple way to define a string variable that will be used in several placed throughout the source file, and then reference in some way wherever I need to use it. I'd like to do that so that, if the value changes, I can just change it in one place, instead of having to try to remember all of the places in the file that its used and change them all, and possibly miss some. I liked what you mentioned with the define and $(...) syntax. If that syntax is accurate, that may just be exactly what I was looking for. __ // YEX // * C O N F I D E N T I A L I T Y N O T I C E * --- The content of this e-mail is intended solely for the use of the individual or entity to whom it is addressed. If you have received this communication in error, be aware that forwarding it, copying it, or in any way disclosing its content to any other person, is strictly prohibited. Peek Traffic Corporation is neither liable for the contents, nor for the proper, complete and timely transmission of (the information contained in) this communication. If you have received this communication in error, please notify the author by replying to this e-mail immediately and delete the material from any computer. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Reusable properties?
Aahhh...the Preprocessor. That was what I was looking for. Thanks very much. __ // YEX // From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, March 12, 2007 4:35 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Reusable properties? In that case, look at the Preprocessor section in the WiX help, it describes the preprocessor variables (which was what I mentioned), and also how a similar technique can be used to access environment variables and system variables. Be aware though, that the $(var.) format I mentioned is the Wix 2.0 form. I believe the $ character may have been changed to something else in WiX 3.x so check the documentation appropriate to the version you are using. Regards, Richard From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yexley, Robert (LNG-CON) Sent: Monday, March 12, 2007 4:25 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Reusable properties? Richard - You're close...I don't want to be able to change anything at runtime. What I want is a simple way to define a string variable that will be used in several placed throughout the source file, and then reference in some way wherever I need to use it. I'd like to do that so that, if the value changes, I can just change it in one place, instead of having to try to remember all of the places in the file that its used and change them all, and possibly miss some. I liked what you mentioned with the define and $(...) syntax. If that syntax is accurate, that may just be exactly what I was looking for. __ // YEX // * C O N F I D E N T I A L I T Y N O T I C E * --- The content of this e-mail is intended solely for the use of the individual or entity to whom it is addressed. If you have received this communication in error, be aware that forwarding it, copying it, or in any way disclosing its content to any other person, is strictly prohibited. Peek Traffic Corporation is neither liable for the contents, nor for the proper, complete and timely transmission of (the information contained in) this communication. If you have received this communication in error, please notify the author by replying to this e-mail immediately and delete the material from any computer. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Can't run custom actions
You always find answers after you send the email. This looks like this was a build issue. Thanks, - Matt From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Coill Sent: Monday, March 12, 2007 2:16 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Can't run custom actions I am trying to run custom actions after my install, but I can't seem to do so. Dump of file custacts.dll File Type: DLL Section contains the following exports for CUSTACTS.dll characteristics 45F5C047 time date stamp Mon Mar 12 14:04:07 2007 0.00 version 1 ordinal base 2 number of functions 2 number of names ordinal hint RVA name 20 1185 DllMain 11 1190 DoAction Summary 1000 .data 1000 .reloc 1000 .rsrc 1000 .text In the debugger I don't see the dll being loaded at all, I tried both as an embedded DLL and installing the DLL and running from the installed path. I have included the dll source and the wxs file. Thanks, - Matt - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Can't run custom actions
Usually it means that the DLL has a dependency (e.g., msvc?80.dll) that aren't being met, so MSI can't even load the DLL. Best solution: Build CA DLLs with the static CRT. The VC80 runtime is installed as assemblies, so they're not available even when deferred CAs run. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Coill Sent: Monday, 12 March, 2007 14:16 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Can't run custom actions I am trying to run custom actions after my install, but I can't seem to do so. Dump of file custacts.dll File Type: DLL Section contains the following exports for CUSTACTS.dll characteristics 45F5C047 time date stamp Mon Mar 12 14:04:07 2007 0.00 version 1 ordinal base 2 number of functions 2 number of names ordinal hint RVA name 20 1185 DllMain 11 1190 DoAction Summary 1000 .data 1000 .reloc 1000 .rsrc 1000 .text In the debugger I don't see the dll being loaded at all, I tried both as an embedded DLL and installing the DLL and running from the installed path. I have included the dll source and the wxs file. Thanks, - Matt - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] com registration on VISTA
Hi, I have a COM component I am trying to register using wix. I am using this type of syntax: . . . Registry Id=_64B01B48C18D4FF0A3C8E04A3ACF1587 Root=HKLM Key=SYSTEM\CurrentControlSet\Services\EventLog\Application\AGPM Name=EventMessageFile Type=string Value=[!agpm.dll] / Registry Id=_CDC6619003BB4EE08D261CD9590C74FC Root=HKLM Key=SYSTEM\CurrentControlSet\Services\EventLog\Application\AGPM Name=ParameterMessageFile Type=string Value=[!agpm.dll] / Registry Id=_7D1654486E05440BBCADA33759479924 Root=HKLM Key=SYSTEM\CurrentControlSet\Services\EventLog\Application\AGPM Name=TypesSupported Type=integer Value=7 / AppId Id=someAPPID Advertise=no Class Id= someGUID Context=InprocServer32 Description=apmAboutItemExGpo Class Advertise=no Server=agpm.dll ProgId Id=agpm.apmAboutItemExGpo.1 Description=apmAboutItemExGpo Class ProgId Id=agpm.apmAboutItemExGpo Description=apmAboutItemExGpo Class / /ProgId /Class . . . Class Id=someGUID Context=InprocServer32 Description=apmComponentData Class Advertise=no Server=agpm.dll ProgId Id=agpm.apmComponentData.1 Description=apmComponentData Class ProgId Id=agpm.apmComponentData Description=apmComponentData Class / /ProgId /Class /AppId TypeLib Id=someGUID Language=0 MajorVersion=256 MinorVersion=0 Description=Policy Manager Type Library HelpDirectory=dirClient Cost=1 / This works great on WS03 and NOT AT ALL on Vista. Has anyone else ran into this problem? Doing a manual regsvr32 works fine on my component, I wonder if I should just enter all the registry entries manually instead of using the class, typelib and AppID tables. Any help would be appreciated, Thanks! Lindsay Harris - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to get a full path as a property for a deferred custom action?
I have a file specified this way ... Directory Id=TARGETDIR Name=SourceDir Directory Id=TempFolder Name=. Directory Id=xusb Name=xusb Component Id=xusb21_inf Guid=363597DB-7BB5-4553-9D63-00273F9E958B File Id=xusb21_inf Name=xusb21.inf DiskId=1 Source=files\xusb21.inf Vital=yes / /Component ... I would like to be able to create a property for my deferred custom action using this path and file: Property Id=inf_full_path??/Property For later use by my custom action: CustomAction Id=install_driver.SetProperty Return=check Property=install_driver Value=[ inf_full_path] / Is it possible to somehow get ?? from the xusb21_inf component or file item? If not how would I go about getting the full path to my deferred custom action? Thanks, - Matt - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to get a full path as a property for a deferred custom action?
Answering my own question again; I am having a good day! CustomAction Id=install_driver.SetProperty Return=check Property=install_driver Value=[#xusb21_inf] / This action should be set as: InstallExecuteSequence Custom Action=install_driver.SetProperty After=CostFinalize/ ... Thanks, - Matt From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Coill Sent: Monday, March 12, 2007 5:11 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to get a full path as a property for a deferred custom action? I have a file specified this way ... Directory Id=TARGETDIR Name=SourceDir Directory Id=TempFolder Name=. Directory Id=xusb Name=xusb Component Id=xusb21_inf Guid=363597DB-7BB5-4553-9D63-00273F9E958B File Id=xusb21_inf Name=xusb21.inf DiskId=1 Source=files\xusb21.inf Vital=yes / /Component ... I would like to be able to create a property for my deferred custom action using this path and file: Property Id=inf_full_path??/Property For later use by my custom action: CustomAction Id=install_driver.SetProperty Return=check Property=install_driver Value=[ inf_full_path] / Is it possible to somehow get ?? from the xusb21_inf component or file item? If not how would I go about getting the full path to my deferred custom action? Thanks, - Matt - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Problems adding Firebird ODBCDatasource with Wix
Anzi wrote: MSI (s) (68:74) [10:03:09:630]: Doing action: InstallODBC Toiminta alkoi 10:03:09: InstallODBC. MSI (s) (68:74) [10:03:09:630]: Note: 1: 2711 2: ODBCDriverManager64 I don't know anything about installing ODBC data sources, but see http://msdn2.microsoft.com/en-us/library/aa372396.aspx for a description of a change you need to make for 64-bit packages. -- sig://boB http://bobs.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Uninstalling
Jason Erickson wrote: Nope. What I did to test was the following. Install files. After install complete, uninstall. only the plugin directory was removed. The root directory - StepCalc - Was not removed. Any Ideas? Take a look at a verbose install log around the CostFinalize and InstallValidate actions. They log what actions MSI is going to take with your features and components. -- sig://boB http://bobs.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Can't make DiskPrompt to work
Maslov, Igor wrote: What I'm doing wrong? Is it possible to get a disk prompt message instead of missing file message? http://msdn2.microsoft.com/en-us/library/aa367782.aspx says you need error 1302 authored into the Error table. Are you doing that? If so, what does a verbose log show around the time of that message? -- sig://boB http://bobs.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users