[WiX-users] Correct tallow.exe syntax
I want to create a fragment for all COM components in a directory, but I do not have the correct syntax of the tallow.exe it seems. Who can help me? At the moment I try this: tallow -nologo -1 -d f:\COM\ -df *.dll com.wxs But I need to integrate the -s parameter for extracting the registry entries. How can I do that? At the moment the command above gives me a fragment like this: Wix xmlns=http://schemas.microsoft.com/wix/2003/01/wi; Fragment DirectoryRef Id=TARGETDIR Directory Id=directory0 Name= LongName=Services Component Id=component0 DiskId=1 Guid=PUT-GUID-HERE File Id=file0 Name=com_1.dll src=f:\COM\com_1.dll / /Component Component Id=component1 DiskId=1 Guid=PUT-GUID-HERE File Id=file1 Name=com_2.dll src=f:\COM\com_2.dll / /Component Component Id=component2 DiskId=1 Guid=PUT-GUID-HERE File Id=file2 Name=com_3.dll src=f:\COM\com_3.dll / /Component /Directory /DirectoryRef /Fragment /Wix Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Installing/Starting a service, the simple way.
Hello again all, I'm having real trouble installing and starting a service, I have made a simple installer that just installs one file and tries to install it as a service and start it... I get the standard error message when installing "Failed to start service "My Service"" Here is the wxs file... ANYONE please is there something simple I'm missing here? ?xml version='1.0' encoding='windows-1252'? Wix xmlns='http://schemas.microsoft.com/wix/2003/01/wi' Product Name='Foobar 1.0' Id='A85C6ED8-D384-4275-9E1A-CA3D9960DC26' Language='1033' Codepage='1252' Version='1.0.0' Manufacturer='Acme Ltd.' Package Id='----' Keywords='Installer' Description="Acme's Foobar 1.0 Installer" Comments='Foobar is a registered trademark of Acme Ltd.' Manufacturer='Acme Ltd.' InstallerVersion='100' Languages='1033' Compressed='yes' SummaryCodepage='1252' / Media Id='1' Cabinet='Sample.cab' EmbedCab='yes' DiskPrompt="CD-ROM #1" / Property Id='DiskPrompt' Value="Acme's Foobar 1.0 Installation [1]" / Directory Id='TARGETDIR' Name='SourceDir' Directory Id='ProgramFilesFolder' Name='PFiles' Directory Id='InstallDir' Name='Acme' Component Id='ServiceExeComponent' Guid='209C6668-1A64-43e9-AFCC-3373A846A40D' SharedDllRefCount='no' KeyPath='no' NeverOverwrite='no' Permanent='no' Transitive='no' Win64='no' Location='either' File Id='ServiceExeFile' Name="WSSESS_1.EXE" LongName="WSSession.exe" src="d:\FWRedist\WSSession.exe" ReadOnly='no' Compressed='yes' KeyPath='yes' Vital='yes' Hidden='no' System='no' Checksum='no' DiskId="1"/ ServiceInstall Id='MyServiceInstall' DisplayName='My Test Service' Name='MyServiceExeName' ErrorControl='normal' Start='auto' Type='ownProcess' Vital='yes' / ServiceControl Id='MyServiceControl' Name='MyServiceExeName' Start='install' Stop='uninstall' Remove='uninstall' / /Component /Directory /Directory /Directory Binary Id='CreateTable' SourceFile='CreateTable.sql' / Feature Id='ServiceFeature' Title='SqlFeature' Level='1' ComponentRef Id='ServiceExeComponent' / /Feature /Product /Wix Loads of love, Simon The information contained in this e-mail is likely to be confidential and may be legally privileged. It is intended only for the addressee. If you have received this message in error please notify the sender immediately at the above address. The disclosure, copying or distribution of this message or its contents without the prior approval of Wallingford Software Ltd. is strictly prohibited. Wallingford Software Ltd. is not liable for unauthorised disclosures nor for subsequent actions or omissions in reliance upon them. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Sequencing custom actions
Hi. I have a requirement to run a few custom actions as follows : 1. Sequence a CA to run just before any other file is written or any other system change is made. 2. Right before the installation starts, launch a custom action to gather the diffrerent MSI variables, and store them on the registry or a temporary ini file so that my main custom action (previous section) can access them. 3. right after all files are copied, i need to execute a final custom action to collect data from the ini file (data written by the CA from section 1) and set thise data into MSI properties, available to the installation exit page This will look similar to this : Pre-install Install Post-install I thought of sequencing it in the GUI but then i realised that non-gui installations will not perform what i need. I tried sequencing the custom actions before installInitialize as immediate, but the CA had no access to the MSI variables. Does anyone have an idea how to accompilsh such a thing? thanks. -- View this message in context: http://www.nabble.com/Sequencing-custom-actions-tf1894015.html#a5179742 Sent from the wix-users forum at Nabble.com. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] System32 path
How do I get the System32 path of the computer I want to install my software? The problem is that is could be c:\Windows\System32 or c:\Winnt\System32 or some other drive letter etc. Is there a possiblity to get the environment variable for that in WiX? Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] System32 path
On Wed, 05 Jul 2006 14:50:43 +0200, Torsten Rudnick wrote: Torsten, How do I get the System32 path of the computer I want to install my software? See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/system_folder_properties.asp Bye, Gábor --- DEÁK JAHN, Gábor -- Budapest, Hungary E-mail: [EMAIL PROTECTED] Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Debugging Wix Uninstallers
No, the best you can do is log the install and then look through it afterwards. Just type msiexec to get the list of options. Personally I use msiexec /i product.msi /leavx log.txt Rob Akshay Bhargava, Noida wrote: Hi All, Is there any way I can put the break points and debug WIX installer, particularly on uninstallation. Thanks and Regards Akshaya Bhargava Member Technical Staff HCL Technologies DISCLAIMER: --- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Conditional Component in Merge Module
Hi all,I'm looking to do a conditional installation of a component (based on a RegistrySearch) within a merge module.Usually I'd just add a Feature to wrap the Component, and put the Condition inside the Feature with a Condition/@Level attribute.Unfortunately Modules don't support Features, so I can't do that in my case...How can I conditionally install my Component?Thanks,-- Shmarya--- [EMAIL PROTECTED] - http://idp.shmarya.net Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] conditional disabling ConfigureIIS custom action?
I am using sca.wixlib (wix 2.0) and it comes with ConfigureIIS action in InstallExecuteSequence. Our installation has multiple features and only few of them needs IIS pre-requisite check. Currently when we run the installer with features which dont need IIS, this custom action is still getting executed and throwing an ignorable dialog with message Cannot connect to Internet Information Server. I tried adding conditional custom action explicitly in the installexecutesequence in my code for ConfigureIIS but it is not showing up in the msi when I open it in Orca. If anyone already done conditionally disabling wix sca.wixlib custom actions, let me know. Thanks in advance, chandra Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] conditional disabling ConfigureIIS custom action?
In WiX v2, the only way to condition out the ConfigureIIs action (the one you want) in the .wixlib is to modify the .wxs file for the sca.wixlib and rebuild it. In WiX v3, it is possible to override the condition on actions without rebuilding (the feature you need). From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chandra Rentachintala Sent: Wednesday, July 05, 2006 11:23 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] conditional disabling ConfigureIIS custom action? I am using sca.wixlib (wix 2.0) and it comes with ConfigureIIS action in InstallExecuteSequence. Our installation has multiple features and only few of them needs IIS pre-requisite check. Currently when we run the installer with features which don't need IIS, this custom action is still getting executed and throwing an ignorable dialog with message Cannot connect to Internet Information Server. I tried adding conditional custom action explicitly in the installexecutesequence in my code for ConfigureIIS but it is not showing up in the msi when I open it in Orca. If anyone already done conditionally disabling wix sca.wixlib custom actions, let me know. Thanks in advance, chandra Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] XmlFile - specification misimplementation
Darren Kulp wrote: XmlFiles XPath implementation is incorrect with regard to position indexing. The XmlFile CA does almost nothing with the XPath you provide. It stores it and passes it to MSXML. MSXML provides the implementation of XPath. -- sig://boB http://bobs.org Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] XmlFile - specification misimplementation
1. The XPath processing is handled by MSXML. Were at the mercy of any bugs/non-spec compliance they have. 2. The create/modify pattern is exactly what was discussed and will be changing as K gets time. 3. Time wasted discovering this sort of error is time that someone has to spend somewhere. Ideally we capture the time spent such that others can learn from who ever hit it first. I see that you opened a bug on the issue, thanks much. Im not sure there is much we can do about it (save switching to a completely different XML/XPath/XSL processor... something Im not too keen on) but hopefully itll save other people time. 4. As for a robust test suite, there has been discussion about this but nobody has done the work yet. Would you like to lead the charge here and start developing it? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Darren Kulp Sent: Wednesday, July 05, 2006 1:33 PM To: wix-users@lists.sourceforge.net Cc: Darren Kulp Subject: [WiX-users] XmlFile - specification misimplementation A conversation between Michael Cline and Rob Mensching has clarified the state of XmlFile, but in case this information can help anyone else, or someone can suggest a workaround to my problem, I hereby submit the results of some recent research on XmlFile. XmlFiles XPath implementation is incorrect with regard to position indexing. Specifically, the first proximity position (or NodeSet index) in the XPath specification is 1 (http://www.w3.org/TR/xpath#dt-proximity-position); in XmlFile, it is 0. In the following example XML file, /abc/mult[1] refers to the only mult / element in the file, but specifying this path will cause XmlFile to throw an error, saying the node could not be found (using /abc/mult[0] returns the result we had expected): abc multa/mult /abc In addition, XmlFile does not appear to support the last() function. This is a severe disadvantage with the current create-then-modify implementation, since as far as I can see (though I am an XPath newbie), it is necessary to use last() if one wants to add, for example, a CodeGroup / to .NETs security.config; because there are multiple CodeGroup / elements already, we can know which one we have just created only by the fact that it was the last added. This is the problem for which I need a workaround if anyone has one; since last() always fails, I do not know how to specify a just-added node for future modifications. I have a working demonstration of both these bugs which I shall submit to the SourceForge bug tracker directly; I havent yet got the WixCA to build under VS.NET 2003, but if I succeed I will try to submit patches as well. I want to express my appreciation for the WiX toolset, but the time wasted discovering this sort of error can be significant. Has there been any consideration of a robust test suite for code like this? Darren Kulp WAUSAU [EMAIL PROTECTED] Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users