[WiX-users] major upgrade of per-user install with per-machine install

2010-01-15 Thread cemiles
I have a situation where version 2.0 of our product was set up with an option in the UI for user's to install at per-user or per-machine (bad design flaw). Now in the 3.0 version of our product it's per-machine by default. I've read that when toggling the ALLUSERS context in a major upgrade won'

[WiX-users] Weird Component State

2009-12-16 Thread cemiles
Has anyone any knowledge on what a component state of -7 actually is or how it gets set to that value? MSI (s) (F8:DC) [13:01:44:431]: Executing op: ComponentRegister(ComponentId={12345678-1234-1234-1234-123456789012},,State=-7,,Disk=1,SharedDllRefCount=0,BinaryType=0) Thanks. -- View this mess

Re: [WiX-users] RemoveExistingProducts detects previous version, but does not remove

2009-08-19 Thread cemiles
hat before? cemiles wrote: > > I'll gather up some more logging. Thanks Blair. > > As far as the sequence, I tried between InstallValidate & > InstallInitialize for one run, and also tried bumping it after > InstallInitialize and before any other in-script execution CA.

Re: [WiX-users] RemoveExistingProducts detects previous version, but does not remove

2009-08-19 Thread cemiles
ding REMOVE property. Its value is 'ALL'." Line. > > -Original Message- > From: cemiles [mailto:chad.mi...@gmail.com] > Sent: Monday, August 17, 2009 8:01 AM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] RemoveExistingProducts detects previ

[WiX-users] RemoveExistingProducts detects previous version, but does not remove

2009-08-17 Thread cemiles
I've tried following the advice on the msdn documentation that states there are 3 different scenarios where you can schedule RemoveExistingProducts. However, my new product gets installed, and the old one remains. I'll start with the relevant log snip. I'm not sure what I'm missing in this case

Re: [WiX-users] Problem with condition based on custom property

2009-05-26 Thread cemiles
http://msdn.microsoft.com/en-us/library/aa370912.aspx Try making the property public so it can be passed from the UI to execute sequence. Routhier Louis wrote: > > Hi, > I made a custom action that needs to run only if a checkbox was checked > during UI or not at all if in quiet or minimal mod

[WiX-users] shortcut ordering in startmenu

2009-05-12 Thread cemiles
hello all. my question regards sorted shortcuts in the startmenu. suppose i have an install and it sets up a few shortcuts under a newly created folder under the startmenu. then in a patch i want to add a new shortcut to the same working directory, but i want that new shortcut to appear at the

Re: [WiX-users] Installing Windows WCF Service

2009-02-27 Thread cemiles
Did you check to make sure your account has "log on as a service" rights? Pierson Lee (PIE) wrote: > > I have created a WiX 3.0 (Windows Installer XML Toolset, Version > 3.0.4526.0) installer to install a Windows WCF Service. When I install the > service under a domain account (my credentials)

Re: [WiX-users] How to invoke custom action when user clicks Cancel button?

2009-02-16 Thread cemiles
You can tie it to your control, wherein DBNameValidation my CA Id. Ex: 1 Or, if you're working with a stock dialog, you can order the control in the publish tag inside of the UI sequence. Andrew Kendall-2 wrote: > > Good day! > > I can't work out how to get a custom actio

Re: [WiX-users] Custom WiX Dialog Issues->Getting folder selected from BrowseDlg

2009-02-13 Thread cemiles
I think I know what you're getting at here. Say you click on the Browse button and change the path, you want that path to show up in another dialog later on in the UI sequence? If that is the case, I found something kind of nifty. The way it works is, in the CustomizeDlg I set the INSTA

Re: [WiX-users] double-clickable minor upgrade msi solution? is there any route?

2009-01-13 Thread cemiles
Thanks Rob. Much appreciated. Rob Mensching-2 wrote: > > My reading of the MSI SDK says you need to provide a command-line for > minor upgrades. Always made them pretty useless (unless you had a > bootstrapper already) if you ask me. > > -Original Message---

[WiX-users] double-clickable minor upgrade msi solution? is there any route?

2009-01-13 Thread cemiles
I have a minor upgrade msi that I want to be double-clickable, but when I try it pops the dialog stating an existing product is already installed. Understood and expected, and from reading up I'm seeing it's not really a plausible solution, but I'm still curious if there's some way to do this asi

Re: [WiX-users] Distinguish between SQL integrated security and normal authentication

2008-12-12 Thread cemiles
Sorry, and that tag is incorrect for the RBG. Should read cemiles wrote: > > You could set up a radiobuttongroup control and tie that condition > property to it. > > So, something like this would be the short version for 1 property > DATABASEUSER: > >

Re: [WiX-users] Distinguish between SQL integrated security and normal authentication

2008-12-12 Thread cemiles
You could set up a radiobuttongroup control and tie that condition property to it. So, something like this would be the short version for 1 property DATABASEUSER: ISINTEGRATEDSECURITY=0 ISINTE

[WiX-users] Adding new feature in patch generates error "GenerateTransform, ReferenceDatabase, TransformFile"

2008-12-12 Thread cemiles
Is it possible to include a new feature inside of a patch that didn't exist in the original msi? I've been reading about this and from my understanding if it's not at the top level, it should be okay. So I've nested the feature directly within an existing feature, but still can't compile the msi

Re: [WiX-users] ExecuteSQLStrings Error Property?

2008-12-09 Thread cemiles
Would a feature request be reasonable here? I don't even think I'd be able to even see it/use it for our release, but for future projects it could be helpful. Rob Mensching-2 wrote: > > Nothing like that today. > > -Original Message- > From: cemiles [mailto

[WiX-users] ExecuteSQLStrings Error Property?

2008-12-02 Thread cemiles
Hey guys, Is there a property that gets set if an sqlscript fails while set to continueonerror="yes" ??? All I can find is ExitOnFailure under scasqlstr.cpp... Do I need to rebuild the extension and do an MsiSetProperty inside that src to achieve this? I have a CA I want to schedule at the end

Re: [WiX-users] Patching SQL Database with script

2008-11-26 Thread cemiles
I'm gonna go out on a limb here. Since it looks like some sort of error in the binary table, is it required to declare a second binary pointing to the same script to use in the patch component? Is there some clashing since I'm using SqlScript1 in both components? cemiles wrote: &g

Re: [WiX-users] Patching SQL Database with script

2008-11-26 Thread cemiles
d from > there you can figure out why things were skipped. > > -Original Message- > From: cemiles [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 26, 2008 09:31 > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Patching SQL Database with script > &g

Re: [WiX-users] Patching SQL Database with script

2008-11-26 Thread cemiles
aunch after the patch finishes (and the kicker here is whenever you specify the dbname/dbservername w/i that exe it runs the scripts fine on the remote machine). Wilson, Phil wrote: > > If this code is running in a custom action, it is impersonated or not? > > Phil Wilson >

Re: [WiX-users] Patching SQL Database with script

2008-11-26 Thread cemiles
Is there an answer for this? I still can't get it to work, and I've seen others complain too. I can post my code if someone has time to help out. cemiles wrote: > > I'm extremely interested in this myself. I know Rob pointed out using > sqlscript/string, but I&#

Re: [WiX-users] potential heat bug

2008-11-23 Thread cemiles
I put it in. https://sourceforge.net/tracker/?func=add&group_id=105970&atid=642714 takes you to Tracker then you can open bugs from there. Sean Farrow wrote: > > How do I chech/open a but? > Cheers > Sean. > > > -Original Message- > From: Rob Mensching [mailto:[EMAIL PROTECTED] > S

Re: [WiX-users] Custom Action - start exe inside my INSTALLDIR

2008-11-23 Thread cemiles
... Love88Keys wrote: > > I´ve read part of Wix-Tutorial "http://www.tramontana.co.hu/wix.."; about > how to start an exe-file which is already installed on the system. The > suggested solution was: > > Notepad.exe > ExeCommand='[SourceDir]Readme.txt' Return='asyncNoWait' /> >

Re: [WiX-users] Patch Failure property

2008-11-22 Thread cemiles
r, and what I'm trying to accomplish is, if the script fails, the patch install will continue and finish, then I want to launch a setupassistant exe. So, what I'm really looking for is probably something to key off of whenever the CA ExecuteSqlStrings fails. Chad cemiles wrote: > >

[WiX-users] Patch Failure property

2008-11-21 Thread cemiles
I want to launch an executable only if my patch fails. Is there a property out there I can use to condition my CA? Thanks -- View this message in context: http://n2.nabble.com/Patch-Failure-property-tp1563610p1563610.html Sent from the wix-users mailing list archive at Nabble.com. --

Re: [WiX-users] Patching SQL Database with script

2008-11-14 Thread cemiles
I'm extremely interested in this myself. I know Rob pointed out using sqlscript/string, but I'm getting a failure on my patch as well when doing that stating 'unable to connect to database'. I've read in some forums sql db's don't lend themselves to patches. That could be completely inaccurate

[WiX-users] remote sql db on patch

2008-11-14 Thread cemiles
has anyone figured out how to get a remote sql db to fire off scripts on a patch? my initial install works fine, but the patch fails saying it can't connect to [DBNAME]. SQLTYPE=3 Any ideas?

Re: [WiX-users] Trying to create a user.

2008-10-27 Thread cemiles
Try adding in the xmlns:util namespace since User is an element of Util schema james.newsom wrote: > > Howdy! I'm in a rut that I'm trying to break out of. > > > > I want to create a user with my .msi file. I have the following: > > > > 8<-- > > Gu

[WiX-users] Launch condition on patch not working

2008-10-27 Thread cemiles
My situation is I want a launch condition to fire off if the product has yet to be installed (it's a regsearch to look for any other related products). If the product gets installed, I want to make it so the launch condition doesn't fire off on patch/majorupgrade/etc, basically only evaluate for

[WiX-users] Looking for an Msixxxxx Property

2008-10-15 Thread cemiles
I'm trying to extend WiX at the product/fragment level w/ a new extension. The hangup is, I'm trying to institute some Remove flags: A) RemoveOnUninstall B) RemainsOnMajorUpgrade C) Never Remove I've seen properties that get the component state (assume we're extending at the file level) like so

Re: [WiX-users] Re mote SQL Authentication

2008-09-09 Thread cemiles
2008 at 2:38 PM, David Reed (SQL) > <[EMAIL PROTECTED]>wrote: > >> If the identity running the installation doesn't have sysadmin >> privileges, >> you're not going to be able to grant anything to yourself... Maybe I'm >> not >> understa

Re: [WiX-users] New to WiX... first Error Message.. Need Help...

2008-09-09 Thread cemiles
xmlns = xmlnamespace... you'd run along the same thing if you wanted to use the util/sql/etc. schemas. need to declare them. cemiles wrote: > > I saw the whole gaming extension thing in the latest wix v3 chum file a > few weeks ago. My chum file isn't quite up to date,

Re: [WiX-users] New to WiX... first Error Message.. Need Help...

2008-09-09 Thread cemiles
I saw the whole gaming extension thing in the latest wix v3 chum file a few weeks ago. My chum file isn't quite up to date, but I think I know what's going on here. It's worth a shot... Ok, in the wxs file where you declared the element, at the top inside the tag you need to specify something

[WiX-users] Re mote SQL Authentication

2008-09-09 Thread cemiles
If anyone has come across this let me know. I can post my code if so, hopefully for a little advice because I'm between a rock and a hard-place. I need to run my install on a machine (Server A), and need to use sql authentication to grab a user w/ sysadmin rights on the remote machine (Server B)

Re: [WiX-users] Updating app.config

2008-09-09 Thread cemiles
t wondering if you could tell me is and/or v3.0 which should would you recomend to use/ > > regards > > Derekj > > cemiles wrote: >> >> 1) I'll try and do you one better. Here's how I update a specifc node >> (key >> or value)... >&g

Re: [WiX-users] XmlConfig XPath problem

2008-08-13 Thread cemiles
Also, You could start the path like this... //mycomponent/section/ Jim Evans wrote: > > You're right, I did. It's a typo on my part. In my actual code, the name > attributes match. Here is the corrected set of code samples: > > Target XML file: > > > > > > > >

Re: [WiX-users] XmlConfig XPath problem

2008-08-13 Thread cemiles
If it's still not working... try this instead: ElementPath="/configuration/myComponent/section/[EMAIL PROTECTED]'foo'[\]]" VerifyPath="/configuration/myComponent/section/[EMAIL PROTECTED]'foo'[\]]" Then it will update "foo" w/ the property you pass in for the Value. Jim Evans

[WiX-users] Patch Not Uninstallable

2008-07-31 Thread cemiles
I have a problem w/ my patch not being uninstallable. The only changes I made to my code were in the Directory table, RemoveFile table, Component table, and CA table. Basically at first I was making a copy of my msi to a shared dir on a server, but it was decided to move it to a subdir under whe

Re: [WiX-users] Help on type 19 custom action

2008-07-29 Thread cemiles
Never done one of those, but I'd say open your msi w/ Orca and look at the Error table for the index and supply that as the Error="#" attribute, and it will pop your corresponding msg. Anidil wrote: > > Okie...Could you help me to write a type 19 CA that just aborts the > installation throwing

Re: [WiX-users] ServiceInstall account problem

2008-07-29 Thread cemiles
I'd say that error is very general. Chances are you have missing dependencies. Run your file through reflector or depends and see what you might be missing. Daniel Rieck wrote: > > > > Hi everyone, > > I'm just getting started with WiX. > > I want to create a setup to install a service wr

Re: [WiX-users] Want to suppress 'service uninstall dialog'

2008-07-25 Thread cemiles
I just noticed something, I hope it's this simple and I'll feel like a goober if it is... Change "check" to "ignore"??? cemiles wrote: > > via cmd line w/ a CA... > > Value='"C:\\.exe" -u' /> > DllE

Re: [WiX-users] Want to suppress 'service uninstall dialog'

2008-07-25 Thread cemiles
via cmd line w/ a CA... Rob Mensching-2 wrote: > > How are you uninstalling this service? > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of cemiles > Sent: Friday, July 25, 2008 09:28 > To: wix-users@lists.s

[WiX-users] Want to suppress 'service uninstall dialog'

2008-07-25 Thread cemiles
I have an install that needs to be totally silent, but I'm running into a minor problem. I have a custom action that uninstalls an existing service, but when I do that a dialog spawns stating "ServiceName successfully uninstalled". This appears to be a Windows dlg, so is there any way I can supp

Re: [WiX-users] Close button in Progress dialog

2008-07-25 Thread cemiles
What's your control look like? 1 . . . This? Tony Juricic wrote: > > I have Progress with disabled Close button so it prevents me from > cancelling the installation while it is displayed. > > Yet, I have done nothing (that I am aware of) to cause that. Progress >