Re: [WiX-users] MigrateFeatures with patch

2011-05-10 Thread Christoph Vollmer
Thanks. We had an additional feature, that seemed to have confused the installer. Seems to be some side effect. With the same feature set it works. Christoph -Original Message- From: Blair [mailto:os...@live.com] Sent: Tuesday, 10 May 2011 4:56 p.m. To: 'General discussion for Windows In

[WiX-users] Illegal identifier Directory Id="WindowsFolder" ?

2011-05-10 Thread Akshat Sharma
Hi I have a fragment where I define the directory structure as follows (I re-use the components defined later in other .wxs): . . . . “For some reason which seem to grasp, I keep getting the Error

Re: [WiX-users] InstallUtil.exe alternatives

2011-05-10 Thread Umeshj
A general solution to avoiding 'ugly DOS windows' is to use CAQuietExec from WixUtilExtension. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/InstallUtil-exe-alternatives-tp6349071p6350583.html Sent from the wix-users mailing list archive at Nabble

Re: [WiX-users] [Wix-User] Where is custom action dll when uninstall

2011-05-10 Thread Umeshj
Yes. Your MSI is cached in a subdirectory of Windows. A user won't be accidentally deleting this. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Wix-User-Where-is-custom-action-dll-when-uninstall-tp6350245p6350535.html Sent from the wix-users maili

Re: [WiX-users] dependent features

2011-05-10 Thread Martin Kulov
For the archive: I implemented this as two separate Components (different GUIDs) having Environment element. Both Environment elements use value from same property PATHADD. However PATHADD is set using CustomAction Property having condition to set value to the property only when both features are

[WiX-users] [Wix-User] Where is custom action dll when uninstall

2011-05-10 Thread JerryOELoo
Hi All: I have made a WIX msi package, and linked a custom action dll (custom.dll) into msi, then I copy msi file to test PC, install it. it works fine, all custom action is performed correctly, Then I use msiexec.exe /u x--(Uninstall GUID), it can remove all installed files, I think

Re: [WiX-users] Publishing to GAC

2011-05-10 Thread Kurt Jensen
yes, two components with different guids and different directories as outlined in the suggested article and follow on articles - I read them all I will look closer from some aberration in the log file. guid="" is just to make it more readable... there is a real guid in the actual code how do I c

Re: [WiX-users] InstallUtil.exe alternatives

2011-05-10 Thread Christopher Painter
Not quite.   It has to be a static class with a static method that takes the Session class as an argument.    The blog post I mentioned explains how it all works but there is an update.  Since then WiX added a C# Custom Action project type to Visual Studio under WiX.   Use that to generate your

Re: [WiX-users] Publishing to GAC

2011-05-10 Thread Wilson, Phil
There's not really a lot of info, but there are few things to look for. There won't be an error in the MSI log if Windows thinks it's doing the right thing, so don't just look for "error". There might be entries about "diallowing installation of component ." that are relevant. If you're in

[WiX-users] Binder Extension - get output file path

2011-05-10 Thread jhennessey
Is it possible to get the output file path from a binder extension (I didn't see anything obvious)? The reason I ask is because I want to generate an XML with some information from a custom unreal table and then save it to the directory containing the output. -- View this message in context: htt

Re: [WiX-users] Publishing to GAC

2011-05-10 Thread Kurt Jensen
Just testing clean install for now -Original Message- From: Chad Petersen [mailto:chad.peter...@harlandfs.com] Sent: Tuesday, May 10, 2011 2:27 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Publishing to GAC I might have missed but does this happen

Re: [WiX-users] Publishing to GAC

2011-05-10 Thread Chad Petersen
I might have missed but does this happen during a clean install, upgrade or both? -Original Message- From: Kurt Jensen [mailto:kurt.jen...@us.ophiropt.com] Sent: Tuesday, May 10, 2011 1:05 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Publishing to

Re: [WiX-users] InstallUtil.exe alternatives

2011-05-10 Thread vatson
Hi, Thanks for your response. The DTF option looks pretty interesting, based on your blog post. If my understanding is correct, can i simply replace the RunInstaller attribute that I currently have in my assemblies with the CustomAction attribute, and then use DTF to convert it into CA's the MSI c

Re: [WiX-users] Publishing to GAC

2011-05-10 Thread Kurt Jensen
I remember reading about that. double checked, the entry in MsiAssemblyName has a version we are at a loss as to how to track down the problem. there are no errors. any ideas? -Original Message- From: Jacques Eloff [mailto:repst...@gmail.com] Sent: Tuesday, May 10, 2011 12:33 PM To: Gen

Re: [WiX-users] InstallUtil.exe alternatives

2011-05-10 Thread Christopher Painter
DTF is a direct replacment of InstallUtil.  Also I'm not sure where in the post it was stated what exactly the InstallUtil classes were doing. ( e.g. Registry )   Although my experience tells me that whatever it is they are doing,  it's generally not good.  --- Christopher Painter, Author of

Re: [WiX-users] InstallUtil.exe alternatives

2011-05-10 Thread Christopher Painter
  Two things:   1) You should never have custom actions for things that Windows Installer can do natively.   If you have install actions for creating and starting services, that is wrong.  Use the ServiceInstall/ServiceControl tables instead.  Same goes for registering Dll's, creatin shortcuts,

Re: [WiX-users] InstallUtil.exe alternatives

2011-05-10 Thread Skildum, Mathew
There is no runtime or build time solution to replace installutil.exe. The only options are to extract the registry entries that are created and include them in the project or running installutil.exe at runtime. The best option is to extract the registry either by having InstallUtil create a r

[WiX-users] InstallUtil.exe alternatives

2011-05-10 Thread Srivatson Tirumalai
Hi, Is there a good alternative for installutil.exe in general available in Wix? We have a number of places in our installers where we have to invoke installutil.exe via a custom action for running the installer components in the assembly. One of the main problems in invoking InstallUtil.exe vi

Re: [WiX-users] Testing the UI

2011-05-10 Thread Francisco Gabriel Malbrán
Thank you very much Pally and Christopher. I am indeed intending to test texts & layout as part of the localization task. The information about Orca and InstEd was really helpful, I didn't know about that. However, it seem to not resolve the how to preview the ErrorDlg, since the message to be sho

Re: [WiX-users] Error trying to install VS2008 merge module files

2011-05-10 Thread Kevin Jackson
I ran across this thread from 2008 searching for a solution to a similar issue occuring in my installer. The thread between Mike and Bob doesn't reveal a solution, but I was able to find one for my installer that might help others who have a similar problem. On my installer, the issue was that the

Re: [WiX-users] Publishing to GAC

2011-05-10 Thread Jacques Eloff
Ahh, I found that when moving from WiX 2.0 to 3.0/3.5, the assembly file version wasn't written to the MsiAssemblyName table and it caused problems for us during upgrades. The solution in that case was just to add the -fv switch to Light, but that only solves upgrade issues. On Tue, May 10, 2011 a

Re: [WiX-users] Burn: secure Bundle Variables

2011-05-10 Thread John Robbins
I literally was just about to pose this same question to this DL today. :) My take is there needs to be a SecureStringVariables in the Engine. John Wintellect http://www.wintellect.com +1-877-968-5528 -Original Message- From: Vadym Verba [mailto:vve...@sdl.com] Sent: Tuesday, May 10, 20

Re: [WiX-users] Testing the UI

2011-05-10 Thread Christopher Painter
As an aside, I also recommend Hyper-V.  It's also free and the latest R2 SP1 adds the capabilities for dynamic memory allocation.  The advantage in Hyper-V to me is that it has much broader hardware support ( pretty much everything on the Windows HCL list ) where VMWare is more picky.   For thos

Re: [WiX-users] Testing the UI

2011-05-10 Thread Pally Sandher
How do you mean test exactly? If you only want to check the text & layout of dialogs you can preview them using Orca or InstEd! The recommended approach for installation testing is to use virtual machines -> http://www.joyofsetup.com/2007/09/24/test-your-setups-virtually/ In addition to the produ

Re: [WiX-users] Publishing to GAC

2011-05-10 Thread Kurt Jensen
yes, we set the Assembly=".net" otherwise we would not get the log entry listing our assembly. the assembly is properly listed in the MsiAssembly table with attribute=0 we are converting a vs2008/wix3.0 project to vs2010/wix3.5. in the wix3.0 project we only install it to the GAC. in the new wi

Re: [WiX-users] Bootstrapper updating problems

2011-05-10 Thread Pally Sandher
If by "I have created a bootstrapper using WiX" you mean you're using Burn, then check the bug tracker & report your issues if they're not already reported as Burn is still in active development. Palbinder Sandher  Software Deployment Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 h

Re: [WiX-users] Run 2 MSI´s at the same time

2011-05-10 Thread Pally Sandher
Use a bootstrapper. I've not said it this month as yet so I guess it was inevitable at this point. Palbinder Sandher  Software Deployment Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the ** Integrated Environmental Solutions

Re: [WiX-users] Publishing to GAC

2011-05-10 Thread Jacques Eloff
Did you set the Assembly attribute in the File element to ".net"? Also, as I recall, you need to create a separate directory for the GAC'd assembly. So you would have two elements for the assembly with different parent directories. One to actually install it to disk, the other one to install it

[WiX-users] Publishing to GAC

2011-05-10 Thread Kurt Jensen
we publish one assembly to the GAC. we find the MsiPublishAssemblies action in the log file. there is no error. but the assembly does not appear in the GAC. Action 7:17:10: MsiPublishAssemblies. Publishing assembly information MSI (s) (F8:2C) [07:17:10:015]: Executing op: AssemblyPublish(F

[WiX-users] Burn: secure Bundle Variables

2011-05-10 Thread Vadym Verba
Hello. I want to gather user password using BA and pass it to msi package, so I create Bundle variable and use it in MsiPackage: MainWindow.Model.Engine.StringVariables["my_password"] = "new_blablabla"; The problem is when this variable is initialized or changed in BA,

Re: [WiX-users] [Wix-users]

2011-05-10 Thread Aaron Klor
Two very good points. Thanks for the tip! On Tue, May 10, 2011 at 12:22 AM, Blair wrote: > And the set of before the CoPr are not random values either, and you > will need to ensure that they don't conflict with the GUID specifications > either. > > Blair > > -Original Message- > Fr

[WiX-users] Bootstrapper updating problems

2011-05-10 Thread Timo Viitaniemi
Hi, I have created a bootstrapper using WiX and like the functionality very much. However, there are some issues where I need help. Lets say that we have the following situation: We create a bootstrapper Installation.exe for installation1.msi and installation2.msi. 1) There comes a cras

Re: [WiX-users] dependent features

2011-05-10 Thread Peter Shirtcliffe
If your intention is to make your application more easily accessible from a command prompt then this won't help you, I'm afraid. App Paths affects the path search order for ShellExecute[Ex] and a command prompt won't use that to launch your exe unless you use the start command (e.g. start myapp.exe

Re: [WiX-users] dependent features

2011-05-10 Thread Martin Kulov
Hi Peter, Thanks for the reference. I did not know this Windows feature. However I am having hard time finding out how it actually works. I create a subkey called myapp.exe under KEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths. Then I put full path to myapp.exe in the Default

Re: [WiX-users] dependent features

2011-05-10 Thread Peter Shirtcliffe
App Paths would be a neat way to solve this, if they meet all your requirements. The "registration" lives in components that you can add to the features. http://msdn.microsoft.com/en-us/library/ee872121%28v=vs.85%29.aspx#reg_app -Original Message- From: Martin Kulov [mailto:mar...@kulov.

Re: [WiX-users] Run 2 MSI´s at the same time

2011-05-10 Thread Christoph Goetz
Hi, thanks Chris. But now I get the Message: \MSI-Global.wixobj : error LGHT0089 : Multiple entry sections '{9DA8205F-7990-41E5-9F8C-3AD5BFFC10D9}' and '{9DA8205F-7990- 41E5-9F8C-3AD5BFFC10D9}' found. Only one entry section may be present in a single target. and i don´t know what to do. I build