Re: [WiX-users] error while uninstalling

2008-10-08 Thread Rob Mensching
Can you be more specific about the version. Running candle -? will show you the full version. It is very possible you have an old build and this is already fixed. -Original Message- From: Nutesh Garg [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2008 22:07 To: General

Re: [WiX-users] How can I control the Order of Component Installation.

2008-10-08 Thread Rob Mensching
Windows Installer doesn't work that way. -Original Message- From: MadhaviAthota [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2008 21:18 To: wix-users@lists.sourceforge.net Subject: [WiX-users] How can I control the Order of Component Installation. Hi All, I have a scenario

Re: [WiX-users] Custom action dll function is not executed

2008-10-08 Thread Wong Shao Voon
Hello, anyone can answer my question? I found that this question has zero views in the forum. Thank you. Best regards, Shao Voon - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build

Re: [WiX-users] Problem on Heat.exe

2008-10-08 Thread Rob Mensching
Heat.exe needs significant work to be generally useful. However, there currently isn't an active owner so it hasn't made real progress in about a year now. It would be great if you would ensure there is a Feature Request tracking the issue if you think it is important. -Original

Re: [WiX-users] How can I control the Order of Component Installation.

2008-10-08 Thread Madhavi Athota (HCL Technologies Ltd)
Hi Rob, Thank you for the reply. How can this be achieved. I have seen in one of the forums that this can be done with custom actions. I am trying to write a custom action in the following, but it is not working. I am not able to figure out the mistake. ?xml version=1.0 encoding=UTF-8? Wix

Re: [WiX-users] error while uninstalling

2008-10-08 Thread Nutesh Garg
The exact version which we are using is: 2.0.3628.0 Thanks, Nutesh -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2008 11:30 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] error while uninstalling Can

Re: [WiX-users] How can I control the Order of Component Installation.

2008-10-08 Thread Rob Mensching
Getting that series of steps working in the Windows Installer will take some pretty complicated CustomActions. I'd really have to sit down for a while to design it. Upgrading and patching plus rollback in those scenarios would be particularly interesting to account for. I'd also promote a

Re: [WiX-users] error while uninstalling

2008-10-08 Thread Rob Mensching
That version of the WiX toolset is almost two years old. You need to upgrade to get the bug fixes. I'm pretty sure this one is fixed. -Original Message- From: Nutesh Garg [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2008 23:39 To: General discussion for Windows Installer XML

Re: [WiX-users] ClickThrough - Need help

2008-10-08 Thread Rob Mensching
ClickThrough is not fully developed. There are a lot of bugs left to be addressed. Due to lack of resources, we've been focusing on finishing WiX v3 and will pick up ClickThrough in WiX v4 (I hope). -Original Message- From: Rahul Ranjit [mailto:[EMAIL PROTECTED] Sent: Wednesday,

Re: [WiX-users] How to GAC .Net assemblies the correct way?

2008-10-08 Thread Eitan Behar
Very simple, just use the file property Assembly=.net that way the file will go to the GAC regardless of its position in the directory tree. Notice that if you want the DLL also in Program Files\YourApp\bin, you need another component. -Original Message- From: Wong Shao Voon

Re: [WiX-users] How Update / Upgrade strategy (small, minor, major) affect file overriding?

2008-10-08 Thread polan
Thx for the answer Ian Elliott (Excell Data Corporation) wrote: For the minor upgrade and small update you don't make use of the Update tag at all. Ok - lets stick to minor upgrade. I don't insert the upgrade tag, I change the package guid, and version. I run the installation msiexec

[WiX-users] How to GAC .Net assemblies the correct way?

2008-10-08 Thread Wong Shao Voon
Hey guys, I could use a custom action to gacutil the .Net dlls into the GAC. But I searched that WiX and MSI has the correct way of GAC'ing the dlls, instead of using gacutil.exe . After I googled, I still couldn't find a single example on how to do it. Could someone kind enough to enlighten

[WiX-users] Visual Studio 2010 and WiX. Which version?

2008-10-08 Thread Jon Arild Tørresdal
As you all probably know WiX will be part of Visual Studio 2010. Anybody know which version? 2 or 3? Thanks. Regards, Jon Arild Tørresdal Blog: http://blog.torresdal.net/ http://blog.torresdal.net - This SF.Net

[WiX-users] Assemblies in GAC don't find their native dependencies

2008-10-08 Thread ACKH
Hi all, We have a framework that consists of both managed and unmanaged assemblies. The managed assembies depend on the unmanaged assemblies. Some are connected using dllimport (e.g. [DllImport(kernel32)]) and some .NET assemblies are managed C++ that include the headers of the unmanaged

[WiX-users] Bug in wix.ca.targets version 3.0.4318.0?

2008-10-08 Thread Nic Barden
Hi, I created a CA using version 3.0.4318.0 of WiX. When I ran the CA that was built via an installer, I received the error Failed to load assembly Microsoft.Deployment.WindowsInstaller. Error code 0x80070002. Upon checking the C:\Program Files\MSBuild\Microsoft\WiX\v3.0\wix.ca.targets file

Re: [WiX-users] ClickThrough - Need help

2008-10-08 Thread Rahul Ranjit
Thank you! You would definitely not recommend us to consider it for production level work. -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2008 1:25 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users]

Re: [WiX-users] How Update / Upgrade strategy (small, minor, major) affect file overriding?

2008-10-08 Thread Adam Connelly
The project I'm working on at the moment uses a build server to automatically build our installers, etc. As part of this, it provides the version number to the installer. Therefore, every publish we do (and in fact every checkin of source) is a different version of the product. This means

[WiX-users] Heat.exe and '1 directory - 1 component' mode

2008-10-08 Thread Yan Sklyarenko
Hello WiX community, Does heat.exe utility support the mode 1 directory - 1 component, when it harvests all the files of a certain directory to a single component? I failed to find this option playing with the command-line switches, but tallow.exe could do this (-1 switch). Thank you.

Re: [WiX-users] How to GAC .Net assemblies the correct way?

2008-10-08 Thread Neil Enns
There is a complete example of how to do this in the WiX help file that ships with WiX. Look under the How To section. Neil From: Wong Shao Voon [EMAIL PROTECTED] Sent: Wednesday, October 08, 2008 2:54 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users]

[WiX-users] How to create Pinned Start menu items

2008-10-08 Thread Scott Palmer
How can I have my WiX installer create an item in the Start menu that is pinned ? Thanks, Scott - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with

Re: [WiX-users] How to create Pinned Start menu items

2008-10-08 Thread Frank Richter
On 08.10.2008 16:30, Scott Palmer wrote: How can I have my WiX installer create an item in the Start menu that is pinned ? You can't: http://blogs.msdn.com/oldnewthing/archive/2003/09/03/54760.aspx -f.r - This SF.Net

Re: [WiX-users] How to create Pinned Start menu items

2008-10-08 Thread Roger Lipscombe
http://blogs.msdn.com/oldnewthing/archive/2003/09/03/54760.aspx -Original Message- From: Scott Palmer [mailto:[EMAIL PROTECTED] Sent: Wed 08 October 2008 15:30 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] How to create Pinned Start menu items How can I

Re: [WiX-users] Bug in wix.ca.targets version 3.0.4318.0?

2008-10-08 Thread Jason Ginchereau
That DLL is deliberately not listed separately in wix.ca.targets. It should always get pulled in automatically as one of the detected dependencies of your CA assembly. What is the output from MakeSfxCA.exe when it doesn't include that DLL? It should say something like: Loaded dependent

[WiX-users] Whats the best way to create a stub based installer?

2008-10-08 Thread Kunal Manaktola
I need an installer with a stub that has a very small disk size (maybe less than 1MB) that checks conditions to see if the program is already installed, and if it is it launches program.exe, and if it isn't installed, it launches setup.exe as well as other pre-req setup programs like windows

Re: [WiX-users] Target framework when building WIX v3

2008-10-08 Thread Christopher Karper
The 3.0 and 3.5 framework versions use the 2.0 runtime. They're just library and syntax additions. I would suggest trying to reinstall the v2 of NetFx, then reinstall Wix 3. I don't know for sure what's causing it, or if that will fix it, but it'd be a great first shot since you're apparently

[WiX-users] How to create shortcut to an existing application?

2008-10-08 Thread Andrew Kendall
Hi All, The product I am installing is a plug-in for another application, and I want to create a shortcut for the 'mother' application already installed on the users machine. All the examples I have seen so far declare Shortcut elements as children of File elements, but that is not applicable

Re: [WiX-users] Bug in wix.ca.targets version 3.0.4318.0?

2008-10-08 Thread Nic Barden
Hi Jason, I have checked the GAC and yes the dll IS in there. The dependant assembly... IS also output. I just verified this again and when I call MakeSfxCA.exe WITHOUT explicitly specifying the WindowsInstaller.dll the same error is logged (even though it has indicated it has loaded the

[WiX-users] Failure using Wix installer certificates with Windows Vista

2008-10-08 Thread Luke Bakken
WiX users, I'm following up on a thread from late July entitled Failure using Wix installer certificates with WCF. I am trying to use WiX to install PFX certificates with private keys on Windows Vista. The installer I have works on XP, but on Vista the certificates *appear* to install correctly,

Re: [WiX-users] Bug in wix.ca.targets version 3.0.4318.0?

2008-10-08 Thread Jason Ginchereau
How did Microsoft.Deployment.WindowsInstaller.dll get in the GAC? It's not supposed to be there; the WiX installer does not put it there. Like I said, if MakeSfxCA.exe finds a dependency in the GAC, it will NOT include it in the CA package. However, you can still force a referenced assembly in

[WiX-users] MSI SQL Join Syntax

2008-10-08 Thread Nic Barden
Hi, Does anyone know the correct syntax for joining 2 tables in MSI SQL? There isn't a lot of help from the formal documentation at http://msdn.microsoft.com/en-us/library/aa372021(VS.85).aspx I am trying to join the SqlScript and Binary tables to get a list of binary files that are

Re: [WiX-users] Failure using Wix installer certificates with Windows Vista

2008-10-08 Thread Rob Mensching
What version of the WiX toolset are you using? -Original Message- From: Luke Bakken [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2008 09:35 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Failure using Wix installer certificates with Windows Vista

Re: [WiX-users] ClickThrough - Need help

2008-10-08 Thread Rob Mensching
No, definitely not. Later, yes, now... no. -Original Message- From: Rahul Ranjit [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2008 02:05 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] ClickThrough - Need help Thank you! You would definitely

Re: [WiX-users] MSI SQL Join Syntax

2008-10-08 Thread Rob Mensching
The MSI SQL Syntax is not a full SQL implementation. The documentation is complete. WHERE is what you're looking for I think. -Original Message- From: Nic Barden [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2008 09:54 To: WiX User Group Subject: [WiX-users] MSI SQL Join

Re: [WiX-users] How Update / Upgrade strategy (small, minor, major) affect file overriding?

2008-10-08 Thread Rob Mensching
Product/@Id=* -Original Message- From: Adam Connelly [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2008 06:24 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How Update / Upgrade strategy (small, minor, major) affect file overriding? The

[WiX-users] New to Wix, how do I use the temp folder?

2008-10-08 Thread David Bartmess
I'm trying to extract certain files into the temp folder for the user, so that I can run scripts and delete them after. I don't want them installed anywhere in the Program Files subtree. How can I specify a Directory with the temp folder as the name? Thanks! David Bartmess Wall Street

Re: [WiX-users] How Update / Upgrade strategy (small, minor, major) affect file overriding?

2008-10-08 Thread John Hall
The only way I've got this to work at the moment is by manually changing the Product Id and checking it in before doing a publish to avoid the annoying another version of this product is already installed... message. Otherwise it forces the user to uninstall the previous version before

Re: [WiX-users] Bug in FeatureRef?

2008-10-08 Thread Brian Gillespie
Hi Francis, Ah, yes - of course. That makes perfect sense. Putting the FeatureRefs in the main tree does exactly what I want it to do. Thanks for your help./ - Brian Brian Gillespie Rhinoceros Development Robert McNeel Associates/// Francis Kam wrote: Sounds about right. I've been down

Re: [WiX-users] Failure using Wix installer certificates with Windows Vista

2008-10-08 Thread Luke Bakken
Rob, I'm using 3.0.3829 + the patches I submitted to fix the orphaned private key issue - that issue is fixed in CVS and I'm eagerly awaiting the next binary release. I'm putting together a stripped-down example to add to a bug report on SourceForge. I'll try it out on XP and Vista with the v2

Re: [WiX-users] Bug in wix.ca.targets version 3.0.4318.0?

2008-10-08 Thread Nic Barden
Thanks - I removed it from the GAC and that fixed it. Sorry I misread your last response and thought it was supposed to be there. I have no idea how it got in the GAC in the first place if the installer doesn't GAC it as I certainly don't remember manually GAC'ing it! Re:

Re: [WiX-users] New to Wix, how do I use the temp folder?

2008-10-08 Thread Rob Mensching
TempFolder is a standard folder. -Original Message- From: David Bartmess [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2008 10:22 To: wix-users@lists.sourceforge.net Subject: [WiX-users] New to Wix, how do I use the temp folder? I'm trying to extract certain files into the temp

Re: [WiX-users] Failure using Wix installer certificates with Windows Vista

2008-10-08 Thread Rob Mensching
If you have another Certificate bug the stripped down example would be very helpful. Just make sure to file the bug under extensions V3.0 And I'll see it. -Original Message- From: Luke Bakken [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2008 10:29 To: General discussion for

[WiX-users] Create and/or modify MSI database tables via DTF from CA

2008-10-08 Thread Nic Barden
Hi, I am trying to update the MSI tables at runtime from a Custom Action to perform token replacement in SQL Script files. The issue I am running into is that the Database that I get access to through the Session object says it has an OpenMode of ReadOnly (however the IsReadOnly property is

[WiX-users] Feature costing

2008-10-08 Thread BOB1981
Hi, My installer has a feature tree with sub-features. The costing displayed in the custom setup dialog is good for the sub-feature. However at the parent feature level it shows as 0KB. Is there any way I can modify that to show the costing of Total of the sub-features at parent level? E.g

Re: [WiX-users] Q about Feature costing..

2008-10-08 Thread BOB1981
Hi Vidya, I am also Facing the Same problem as you are, i wonder what have you done to fix it. I want change the text for Parent Feature to show the text totalling the subfeature. Please let me know is anything at all u think would help me Thanks Vidya Kukke wrote: Hi, My installer has

Re: [WiX-users] How Update / Upgrade strategy (small, minor, major) affect file overriding?

2008-10-08 Thread Ian Elliott (Excell Data Corporation)
Your command line looks wrong: msiexec /i ExampleInstaller.msi REINSTALALL=ALL REINSTALLMODE=vomus should be msiexec /i ExampleInstaller.msi REINSTALL=ALL REINSTALLMODE=vomus (However, it may be another typo.) It is expected behavior to get the maintenance dialog during a minor upgrade. Once

Re: [WiX-users] Create and/or modify MSI database tables via DTF from CA

2008-10-08 Thread Jason Ginchereau
MSI docs do not say anything about creating temporary tables. The usual practice is to author an empty table in the MSI which is then available for custom actions to add temporary rows. the Database that I get access to through the Session object says it has an OpenMode of ReadOnly (however

[WiX-users] Features in different .msi

2008-10-08 Thread Alex Ivanoff
Let's say I have a product A that has features A1 and A2. Is it possible to have one .msi that has feature A1 in it and another one that has A2? - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge

[WiX-users] Debugging MakeSfxCA

2008-10-08 Thread Tina Basinger
Any tips on figuring out MakeSfxCA errors? I'm getting the following output when calling MakeSfxCA.exe from the command line. ... CA_Name=Fully_Qualified_CA_Name Modifying SfxCA.dll stub Error: Non-negative number required. Parameter name: index

Re: [WiX-users] How Update / Upgrade strategy (small, minor, major) affect file overriding?

2008-10-08 Thread polan
Ian Elliott (Excell Data Corporation) wrote: Your command line looks wrong: msiexec /i ExampleInstaller.msi REINSTALALL=ALL REINSTALLMODE=vomus should be msiexec /i ExampleInstaller.msi REINSTALL=ALL REINSTALLMODE=vomus (However, it may be another typo.) Such a stupid mistake...

Re: [WiX-users] Debugging MakeSfxCA

2008-10-08 Thread Jason Ginchereau
There's no way to get a more detailed error printout without modifying the code of the MakeSfxCA tool. The easiest way to diagnose the issue would be to capture the command-line from your build log and then launch that same command-line in a debugger: devenv /debugexe MakeSfxCA.exe parameters

Re: [WiX-users] How Update / Upgrade strategy (small, minor, major) affect file overriding?

2008-10-08 Thread Michael Owings
I believe it is also possible to bypass the maintenance screen by simply passing /qb to misexec. This should give you a progress bar and cancel button, but that's it -- the upgrade happens with no user intervention: msiexec /i ExampleInstaller.msi /qb REINSTALL=ALL REINSTALLMODE=vomus I could

[WiX-users] Dependencies and merge modules

2008-10-08 Thread craig.miller
I'm migrating our installer over from an InstallShield based solution to Wix. With Installshield, all of our applications dependencies were automatically detected, and the appropriate merge module was reccomended. My questions for the list are... Is there good documentation on how to detect

[WiX-users] Intercepting the SQL CA

2008-10-08 Thread Nic Barden
Hi, I'm trying to perform token replacement on SQL script files (such as database name, server name etc) via a custom CA before the SQL CA executes them. I have successfully created the custom CA. However, I am unsure how to intercept the SQL CA to provide it the new files/scripts to

Re: [WiX-users] Intercepting the SQL CA

2008-10-08 Thread Rob Mensching
SQL CustomActions are written using the standard schedule/execute mechanism. The schedule CustomActions read the tables in immediate mode and marshals the data to the execute CustomActions that do the work in deferred mode. So you need to make sure you add the tables before the SQL

Re: [WiX-users] Intercepting the SQL CA

2008-10-08 Thread Michael Osmond
Nic, Is it just values to do with actually locating the database that you are trying to deal with. If so, my suggestion would be to make the actual script files neutral (ie do not mention the database or server name) and use the wix SQLDatabase entry locate/create the database. Then there would

[WiX-users] Install Condition for .Net framework 3.5 SP1

2008-10-08 Thread Sandeep Gautam (HCL Technologies Ltd)
Hi, How can I add acheck for .net framework 3.5 SP1. Actually I want to check for v3.0 SP1 under HKLM\Software\Microsoft\.NETFramework. Currently I am opting below mentioned work around for this. I am looking inside v3.0 SP1\SBSDisabled and reading Uninstall value. Property

[WiX-users] Heat and COM executable registry extraction

2008-10-08 Thread Arunkumar Viswanathan
Hi guys, I need to install a couple of COM executables and I have been trying to use Heat (ver 3.0.4513) to extract the COM information. From what I see heat extracts part of registry information into the fragment but the information seems to be less than what is needed. After installation,

Re: [WiX-users] Install Condition for .Net framework 3.5 SP1

2008-10-08 Thread Neil Enns
Use the NetFx library that comes with WiX. See the WiX documentation, there's a topic in the How To that describes how to check the Framework version. It should also have a reference to a table with all the predefined properties for each framework version. Neil