Re: [WiX-users] SqlDatabase trusted connection

2009-06-09 Thread Michael Osmond
Neil, I am not aware of anyway to use trusted as you indicate (not built in to the WIX CA anyway). In the end you have to have a valid windows user context to use trusted from, so you would still need a password (or security context) to do a runas/switch user type of operation to run as a diff

[WiX-users] Creating a user and setting registry permissions

2009-06-09 Thread Rob MacFadyen
Hey all, I'm very confused. I want to create a local user and set registry permissions for that user. Simple enough right? Here's a WIX project to illustrate (references wixutilextension): http://schemas.microsoft.com/wix/2006/wi"; xmlns:util="http://schemas.microsoft.com/wix/U

Re: [WiX-users] SqlDatabase trusted connection

2009-06-09 Thread Neil Sleightholm
That would explain what I am seeing. Is there any way to use a trusted connection for local system? I tried this but it doesn't work: I don't think this is an uncommon scenario, we setup SQL so that the application users don't have access to our database but some local NT accounts do. I

Re: [WiX-users] Component Id, Guid, file name and upgrade

2009-06-09 Thread Alex Ivanoff
Brian, This post talks about patching. We are always doing major upgrades. -Original Message- From: Brian Rogers [mailto:rogers.br...@gmail.com] Sent: Tuesday, June 09, 2009 23:48 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Component Id, Guid, file

[WiX-users] port in use?

2009-06-09 Thread Hukumchand Shah
Hi All, In my WIX installer, I want to check the port is in use or not. e.g. suppose 8080 port is used by another server then, is there a way my WIX will detect it so that I can use another port? Thanks, Hukum -- Crystal

[WiX-users] During Uninstall the default website being removed

2009-06-09 Thread sunil bisoyi
Hi Team, i am using latest wix binaries , During Uninstall everything working fine but the default website being removed, is there any way to solve this issue. 1 1 1 1 -- Regards, Sunil Bisoyi -

Re: [WiX-users] UAC dialog poping up

2009-06-09 Thread Brian Rogers
Hey Sandun, The other way around. http://wix.sourceforge.net/manual-wix3/wix_xsd_package.htm http://msdn.microsoft.com/en-us/library/aa367800(VS.85).aspx Thanks, Brian Rogers "Intelligence removes complexity." - Me http://icumove.spaces.live.com On Tue, Jun 9, 2009 at 10:17 PM, sandun css w

Re: [WiX-users] UAC dialog poping up

2009-06-09 Thread sandun css
by setting Package/@*InstallScope* ="perMachine", I specified that the msi package requires elevated privileges to install. Although I specify this, the UAC dialog appears just before msi starts installing files. (i.e. Welcome dialog -> Licence Agreement -> Install Dir -> UAC) I am not quite sure w

Re: [WiX-users] Component Id, Guid, file name and upgrade

2009-06-09 Thread Brian Rogers
Hey Alex, According to Pyro error PYRO0243 (in comments on Peter's blog http://blogs.msdn.com/pmarcu/archive/2007/06/28/sample-patch.aspx) " 'ComponentX' has a changed keypath. Patches cannot change the keypath of a component. " So, if you changed the File Id you would void this. I am not sure abo

[WiX-users] Leaving certain files out of a patch.

2009-06-09 Thread greenaj
I am using Wix 3 to create a patch. The Target and Upgraded msi's were both created using Wix 3. I would like to know how to have the patch ignore certain files using a purely wix patch creating solution. I could always used the UpgradedFilesToIgnore table ala pcp files and patchwiz.dll. Is

Re: [WiX-users] How to define reference path

2009-06-09 Thread Bob Arnson
Jiang, Chunyan (GE Healthcare) wrote: > In src I must set the path for the file. However, I must have the > "MyApp.exe" at the same location as project.wxs, otherwise I have set > the absolute path, like "d:\project\my project\MyApp.exe". See http://www.joyofsetup.com/2009/01/01/choosing-your-pay

Re: [WiX-users] Shared Dlls

2009-06-09 Thread Bob Arnson
Scott Anderson wrote: > I'm using WiX version 3 and have an installation program that installs > an executable, three shortcuts and some shared dlls. These dlls are used by > another program that was not installed via Windows Installer. See the Component element's SharedDllRefCount attribute. --

Re: [WiX-users] WiX-users Digest, Vol 37, Issue 54

2009-06-09 Thread Bob Arnson
Shree Krishnamurthi wrote: > (I use : Before='InstallFinalize') > It still doens;t seem to wait for all files to install to run the > action. > It seems to run way before that. > Why is that so? > Probably because it's not marked as a deferred custom action. -- sig://boB http://joyofsetup.co

Re: [WiX-users] UAC dialog poping up

2009-06-09 Thread Bob Arnson
sandun css wrote: > When I run my installer, the UAC dialog appears just before the installer > starts copying files. Is there a way to make it appear at the start of the > msi. (before welcome page) ? > No. That violates the prinicple of least privilege. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] FileSearch not working.

2009-06-09 Thread Bob Arnson
David Bartmess wrote: > Is there any way to get around this? Can a TOOLSDIR property be set before > AppSearch is complete, or do I need to hard-code the path in there? > AppSearch, among its many weaknesses, doesn't support a way of explicitly ordering the searches, so you can't rely on one

Re: [WiX-users] SqlDatabase trusted connection

2009-06-09 Thread Bob Arnson
Neil Sleightholm wrote: > When running SqlDatabase and SqlString as a trusted connection (i.e. NT > auth not Sql) can anyone tell be what account it runs as? I would > expected it to be localsystem but it doesn't seem to be as my > authentication keeps failing (if I use a SQL account it works so I

Re: [WiX-users] Wix variables when building with Microsoft.Build.BuildEngine

2009-06-09 Thread Bob Arnson
Lough, Norman wrote: > WixUILicenseRtf=Branding\Imass FiReControl Eula.rtf; > WixUIBannerBmp=Branding\Imass Infoterra Logo 493x58 Right > Align.bmp > WixVariables is the property you want to set. wix.targets passes that to the Light task. -- sig://boB http://joyofsetup.com/ --

Re: [WiX-users] Is it possible to control SqlString sequences

2009-06-09 Thread Bob Arnson
Scott Sharpe wrote: > Is there any way to control when specific SqlString elements execute? You can specify order, but not to execute them in separate batches. -- sig://boB http://joyofsetup.com/ -- Crystal Reports

Re: [WiX-users] Component Id, Guid, file name and upgrade

2009-06-09 Thread Alex Ivanoff
Anyone? -Original Message- From: Alex Ivanoff [mailto:alex.ivan...@shavlik.com] Sent: Tuesday, June 09, 2009 11:13 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Component Id, Guid, file name and upgrade Let's say I have a component in v1: In v1.1

Re: [WiX-users] Settting AppPools to Integrated mode in IIS 7.0

2009-06-09 Thread Rob Mensching
II7 functionality that is not exposed through the Legacy Metabase adapter is not supported yet. Ravikumar Gopinath wrote: > I am trying to install a web application, and the app pools created as part > of the installation process is being set to "Classic" type on Windows server > 2008 box with

Re: [WiX-users] WiX-users Digest, Vol 37, Issue 54

2009-06-09 Thread Shree Krishnamurthi
Phill Thanks for pointing it out But it still doesn't help me with the sequencing question As I said earlier even though I want to run this action after all files are installed (I use : Before='InstallFinalize') It still doens;t seem to wait for all files to install to run the action. It seems to

Re: [WiX-users] SqlDatabase trusted connection

2009-06-09 Thread Michael Osmond
Niel, Two things to consider. 1. My experience is that in the trusted case the connection to SQL is as the user running the MSI. 2. There is also an issue of what you are actually doing in the SQL string/script - if it is doing anything outside of SQL (say a backup) then when it interacts wi

[WiX-users] How to create an IIS 6 Application Pool

2009-06-09 Thread Jirong Hu
Hi I read some posts on the web, but still haven't got a clear picture. I am working on somebody else's script. I see the following code created virtual directories. I assume create a folder under C:\inetpub\wwwroot will automatically created virtual directories in IIS 6. The problem is now th

[WiX-users] SqlDatabase trusted connection

2009-06-09 Thread Neil Sleightholm
When running SqlDatabase and SqlString as a trusted connection (i.e. NT auth not Sql) can anyone tell be what account it runs as? I would expected it to be localsystem but it doesn't seem to be as my authentication keeps failing (if I use a SQL account it works so I think this is the problem). The

Re: [WiX-users] How do I remove or bypass the dialog with Typical, Complete, Customize?

2009-06-09 Thread Richard
In article <107121fc34fa184f9379e97be12da8da03de2...@usahm201.amer.corp.eds.com>, "MacDiarmid, James D" writes: > I need to go to the dialog that lets the installer change the install > path. What's the easiest way to do that? Change the way the Next buttons are wired up. Transition thr

Re: [WiX-users] Imp- Problem with un-installation

2009-06-09 Thread Karl Denning
Quite unusual. Adding a shortcut cannot break your network stack. You must have changed *something* else over the last month, and/or made an assumption somewhere and were very lucky for a month. Create a verbose install and uninstall log. Check your system event log before and after install/unin

Re: [WiX-users] How do I remove or bypass the dialog with Typical, Complete, Customize?

2009-06-09 Thread Alex Shevchuk
Search for "WixUI_InstallDir Dialog Set" in WiX.chm. -Original Message- From: MacDiarmid, James D [mailto:james.macdiar...@eds.com] Sent: Tuesday, June 09, 2009 12:28 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] How do I remove or bypass the dialog w

Re: [WiX-users] Action Execute Sequence in merge module

2009-06-09 Thread Wilson, Phil
?ComponentName=3 is about if the component is already installed. I suspect you need $ComponentName=3, meaning that the component is marked to be installed. Phil Wilson -Original Message- From: Shree Krishnamurthi [mailto:shree.krishnamur...@proximex.com] Sent: Tuesday, June 09, 2009

[WiX-users] Settting AppPools to Integrated mode in IIS 7.0

2009-06-09 Thread Ravikumar Gopinath
I am trying to install a web application, and the app pools created as part of the installation process is being set to "Classic" type on Windows server 2008 box with IIS 7.0. The documentation doesn't say anything about setting the app pool type to "Integrated" mode. How can I set the app pool

[WiX-users] How do I remove or bypass the dialog with Typical, Complete, Customize?

2009-06-09 Thread MacDiarmid, James D
I need to go to the dialog that lets the installer change the install path. What's the easiest way to do that? Thanks, Jim -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing op

Re: [WiX-users] MsiEnumComponentCosts

2009-06-09 Thread Tomasz Grobelny
Dnia poniedziałek 08 czerwiec 2009 o 02:26:57 Tomasz Grobelny napisał(a): > I want to know how much will my installation take disk space. I call > MsiEnumComponentCosts function with component set to empty string. It > returns a number that we can assume is correct (though I haven't checked > that)

[WiX-users] Action Execute Sequence in merge module

2009-06-09 Thread Shree Krishnamurthi
Hi I have defined couple of custom actions in my mergemodule one to be run after install file and another to run before InstallFinalize Ie;: (UILevel > 2) AND NOT Installed AND (?CONFIG=3) NOT Installed AND (?AC=3) Where AC and COFIG are their respective components What I expect is 'UpdateCon

Re: [WiX-users] Imp- Problem with un-installation

2009-06-09 Thread Wilson, Phil
Without specifics there's no way to answer this question. If you are stopping a service during uninstall, then you'll need to investigate if there is any dependency association with TCP IP. Does "TCP IP Protocol gets rest" mean the TCP IP NetBios Helper service gets reset? What exactly does "

Re: [WiX-users] Texbox validation while typing

2009-06-09 Thread Richard
In article , "Lobo, Lionel" writes: > If there are plans to extend WIX capabilities to add such a feature, I'd > be happy to be a part of the development effort. Its not a matter of WiX, Windows Installer's UI model doesn't support it. You can make a custom UI from scratch if you *must* h

[WiX-users] Is it possible to control SqlString sequences

2009-06-09 Thread Scott Sharpe
Is there any way to control when specific SqlString elements execute? We want to run a Sql script, followed by a Custom Action, followed by more SqlString elements, followed by InstallSqlData. Currently it looks like all SqlString elements are packaged into a single CA. Scott -

[WiX-users] Component Id, Guid, file name and upgrade

2009-06-09 Thread Alex Ivanoff
Let's say I have a component in v1: In v1.1 the file name changes to File2.exe. Should I preserve component Id and Guid? Create new component Id? Generate new Guid? Both? -- Crystal Reports - New Free Runtime and

Re: [WiX-users] Help Required in Removing the Folder during uninstallation

2009-06-09 Thread gulfam murad
Could you please tell more about the custom action to delete a directory tree. I am currently using a C++ custom action to delete directory structure on uninstall. But i love to use a custom action with roll-back stuff. On Tue, Jun 9, 2009 at 11:36 AM, Rob Mensching wrote: > Ahh, you want to delet

[WiX-users] How to target specific product version with wix patching

2009-06-09 Thread Peter Shirtcliffe
Hello all, Im trying to build a small update for the first time and I cant work out how to target a specific version of a product. I using the new wix-only patch building method to create a patch from 2 admin installations. My wix version is 3.0.5405.0. My command lines are: torch -t patch -x

Re: [WiX-users] Imp- Problem with un-installation

2009-06-09 Thread Rob Mensching
Yes, uninstall may be removing DLLs. That's uninstalls purpose to remove files that were installed. A verbose log file will show you everything that is being installed/uninstalled.. rahul.ekb...@sungard.com wrote: > Hi, > Yes I am stopping one service from machine. However I was using this code

Re: [WiX-users] Uninstall Web application installer

2009-06-09 Thread Rob Mensching
Personally, I'd store the values with a RegistryValue and read them back in with a RegistrySearch. Mathieu Belin wrote: > Exactly the same problem, did you find a solution ? > Which version of wix are you using ? > > Kind regards, > > 2009/6/9 Rob Mensching > > >> Ahh, I expect you are not re

Re: [WiX-users] How to handle this situation?

2009-06-09 Thread Rob Mensching
The error message seems pretty specific. "component2" isn't being referenced by a Feature (if you're building a Product) or a Merge Module (if you're building a MergeModule). You need to reference "component2" like you did "component1". Is there a way the error message could be improved. Jiang

Re: [WiX-users] Help Required in Removing the Folder during uninstallation

2009-06-09 Thread Rob Mensching
Ahh, you want to delete a directory *tree*. That is not supported natively by the Windows Installer. There is a CustomAction out there that will do this correctly (with rollback and all that good stuff). Bob is getting it set up. Curtis Jewell wrote: > Let me try and express it better: > > The

Re: [WiX-users] Can I create Setup.exe in WiX3?

2009-06-09 Thread Rob Mensching
Bur is released, it just doesn't work very well yet. That's why we talk about in the future tense. Sascha Beaumont wrote: > As far as I know it's not released yet, I'd suggest searching the > mailing list archives for more information. > > On Tue, Jun 9, 2009 at 5:01 PM, > karthik.shenoy wrote:

Re: [WiX-users] How to transfer data from InstallShieldinstallationpackage to Wix installation

2009-06-09 Thread Jiang, Chunyan (GE Healthcare)
Thank you for your reply. I will try the way as you mentioned to transform the ism to xml formation. You are right. Probably I need to rewrite the installer by using Wix. The ISM is only used for reference. -Ursprüngliche Nachricht- Von: Christopher Painter [mailto:chr...@deploymenteng

Re: [WiX-users] Uninstall Web application installer

2009-06-09 Thread Mathieu Belin
Exactly the same problem, did you find a solution ? Which version of wix are you using ? Kind regards, 2009/6/9 Rob Mensching > Ahh, I expect you are not remembering the Properties there so on > uninstall the WEBSITEPORT and others are not defined so uninstall is not > finding the WebSite to un

[WiX-users] How to handle this situation?

2009-06-09 Thread Jiang, Chunyan (GE Healthcare)
Hi wix-users, I have to manage this data structure: folderA -file1 -folderB -file2 It means that folderA includes file1 and folderB. And folderB includes file2. I set it as following: Wh

Re: [WiX-users] How to transfer data from InstallShieldinstallation package to Wix installation

2009-06-09 Thread Christopher Painter
InstallShield ISM ( MSI backwards ) are stored in either Binary (MSI) format or XML format ( DTD format, a transformed representation of the MSI schema ) You can set the format used in the project settings of InstallShield or use the programs msi2xml and xml2msi (sourceforge) to convert back

Re: [WiX-users] Custom Action & Temporary File

2009-06-09 Thread Peter Sliepenbeek
Thanks, I succeeded with the proposed SqlScript Custom Action: Note that the parameter 'ExecuteOnInstall' is mandatory for a successful completion! Peter Sliepenbeek | Software Engineer Piet Joubertstraat 4 | 7315 AV | Apeldoorn | Th

Re: [WiX-users] How to transfer data from InstallShieldinstallation package to Wix installation

2009-06-09 Thread Jiang, Chunyan (GE Healthcare)
Hi Neil, Thanks for your tips. The InstallShield package is .ism file. Is there some possible to transferm .ism file to .xml or some other format? Regards, Chunyan -Ursprüngliche Nachricht- Von: Neil Sleightholm [mailto:n...@x2systems.com] Gesendet: Dienstag, 9. Juni 2009 12:08 An: Ge

[WiX-users] Problem with accessing features state s after showing the SetupTypeDlg

2009-06-09 Thread Frank Neumann
I use the SetupTypeDlg to let the user select whether to do a typical, custom or complete installation. I attach a custom action called "RequiredLicensesValidation" to the "DoAction" events of the "TypicalButton" and "CompleteButton". Inside of the "RequiredLicensesValidation" custom action I try

Re: [WiX-users] How to transfer data from InstallShield installation package to Wix installation

2009-06-09 Thread Neil Sleightholm
Take a look at the tool "dark", it turns an MSI into WiX source. Neil -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: 09 June 2009 10:53 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] How to transfer data from I

[WiX-users] How to transfer data from InstallShield installation package to Wix installation

2009-06-09 Thread Jiang, Chunyan (GE Healthcare)
Hi Wix-users, I would like to move the installation from InstallShield to Wix. However, the installation package is very big, several hundreds files inside the package. Manuelly input all the file source to Wix project will be time consuming. Is there some automatic way to transfer data from Inst

Re: [WiX-users] Texbox validation while typing

2009-06-09 Thread Lobo, Lionel
That's a nice approach Richard. Thanks, Lionel -Original Message- From: Richard [mailto:legal...@xmission.com] Sent: Tuesday, June 09, 2009 7:48 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Texbox validation while typing In article , "Lobo, Lionel" writes: >

Re: [WiX-users] Texbox validation while typing

2009-06-09 Thread Lobo, Lionel
Hi Brian, Thanks for your reply. If there are plans to extend WIX capabilities to add such a feature, I'd be happy to be a part of the development effort. Cheers, Lionel -Original Message- From: Brian Rogers [mailto:rogers.br...@gmail.com] Sent: Monday, June 08, 2009 9:45 PM To: Gener

Re: [WiX-users] Can I create Setup.exe in WiX3?

2009-06-09 Thread Sascha Beaumont
As far as I know it's not released yet, I'd suggest searching the mailing list archives for more information. On Tue, Jun 9, 2009 at 5:01 PM, karthik.shenoy wrote: > Hi Sascha, > > Thanks for the reply. You mentioned something about Burn EXE in your > previous post. Any idea how to use this tool?

Re: [WiX-users] Can I create Setup.exe in WiX3?

2009-06-09 Thread karthik.shenoy
Hi Sascha, Thanks for the reply. You mentioned something about Burn EXE in your previous post. Any idea how to use this tool? Thanks in advance Regards Karthik Shenoy -Original Message- From: wix-users-requ...@lists.sourceforge.net [mailto:wix-users-requ...@lists.sourceforge.net] Sent:

Re: [WiX-users] Help Required in Removing the Folder during uninstallation

2009-06-09 Thread Curtis Jewell
Let me try and express it better: The files I want to delete are under a certain directory that the MSI sets up to place them in, but could have any name, and be in (created by my program) subdirectories of that directory, and that's the only thing I know about them. They would be useless without