Re: [WiX-users] How to select between SQL Authentication and Integrated Authentication during the install of the msi?

2010-02-23 Thread Peter Joseph Solomon
Hi all, I have come across this bug posted on the wix bug list: SqlDatabase/@User - Change to formatted element - ID: 1520745 You can view it at this link: http://sourceforge.net/tracker/index.php?func=detail&aid=1520745&group_id=105970&atid=642714 Also posts on Wix-Devs relating to the feature:

Re: [WiX-users] How to select between SQL Authentication andIntegrated Authentication during the install of the msi?

2010-02-23 Thread Peter Joseph Solomon
Hi Mike, Are you saying that you do all your db work in the custom action, and not in the SqlScript and SqlString tags? On Wed, Feb 24, 2010 at 1:14 AM, Matt Lynch wrote: > +1 - I did it this way too, but with a single home grown custom action which > decides which properties to set.  My custom

Re: [WiX-users] WiX custom action error on windows vista or XP

2010-02-23 Thread Alex Wernecke
//p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users __ Information from ESET Smart Security, version of virus signature database 4890 (20100223) ___

Re: [WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed

2010-02-23 Thread Alexander Volkov
Thank you ever so much, Edwin, this is exactly what I needed. Works like magic. Alexander On 23 February 2010 18:39, Castro, Edwin G. (Hillsboro) < edwin.cas...@fiserv.com> wrote: > To reiterate what Phil said earlier, you need two custom actions. > CustomActionA will run in immediate mode and be

Re: [WiX-users] common components are getting remove when i uninstall one of the products.

2010-02-23 Thread MYFLEX
Yes we have the same GUIDs. Yes the common components are still in 9 version we don't have the repair option. we have not changed anything in 9 version for the common components. the verbose log is as follows.when I install 9 version of the product. But this component already installed with 8 ver

Re: [WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed

2010-02-23 Thread Castro, Edwin G. (Hillsboro)
To reiterate what Phil said earlier, you need two custom actions. CustomActionA will run in immediate mode and be scheduled just before CustomActionB which will run in deferred mode. The purpose of CustomActionA is to get all the data needed by CustomActionB. CustomActionA will want to create a

Re: [WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed

2010-02-23 Thread Alexander Volkov
Thanks, Phil, you helped me a lot. Alex On 23 February 2010 17:13, Wilson, Phil wrote: > Somebody that knows DTF needs to jump in here - that's not my area. But you > *do* need a custom action that sets the convoluted CustomActionData > mechanism working. I assume that's what sets the dictionary

Re: [WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed

2010-02-23 Thread Wilson, Phil
Somebody that knows DTF needs to jump in here - that's not my area. But you *do* need a custom action that sets the convoluted CustomActionData mechanism working. I assume that's what sets the dictionary item. Without wishing to re-open the MSI-managed code bag of worms, I'd use a C++ custom a

Re: [WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed

2010-02-23 Thread Alexander Volkov
Thank you, Phil, I think I'm much close now due to your guidance. May be you can guide me a bit further. I use *session.CustomActionData["INSTALLDIR"]* to access this session property. However, I get this exception: Exception thrown by custom action: System.Reflection.TargetInvocationException: E

Re: [WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed

2010-02-23 Thread Alexander Volkov
Somehow *session.CustomActionData.Keys.Count *returns *0 * Any take? Thanks so much! On 23 February 2010 16:02, Wilson, Phil wrote: > That's DTF telling you that the session isn't available when deferred. I > assume DTF has a CustomActionData mechanism for passing property values into > your de

Re: [WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed

2010-02-23 Thread Wilson, Phil
That's DTF telling you that the session isn't available when deferred. I assume DTF has a CustomActionData mechanism for passing property values into your deferred custom action. Phil Wilson -Original Message- From: Alexander Volkov [mailto:volkov1...@gmail.com] Sent: Tuesday, Febr

Re: [WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed

2010-02-23 Thread Alexander Volkov
Thank you very much for your prompt response, Phil. The thing is I pass some arguments into the custom action, and if I use "deferred" the installation crashes and gets rolled back.The Exception is "Cannot access session details from a non-immediate custom action" Any input? Thank you very much,

Re: [WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed

2010-02-23 Thread Wilson, Phil
Execute = deferred! That's what you need. Immediate is before files are installed. Phil Wilson -Original Message- From: Alexander Volkov [mailto:volkov1...@gmail.com] Sent: Tuesday, February 23, 2010 3:31 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Triggering a Cu

[WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed

2010-02-23 Thread Alexander Volkov
Dear users, I need to trigger a custom action (to configure some files) only when all files have already been deployed. My code: * * Somehow my custom action triggers BEFORE the files have been deployed so naturally I get a file-not-found error when my custom action runs. It looks like In

Re: [WiX-users] How to select between SQL Authentication andIntegrated Authentication during the install of the msi?

2010-02-23 Thread Matt Lynch
+1 - I did it this way too, but with a single home grown custom action which decides which properties to set. My custom action uses ConnectionStringBuilder to construct a nice conn string which the installer can use. I'm supporting a bunch of other db types and this method seemed to be the be

Re: [WiX-users] Problem installing a .NET installer-based service using InstallUtilLib.dll

2010-02-23 Thread Michael Osmond
Hi I know I am coming in late on this one, so forgive me if I cover something that has already been said. My understanding is that NetworkService came in with Windows 2003 so it is not "native" so to speak to windows 2000/XP. What you could do set the Account to be a property, and depending on

Re: [WiX-users] Problem installing a .NET installer-based service using InstallUtilLib.dll

2010-02-23 Thread Wilson, Phil
Among the reasons that it's not recommended to use installer classes and InstallUtilLib is the one you're having. It's a black box Microsoft Dll that doesn't report errors very well. All I can recommend right now is that you look at your MSI file with Orca, and compare the custom actions and s

Re: [WiX-users] Problem installing a .NET installer-based service using InstallUtilLib.dll

2010-02-23 Thread Rajendra Magar
Yes I did. I used 'Account="NT Authority\Network Service"' and it worked in all of the machine configurations I tested but the experience described in the link below tells me that this value could be fragile. http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg27992.html Are you awar

Re: [WiX-users] Problem installing a .NET installer-based service using InstallUtilLib.dll

2010-02-23 Thread Arun Perregatturv
Did you try using Network Service? with std wix servicecontrol? Arun Perregattur -Original Message- From: Rajendra Magar [mailto:rma...@newfrontieradvisors.com] Sent: Tuesday, February 23, 2010 5:01 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Pr

[WiX-users] Harvest feature in WiX v3.5's Votive + Reference Assemblies

2010-02-23 Thread Neil Sleightholm
The new votive harvest feature looks really useful but it doesn't harvest referenced assemblies. For example, my assembly references log4net but this is not included in the MSI. I would suggest that without this feature the harvest feature is fairly limited. Are there any plans to include reference

Re: [WiX-users] Problem installing a .NET installer-based service using InstallUtilLib.dll

2010-02-23 Thread Rajendra Magar
In my case I am required to use NetworkService because the installer I am working on is supposed to install a client that looks for problems to solve on a network drive. Thank you, Raz -Original Message- From: Arun Perregatturv [mailto:aperregatt...@napcosecurity.com] Sent: Tuesday,

Re: [WiX-users] Harvest feature in WiX v3.5's Votive

2010-02-23 Thread Neil Sleightholm
I did an upgrade from v3. Uninstalling v3 then installing v3.5 seems to work. When I get time I will go back v3 and try an upgrade again. I am installing the 32bit version of WiX in both cases on Windows 7 64 bit. I am testing with VS2008 although I also have VS2005 and VS2010 RC1 installed. Neil

Re: [WiX-users] Problem installing a .NET installer-based service using InstallUtilLib.dll

2010-02-23 Thread Arun Perregatturv
For our service we set the Account to LocalSystem and works fine. Arun Perregattur -Original Message- From: Rajendra Magar [mailto:rma...@newfrontieradvisors.com] Sent: Tuesday, February 23, 2010 4:44 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users]

Re: [WiX-users] Problem installing a .NET installer-based service using InstallUtilLib.dll

2010-02-23 Thread Rajendra Magar
Arun and Phil, Thank you but I am stuck with a .NET installer class which does much more than just install the service so I did not use ServiceInstall and ServiceControl. Besides ServiceInstall doesn't seem to obey the service parameters set by the installer class. For example, the .NET installe

Re: [WiX-users] Problem installing a .NET installer-based service using InstallUtilLib.dll

2010-02-23 Thread Wilson, Phil
It seems to me that you are calling your custom action to uninstall the service *on an install* because you haven't got a condition on it. That looks like your first point of failure. Curious why don't you have a choice about doing it the "proper" way as Arun described... Phil Wilson -

Re: [WiX-users] Problem installing a .NET installer-based service using InstallUtilLib.dll

2010-02-23 Thread Arun Perregatturv
I do this .NET Service install and it works all the time. Arun Perregattur -Original Message- From: Rajendra Magar [mailto:rma...@newfrontieradvisors.com] Sent: Tuesday, February 23, 2010 2:48 PM To: 'wix-users@lists.sourceforge.net' Su

Re: [WiX-users] SQL2008 Express Merge Module

2010-02-23 Thread Arun Perregatturv
Use the bootstrapper to include SQL2008. I don't think you will get merge modules of SQL 2008. Arun Perregattur -Original Message- From: John H. Bergman (XPedient Technologies) [mailto:john.berg...@xpedienttechnologies.com] Sent: Tuesday, February 23, 2010 3:21 PM To: General discussio

Re: [WiX-users] Problem installing a .NET installer-based service using InstallUtilLib.dll

2010-02-23 Thread Rajendra Magar
Two of my attachments got clobbered on the way, so I am copy+pasting them here. (1) ServiceInstaller.wxs http://schemas.microsoft.com/wix/2006/wi";> Privileged Installed OR

[WiX-users] SQL2008 Express Merge Module

2010-02-23 Thread John H. Bergman (XPedient Technologies)
Does anyone know where I can find the SQL2008 Express Merge Module? I have a requirement to install a local database, and have been unable to locate a way to include the SQL2008 Express in my installer. I have seen several other products do this, so I know the capability exists... Thanks, Joh

Re: [WiX-users] Detecting if IIS is installed

2010-02-23 Thread Nathan . Banek
The error went away right after I installed IIS on the machine. I assumed the #0 reference was there because the registry search failed and the default value of my IISROOT property was '#0'. I would have thought without IIS on the machine thought that the condition would have been caught before the

[WiX-users] Problems starting a service

2010-02-23 Thread McKinnon Chris
Hi, I have a bit of a mystery that I was hoping other WiX users could help solve. I have a WiX MSI installer built for an application that installs a web site and a Windows Service. The Windows Service runs under a domain account. We tested the installer locally and on our SIT and UAT servers

Re: [WiX-users] missing install files

2010-02-23 Thread Mark Pietras
Thanks for the response. Moving the RemoveExistingProducts route seems to be my best/easiest option, even though it overwrites file changes... at least I get a full/working install set. A pre-backup and post-install-hand-merge will be necessary in many cases. Regarding moving forward... any a

Re: [WiX-users] Harvest feature in WiX v3.5's Votive

2010-02-23 Thread Tony Paloma
It looks like somehow your targets file didn't get updated. The Wix.targets included in 3.5.1419.0 doesn't use the ProjectReferenceSourcePaths since it was removed from the task. Previous versions of WiX had this task parameter. When upgrading to 3.5.1419.0, did you uninstall and reinstall or ju

Re: [WiX-users] Detecting if IIS is installed

2010-02-23 Thread Wilson, Phil
You should get a verbose log and see what's going on. Those "network location" messages tend to show up when a property is being used as a directory and not getting initialized properly. Phil Wilson -Original Message- From: nathan.ba...@l-3com.com [mailto:nathan.ba...@l-3com.com] Se

[WiX-users] Detecting if IIS is installed

2010-02-23 Thread Nathan . Banek
Greetings, I have been trying to get my WiX installer to detect whether IIS is installed on a target system or not (installer is expected to be used on systems ranging from Windows XP to Windows 7). My problem is that the detection condition does not seem to be working as my installer hangs on the

Re: [WiX-users] INSTALLLEVEL Property

2010-02-23 Thread Harvey, John Ctr USAF Warfighter's Edge
I am still somewhat new, but I thought the value of a Publish tag was a condition. I am not sure what a condition of "5000" would mean. Condition "1" is always true and that publish would always fire. The value of the property is set by the @Value attribute. John Harvey -Original Message-

Re: [WiX-users] missing install files

2010-02-23 Thread Harvey, John Ctr USAF Warfighter's Edge
Have you looked at the version numbers on the files? This sort of a shot in the dark, but I believe MSI will not install a file with an older version number. John Harvey -Original Message- From: Blair [mailto:os...@live.com] Sent: Monday, February 22, 2010 4:30 PM To: 'General discussio

Re: [WiX-users] WiX-users Digest, Vol 45, Issue 74

2010-02-23 Thread Dane Anderson (Acro Service Corp)
I found the answer. First it occurred to me, that I did not CARE which of the two files were found, as long as at least ONE of them was. So I modified my code to look for BOTH of them independently and then as long as one was found, do the install. It really helped to SPELL the file name properly

Re: [WiX-users] How to select between SQL Authentication and Integrated Authentication during the install of the msi?

2010-02-23 Thread pmdarrow
Mike, I'm not sure if you read Peter's question correctly. Your solution has the same problem the he's looking to fix - two conditional components, one for integrated authentication and one for SQL authentication. He only wants one component to maintain. Peter - I'm looking for a solution to th

[WiX-users] IIS WebServiceExtension removed on repair

2010-02-23 Thread pmdarrow
Hi all, I'm using the WiX IIS extension. Something weird is happening - when I enable an IIS Web Service Extension using the following: ... the extension shows up properly in IIS on first install, but on repair it gets removed (thus breaking my application.) I've tried a

Re: [WiX-users] common components are getting remove when i uninstall one of the products.

2010-02-23 Thread Blair
Do your common components have the same GUIDs in version 9 as they did in 7 and 8? Are those common components still present in 9? If you repair 9, do those components return? With those three answers, we can help you indentify what is going wrong. Also, the best source of information is a verbose

Re: [WiX-users] WiX custom action error on windows vista or XP

2010-02-23 Thread Blair
What version of the framework do your custom actions require, and what version of the framework are you testing for? Also, how/where do you test for the framework, and at what point are your custom actions sequenced? -Original Message- From: Alex Wernecke [mailto:awerne...@finteq.co.za]

Re: [WiX-users] Wix Install - Limitations in Custom Dialogs / Custom Actions

2010-02-23 Thread Blair
Richard [legal...@xmission.com] noted that properties set by custom actions called from dialogs aren't recognized by the dialogs that call the custom actions unless you have the dialog "reset" the properties using the properties' new values. He has blogged about it as well as mentioned it several t

Re: [WiX-users] How to select between SQL Authentication and Integrated Authentication during the install of the msi?

2010-02-23 Thread Mike Rerick
This is what I have done for all of my database installs. I took the standard FeatureTree and extended it with some additional screens. I use a third party custom action to get a list of db servers that are available. Hope this helps. Also, see http://wix.mindcapers.com/wiki/WiX_and_SQLServer I

Re: [WiX-users] Wix Install - Limitations in Custom Dialogs / Custom Actions

2010-02-23 Thread Robert Hermann
Does Wix have any limitations with regards to the number of Custom Dialogs or Custom actions it can perform ? My scenario is a relatively complex install where the install does some database checks and user permissions checks in custom actions. I have one custom action that is called from my .wx

[WiX-users] WiX custom action error on windows vista or XP

2010-02-23 Thread Alex Wernecke
Hi, Im having a problem. My WiX MSI's seem to only work correctly on windows 7? In my WiX installation custom c# project actions are called and performed but it only seems to work on windows 7 machines. I have a condition check to check that the machine has .Net Framework 3.5 but at the po

[WiX-users] Show dependant feature changes in SelectTree without using sub features...

2010-02-23 Thread Thorsten Schöning
Hello, we have a standard installer with the standard SelectTree as main gui element to choose and change features. We now have the problem that we have one feature which would fit best as a sub feature of another feature because of user logic, but technically it depends on a complete different fe

[WiX-users] common components are getting remove when i uninstall one of the products.

2010-02-23 Thread MYFLEX
Hi , Please try to understand the following problem and give me some solution. 1) 8 version of the products installed in the system. 2) now if I install 9 version (latest) of the product , installation is done. 3) if i uninstall the latest version of the product , it is removing the common co

[WiX-users] INSTALLLEVEL Property

2010-02-23 Thread Alex Wernecke
Hi, I have a custom dialog written in WiX with 3 buttons : server, client and other. I need the INSTALLLEVEL property value to be set when one of the 3 buttons is clicked. I set other property's values successfully like that. Why does it not work for INSTALLLEVEL? Here is the code : DIALOG

[WiX-users] Adding ISAPI Filter to machine level

2010-02-23 Thread Kalvagadda, SivaKrishna (Sales Technology)
Hi, I need help adding ISAPI filter at machine level through WIX. Could someone direct me to do that. Thanks. Regards, Siva, -- This message w/attachments (message) may be privileged, confidential or proprietary, and if y

[WiX-users] How to select between SQL Authentication and Integrated Authentication during the install of the msi?

2010-02-23 Thread Peter Joseph Solomon
I have the following example which uses two components each with a condition to select which component to run.  One component uses a database linked to an SQL Authenticated User and the other to no user (Integrated Authentication). Command line options are passed, either USEINTEGRATEDSECURITY=1 or