[WiX-users] Issues with ServiceInstall

2008-06-04 Thread Sandip Ghosh
I have been installing/uninstalling services through Custom Actions earlier. I attempted to use ServiceInstall to install the service. The service installs, but I cannot start it. It appears to be a permissions problem. I have read a bunch of posts, and have attempted some of the suggestions, but

Re: [WiX-users] Issue with XMLFile in util

2008-06-04 Thread Ryan Perlman
Thanks Rob, Funny thing is that the we were modifying 2 xml/config files that are part of our product and they are Installed and Uninstalled as part of that product and it would still fail. None the less, issue happen and I would be happy to share the Log files with you to see if it is

Re: [WiX-users] Votive doesn't work with VS 2005

2008-06-04 Thread carlldev
I have tried version 4130 and that also does not do it! Why release something that doesn't work? Cockerham, Greg M wrote: I recently installed Votive on a machine running VS2005 (version 8.0.50727.42). When I attempt to create a WiX project, the status bar reports the project was

[WiX-users] Newbie questions

2008-06-04 Thread Natxo Mateos
Hi, I'm totally newbie about WIX. I've just downloaded the last v3 version (3.0.2925.0) and I'm playing around with it. I've got some basic questions that I've been unable to find in the documentation: - I would like to make an multi-language installer, that let's you select the

Re: [WiX-users] Newbie questions

2008-06-04 Thread Holmgren Mathias
I'm totally newbie about WIX. I've just downloaded the last v3 version (3.0.2925.0) and I'm playing around with it. That's a pretty old release, you get the latest drop here: http://wix.sourceforge.net/releases/ Moreover, if i try to define any other Culture in the Light setttings (for

Re: [WiX-users] Newbie questions

2008-06-04 Thread Alex Goryuk
I recommend going through the WiX v2.0 tutorial ( http://www.tramontana.co.hu/wix/) and making a localized project, then convert to WiX 3 format. That being said, here's the WiX 3 locale files (4 of them have been moved to the new format, the rest you have to modify but those are easy changes).

[WiX-users] Using AssemblyVersion in the build

2008-06-04 Thread Ryan O'Neill
Browsing the docs I found the Binder variables and one for bind.assemblyVersion.FileID, it looks like I can't use it in the same way as normal properties though as it gets evaluated after the WiX XML has been parsed. Has anyone had any experience of using this? I am trying to set a ProductVersion

[WiX-users] per-machine installation

2008-06-04 Thread Natxo Mateos
Hi, I've finally been able to create two shortcuts (one in the desktop and another one in the ProgramFile menu). But the only way I've found is to define both shortcuts as advertised. I'm attaching the code used. But I would like to know if it's possible to do it via non-advertised shortcuts.

Re: [WiX-users] Votive doesn't work with VS 2005

2008-06-04 Thread Schrieken, Rene
I just verified build 4130 on win xp sp 2, vsts2005 8.0.50727.762 and it works for me. Did you also install the ProjectAggregator2.msi? Van: [EMAIL PROTECTED] namens carlldev Verzonden: wo 4-6-2008 12:35 Aan: wix-users@lists.sourceforge.net Onderwerp: Re:

[WiX-users] Find MSSQL Data directory?

2008-06-04 Thread Tim Fisher
Is there a way to find the MSSQL Data directory, where the database files should be placed? Tim - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open

[WiX-users] Registry and math

2008-06-04 Thread Christopher Karper
I need to know how to increment a registry value, or set it to 1 if it didn't previously exist. How would I go about doing this? I can read the current value, if it exists, then set it to one if that value is blank... But how do I do math? Do I need to write a CA for this? That seems like

Re: [WiX-users] Registry and math

2008-06-04 Thread Christopher Painter
This doesn't have anything to do with VSTO and Office 2007 does it? MSI has no support for math. Some hacks can be done as demonstrated in: http://99-bottles-of-beer.net/language-windows-installer-1310.html But otherwise it's custom action time. And if VSTO/Office 2007 is

Re: [WiX-users] Registry and math

2008-06-04 Thread Christopher Karper
No, we have a tool console that lists external tools in the registry. So, it'll have a value NumExternalTools that has a count in it, and a value for each tool called Tool0, Tool1, Tool# where # == NumExternalTools - 1 There are better ways to do it, but the fact is, I have to integrate

Re: [WiX-users] Registry and math

2008-06-04 Thread Christopher Painter
Also if DTF is an option, check out: http://blog.deploymentengineering.com/2008/05/data-driven-cas-made-easy-with-dtf.html Christopher Karper [EMAIL PROTECTED] wrote: No, we have a tool console that lists external tools in the registry. So, it'll have a value NumExternalTools that

Re: [WiX-users] Registry and math

2008-06-04 Thread Christopher Karper
I think that's my solution. Thanks for the pointers! :-D Chris On Wed, Jun 4, 2008 at 3:20 PM, Christopher Painter [EMAIL PROTECTED] wrote: Also if DTF is an option, check out: http://blog.deploymentengineering.com/2008/05/data-driven-cas-made-easy-with-dtf.html Christopher Karper

[WiX-users] Re moveExistingProducts and Duplicate GUIDs

2008-06-04 Thread tsollas
I have an out-in-the-wild install that has a duplicate for two components. The first component is a collection of files, the second component is a CreateFolder (with a util:Permissions). In the current installer, I've corrected the dupe by creating a new guid for the CreateFolder component. The

Re: [WiX-users] Re moveExistingProducts and Duplicate GUIDs

2008-06-04 Thread tsollas
tsollas wrote: CustomAction Id=RestoreLogDirectoryBackup Property=RestoreLogDirectoryBackup ExeCommand=/c if not exist quot;[service.dir]logsquot; ren quot;[service.dir]logs-backupquot; quot;logsquot; Execute=deferred Return=ignore/ Correction. The above task is

Re: [WiX-users] Find MSSQL Data directory?

2008-06-04 Thread Albert At School
Hi Tim, For SQL 2005 or SQL 2008 (i assume you use one of them) you need to find the following registry key: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL] SQLEXPRESS=MSSQL.1 Based on the value of the name of the instance (SQLEXPRESS in this example) you'll find

[WiX-users] conditionally show msg box

2008-06-04 Thread ywchen
Hi, I want to display a confirmation (yes/no) message box if the CPU is slower than Intel Pentium II or the equivalent. If the user clicks Yes button, the installer will continue. Otherwise, the installer will jump to the ExitDialog directly. Please tell me how to do this. Thanks.

Re: [WiX-users] Issues with ServiceInstall

2008-06-04 Thread Chad Petersen
Have you tried it without the Arguments=-Install being part of the syntax? From what I understand, those arguments are those needed to run the service, not to install the service. For example, if I want to install our service smanually, I run -Service as the paramter, but I sure don't include that

[WiX-users] Windows 2008 not creating CLSID registry entries.

2008-06-04 Thread Kevin Miller
I have an installer created using Wix 2.0.4820.0 which registers type libraries and com servers for .Net assemblies. We tried to deploy to a Windows 2008 server and are not seeing any CLSID Registry settings getting created. Example Wix elements that are not making it into the registry:

Re: [WiX-users] newbie question about uninstalling

2008-06-04 Thread Weinstein, Scott
I'm still at a loss on how to resolve this. I've found ALLUSERS=1 in both logfiles. I've added Languages=1033. I've attmpted to add Custom Action=PreventDowngrading After=FindRelatedProductsNEWAPPFOUND/Custom But I have no UI for this package. Could that be the problem? Are

Re: [WiX-users] Issues with ServiceInstall

2008-06-04 Thread Sandip Ghosh
Thanks Chad! Taking out the Arguments attribute fixed it, I read the wix.chm again, Arguments is for passing the arguments to run the service not install it. I wonder how Wix/MSI figures out the arguments required to install/uninstall the service, because my services require specific parameters

Re: [WiX-users] Windows 2008 not creating CLSID registry entries.

2008-06-04 Thread Kevin Miller
Ah of course I forget to include the most important detail. This is 64bit Windows 2008. It looks like there IS some registry redirection going on there for Windows On Windows. So the CLSID registry settings were not appearing in the 64bit registry view we were looking at which was throwing us

Re: [WiX-users] conditionally show msg box

2008-06-04 Thread Richard
In article [EMAIL PROTECTED], ywchen [EMAIL PROTECTED] writes: I want to display a confirmation (yes/no) message box if the CPU is slower than Intel Pentium II or the equivalent. If the user clicks Yes button, the installer will continue. Otherwise, the installer will jump to the

[WiX-users] How to Uninstall from ARP with full GUI?

2008-06-04 Thread Tony Juricic
This is most probably not Wix-specific but anyhow: Uninstall string that is registered for my app is the following: MsiExec /X{Product code} However, when uninstall is selected via ARP this causes uninstall to run at reduced (or basic, not sure) UI level, with no Wizard dialogs. I want full GUI

Re: [WiX-users] conditionally show msg box

2008-06-04 Thread ywchen
I am trying to display CancelDlg if Intel 5. But I got the following error during compilation. error LGHT0204 : ICE03: Not a valid foreign key; Table: ControlEvent, Column: Control_, Key(s): CancelDlg.Next.SpawnDialog.WelcomeDlg.Intel5 Here's part of my wxs. Please

[WiX-users] Missing Ok button text in conditions

2008-06-04 Thread Colin Bleckner
Hey all, I have some Condition tags in my installer that work correctly, but when they're triggered the 'Ok' button doesn't have any text in it. All I see is a popup with my error message and a blank button. Clicking the empty button works, but it looks kinda broken. Anyone seen anything

[WiX-users] LGHT0204 : ICE03: Not a valid foreign key

2008-06-04 Thread ywchen
Hi, I am trying to display CancelDlg if Intel 5. But I got the following error during compilation. error LGHT0204 : ICE03: Not a valid foreign key; Table: ControlEvent, Column: Control_, Key(s): CancelDlg.Next.SpawnDialog.WelcomeDlg.Intel5 Here's part of my wxs. Please

Re: [WiX-users] How to Uninstall from ARP with full GUI?

2008-06-04 Thread Rob Mensching
Does that really work...? I thought uninstalls were always stuck at basic mode. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tony Juricic Sent: Wednesday, June 04, 2008 15:43 To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to Uninstall

Re: [WiX-users] Votive doesn't work with VS 2005

2008-06-04 Thread Rob Mensching
Why release something that doesn't work? Usually, because we don't know that it doesn't work. The weekly releases are just that. The weeks releases. There might be bugs. We need your help to report the bugs when you find them so that we can start fixing them. -Original Message-

Re: [WiX-users] Issue with XMLFile in util

2008-06-04 Thread Rob Mensching
Yeah, I'm not sure how much we're going to do to XmlFile. At this point, it's just there for backwards compatibility and simple cases that happen to work. Feel free to open a bug with the log files attached... but don't be too disappointed if we just punt it (since XmlConfig works correctly).

Re: [WiX-users] Registry and math

2008-06-04 Thread Bob Arnson
Christopher Karper wrote: No, we have a tool console that lists external tools in the registry. So, it'll have a value NumExternalTools that has a count in it, and a value for each tool called Tool0, Tool1, Tool# where # == NumExternalTools - 1 I had a similar issue and avoided

Re: [WiX-users] newbie question about uninstalling

2008-06-04 Thread Bob Arnson
Weinstein, Scott wrote: I've attmpted to add Custom Action=PreventDowngrading After=FindRelatedProductsNEWAPPFOUND/Custom But I have no UI for this package. Could that be the problem? No, with OnlyDetect=yes there won't be any attempt to uninstall the newer version. But it

Re: [WiX-users] How to Uninstall from ARP with full GUI?

2008-06-04 Thread Bob Arnson
Tony Juricic wrote: However, when uninstall is selected via ARP this causes uninstall to run at reduced (or basic, not sure) UI level, with no Wizard dialogs. I want full GUI level, instead. What is the best way to accomplish that? Set the ARPNOREMOVE property to 1. That forces the user

Re: [WiX-users] Issues with ServiceInstall

2008-06-04 Thread Bob Arnson
Sandip Ghosh wrote: Thanks Chad! Taking out the Arguments attribute fixed it, I read the wix.chm again, Arguments is for passing the arguments to run the service not install it. I wonder how Wix/MSI figures out the arguments required to install/uninstall the service, because my services

Re: [WiX-users] Using AssemblyVersion in the build

2008-06-04 Thread Bob Arnson
Ryan O'Neill wrote: Browsing the docs I found the Binder variables and one for bind.assemblyVersion.FileID, it looks like I can't use it in the same way as normal properties though as it gets evaluated after the WiX XML has been parsed. Has anyone had any experience of using this? You can

Re: [WiX-users] empty content for online WiX2 manuals

2008-06-04 Thread Bob Arnson
Robert Morton wrote: The online WiX2 manual seems to have been corrupted recently, Yes, it's a known problem. I've seen various tutorials online which are great, but I do need a reference manual for some of my work. The v2 and v3 versions of WiX.chm are available for every build. --

Re: [WiX-users] per-machine installation

2008-06-04 Thread Bob Arnson
Natxo Mateos wrote: I've finally been able to create two shortcuts (one in the desktop and another one in the ProgramFile menu). But the only way I've found is to define both shortcuts as advertised. I'm attaching the code used. But I would like to know if it's possible to do it via

Re: [WiX-users] Missing Ok button text in conditions

2008-06-04 Thread Bob Arnson
Colin Bleckner wrote: I have some Condition tags in my installer that work correctly, but when they're triggered the 'Ok' button doesn't have any text in it. All I see is a popup with my error message and a blank button. Clicking the empty button works, but it looks kinda broken. Anyone

Re: [WiX-users] Registry and math

2008-06-04 Thread Christopher Painter
You know Bob, I've read that before but didn't think about how that could solve another pain point. getting around the fact that the ShortCut table doesn't format the shortcut name when dealing with multiple instance installations. Still, it'd be nice not to have to write any CA's.

Re: [WiX-users] conditionally show msg box

2008-06-04 Thread Richard
In article [EMAIL PROTECTED], ywchen [EMAIL PROTECTED] writes: I am trying to display CancelDlg if Intel 5. But I got the following error during compilation. error LGHT0204 : ICE03: Not a valid foreign key; Table: ControlEvent, Column: Control_, Key(s):

Re: [WiX-users] conditionally show msg box

2008-06-04 Thread Simon Dahlbacka
I don't know about the actual issue, but as you might guess from looking at a snippet of xml, the character is in fact a special one that needs escaping so either Intel gt; 5 or ![CDATA[Intel5]] is more likely to work /Simon On Thu, Jun 5, 2008 at 1:57 AM, ywchen [EMAIL PROTECTED] wrote: