I am assuming you are talking about the installer command-line and not some executable's commandline your installer package will call.
Yes, it is all very possible to do. Command-lines in Windows Installer are passed by setting properties on its commandline (e.g. MY1PARAM=some-value "MY2PARAM=some other value" MY3PARAM="even\a\different\value"). All silent install push tools made for MSI packages provide for a way to supply these command-lines, which turn into session properties when the initial installation occurs. The registry can be written using the RegistryKey and RegistryValue elements, and xml config files can be altered using the XmlConfig and/or XmlFile elements of the WixUtilExtension. The service can be installed and configured via the ServiceInstall and other related elements. Even permissions can be set on the service and its controls. There are numerous blogs as well as the WiX tutorial that make great references to all of these, as well as the wix.chm (and its online equivalent). -----Original Message----- From: Chris Jokinen [mailto:chr...@directron.us] Sent: Monday, October 12, 2009 2:33 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] silent install, command line, parameter and writting to registry or file Hello All, I have a small project that is a windows service, but I need to make an installer to run via the command line and pass 3 parameters that will be used to set the configuration in the registry or the apps config file. I also need to run the generated msi from the command line for silent installs (network install pushed from an administrator). Is the possible with WiX? And if so where can I find guidance on its implementation? All the best! Chris ---------------------------------------------------------------------------- -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users