[WiX-users] controlling who installs a package

2008-08-15 Thread Mole, Chris
Hi, What's the best way to control who is able to install a package? Can I make the package in such a way that it can only be installed by people that know some password or serial number? Thanks, Chris - This SF.Net

Re: [WiX-users] move from wix2.0 to 3.0

2008-08-15 Thread Rob Hamflett
Is there a program with v3 called something like wixcop? I think if you run it over your wix files it will convert them to the latest schema. Rob kkmca wrote: I would like to convert my current installer from wix2 to wix 3 - installer is currently synchronized with mallow and then installer

Re: [WiX-users] Response to error in CustomAction

2008-08-15 Thread Костиков Александр
But DIFxAPP extension is executed after InstallFinalize and my custom action needs to be executed after DIFxAPP. So there is no way to rollback? May be custom action can set some MSI property that is analyzed afterwards in some condition tag? Or maybe there is a way to make a manual rollback

Re: [WiX-users] Attach a database

2008-08-15 Thread silence8212
Hi David, thanks for your advise. Now I'm dropping database instead of detaching and it works according to my ideas. I'm newbie in Wix, so I'm only discovering magics of this beautiful technology ;) David Reed (SQL) wrote: I'm a little confused on the desired outcome. You're detaching the

Re: [WiX-users] controlling who installs a package

2008-08-15 Thread Eitan Behar
Hi Chris, First at all, there is no way you can really protect an MSI based setup from being installed. MSI is in an open format, therefore, anybody can easily(?) open it and understand what constraints you set in order to limit the installation process. Saying that, if your users are not too

[WiX-users] OS Version

2008-08-15 Thread Michael Faden
Hi, can anbody tell me, how I can construct a conditional element for the OS-version (32/64bit) like Feature Id=ProductFeature Title=Complete Display=expand Level=1 Feature Id=Version32 Title=32-bit Version Description=32-bit Version. Level=1 Condition Level=1 (OS is 32bit)

Re: [WiX-users] controlling who installs a package

2008-08-15 Thread Buddell, James
Hi Chris, I just wanted to give a different perspective here too. I am an application repackager rather than a software developer, and so I see this from the point of view of large corporates who may want to deploy your software automatically, i.e. your customers! It's fine to have a requirement

Re: [WiX-users] OS Version

2008-08-15 Thread Neil Enns
You should be able to use a combination of the Intel, Intel64, and Msix64 standard properties. They are documented at http://msdn.microsoft.com/en-us/library/aa370905.aspx#hardware_properties. Neil From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Michael

[WiX-users] SqlScript Connection Question

2008-08-15 Thread Dana Gutride
Quick question regarding the way the WiX sql custom actions. When you specify multiple sql scripts or strings with their associated sequences, does the custom action open a new connection for each string/script executed or does it reuse the connection until it has looped through all of the

Re: [WiX-users] move from wix2.0 to 3.0

2008-08-15 Thread Brian Rogers
Hey Rob, That is right. Wixcop.exe should be able to up convert your schema. -- Brian Rogers Intelligence removes complexity. - Me http://icumove.spaces.live.com On Fri, Aug 15, 2008 at 2:23 AM, Rob Hamflett [EMAIL PROTECTED] wrote: Is there a program with v3 called something like wixcop?

Re: [WiX-users] Install virtual directory in the default IIS web site only for selected feature?

2008-08-15 Thread misuo
Hi, just want to follow up on my own post. Parts of the problem can now be handled. I'm still interesting in learning how to resolve the remaining parts. Okay, so here's what I've learned (all relevant for WiX 3.0 at least up to 3.0.4401.0): * IIS comes with a default web site. Installing IIS

Re: [WiX-users] move from wix2.0 to 3.0

2008-08-15 Thread kkmca
Thanks, presently Mallow is most important in synchronizing changes in the assets that are installed as the product changes - does Heat perform this kind of synchronization and when is version 3.0 expected to go GA? Thanks Brian Rogers wrote: Hey Karen, Are you referring to tallow?

[WiX-users] How to suppress The following applications should be closed ... dialog in customaction during uninstalling?

2008-08-15 Thread Fang Zhou
In a specific custom action, I want to uninstall a service (the corresponding executable is foo.exe), by 1. stop this service 2. run InstallUtils.exe /u foo.exe However msiexec always prompt me the dialog The following applications should be closed ... with service foo listed. I can choose

Re: [WiX-users] Response to error in CustomAction

2008-08-15 Thread Bob Arnson
Костиков Александр wrote: But DIFxAPP extension is executed after InstallFinalize and my custom action needs to be executed after DIFxAPP. So there is no way to rollback? No, the transaction is committed during InstallFinalize. See

Re: [WiX-users] newbie trouble with implementing custom action

2008-08-15 Thread Bob Arnson
kkmca wrote: i added the configuration to the wxs for the custom action and the installer fails to complete - the logging is crytpic Make sure you're getting verbose logs. Then search for return value 3 to find the point of failure. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] newbie: SourceFile in Icon using votive/wix 3 can't be resolved?

2008-08-15 Thread Bob Arnson
Alpert, Stephen R (GE Healthcare) wrote: The system cannot find the file MyApplication.exe which is the reference above (var.MyApplication.TargetFileName) TargetFileName contains just the file name; you need to use TargetPath like your File element. -- sig://boB

Re: [WiX-users] move from wix2.0 to 3.0

2008-08-15 Thread Bob Arnson
kkmca wrote: Thanks, presently Mallow is most important in synchronizing changes in the assets that are installed as the product changes - does Heat perform this kind of synchronization and when is version 3.0 expected to go GA? No, Heat doesn't support use in automated builds because of

Re: [WiX-users] How to suppress The following applications should be closed ... dialog in customaction during uninstalling?

2008-08-15 Thread Bob Arnson
Fang Zhou wrote: I can choose either option close app, auto restart it again, do not close app, reboot afterward, and then the service can be successfully uninstalled (no reboot after that if I choose the second option) If you use the native MSI ServiceInstall and ServiceControl elements,

[WiX-users] multiple wxs wixobj one msi

2008-08-15 Thread kkmca
I have multiple fragments that exist as wxs files that i need to compile into one msi - I ran candle on the and now have multiple wixobj files - Should i use a tool to compile the multipe wixobj files into one or can light take multiple wixobj files and output them into one msi? -- View this

Re: [WiX-users] How to suppress The following applications should be closed ... dialog in customaction during uninstalling?

2008-08-15 Thread Fang Zhou
Thanks for the reply. If I use ServiceInstall and ServiceControl, is it possible to totally avoid the service when installing (do not install or uninstall), but uninstall the service when uninstalling? On Fri, Aug 15, 2008 at 1:17 PM, Bob Arnson [EMAIL PROTECTED] wrote: Fang Zhou wrote: I

Re: [WiX-users] SqlScript Connection Question

2008-08-15 Thread David Reed (SQL)
I haven't peeked at the code, but based on your description, I'll bet that it's closing and reopening connections for each SQL string instead of using connection pooling, etc. Fire up SQL Profiler and cap a trace of connection events during the installation and that will tell you for sure what

Re: [WiX-users] Attach a database

2008-08-15 Thread David Reed (SQL)
Me, too, Tim. Although, I have to say that I'm probably starting to suffer Stockholm Syndrome with WiX and MSBuild... I don't know about beautiful but more like elegant in the engineering sense of the word. Welcome to the voodoo. -Original Message- From: [EMAIL PROTECTED]

[WiX-users] Installing different version of file depending on OS

2008-08-15 Thread Schuett, Michael
Hello, I need to install a different version of a file depending on the OS. The installed file needs to have the same name. Here's my code that works if the File Name= are unique. Component Id=File2000.ext Guid={5418CC53-8981-4156-A3F9-33701487762A} File Id=File2000.ext

Re: [WiX-users] SqlScript Connection Question

2008-08-15 Thread Dana Gutride
Thanks for the suggestion. We've been using Profiler for this all day to watch the connections and it doesn't appear to be creating new ones. Is there any way SQL Server could be grabbing a connection to do some transactional commits or logging work on a large update or insert even after the

Re: [WiX-users] move from wix2.0 to 3.0

2008-08-15 Thread Don Pratt
Hi Karen, We have a similar build routine here (use mallow to update files/components, followed by candle and light) and decided to make the jump to v3 some months back. I couldn't find a v3 replacement for mallow, so I decided to try modifying it. Since it's (unobfuscated) .NET code, it was