[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

[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

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

2009-08-19 Thread cemiles
'. 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 previous version, but does not remove I've tried following the advice on the msdn

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

2009-08-19 Thread cemiles
? 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. I'd rather the product be removed first

[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

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 mode.

[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) I get

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: Control Id=Next Type=PushButton X=236 Y=243 Width=56 Height=17 Default=yes Text=!(loc.WixUINext) Publish Event=DoAction Order=1 Value=DBNameValidation1/Publish /Control Or, if you're working with a stock dialog, you

[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

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. shrug/ -Original Message- From: cemiles

[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

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: Fragment UI Dialog Id=DBUserServerDlg Width=370 Height=270 Title=!(loc.DBUserServerDlg_Title) Control

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 RadioButtonGroup Property=ISINTEGRATEDSECURITY 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] 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:[EMAIL PROTECTED] Sent

[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
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'm getting a failure on my patch

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

2008-11-26 Thread cemiles
action, it is impersonated or not? Phil Wilson -Original Message- From: cemiles [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2008 9:10 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Patching SQL Database with script Is there an answer

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

2008-11-26 Thread cemiles
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 It's not in a CA I authored

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

2008-11-26 Thread cemiles
SourceFile=../../../../../folder/bin/sql/MyScript_MSSQL.sql/ cemiles wrote: Ok, the best (or most promising) place where it might be griping is here... MSI (s) (CC:28) [13:05:24:039]: Doing action: ConfigureSql Action 13:05:24: ConfigureSql. Configuring SQL Server Action start 13:05:24

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

2008-11-23 Thread cemiles
... CustomAction Id=LaunchNotepadExe Execute=immediate FileKey=Notepad.exe Return=asyncNoWait ExeCommand='[INSTALLDIR]Notepad.exe' / Custom Action=LaunchNotepadExe After=InstallFinalize/Custom Love88Keys wrote: I´ve read part of Wix-Tutorial http://www.tramontana.co.hu/wix..;

Re: [WiX-users] potential heat bug

2008-11-23 Thread cemiles
I put it in. https://sourceforge.net/tracker/?func=addgroup_id=105970atid=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] Sent: 23

Re: [WiX-users] Patch Failure property

2008-11-22 Thread cemiles
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: I want to launch an executable

[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.

[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]. Fragment util:User Id=sysadmin Name=[DBUSERNAME] Password=[DBUSERPW]/ DirectoryRef Id=INSTALLDIR Component

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] 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

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-- Component

[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

[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

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 Game element, at the top inside the Wix tag you need to specify

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, but I think I know

Re: [WiX-users] Re mote SQL Authentication

2008-09-09 Thread cemiles
the workflow that you're trying to achieve. We can take it offline if you like. -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of cemiles Sent: Tuesday, September 09, 2008 13:32 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Re mote SQL

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

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: configuration myComponent section

[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

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 written

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 a

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

2008-07-25 Thread cemiles
What's your control look like? Control X=304 Text=!(loc.WixUICancel) Y=243 Id=Cancel Default=yes Width=56 Height=17 Type=PushButton Cancel=yes Publish Event=SpawnDialog Value=CancelDlg1/Publish /Control . . . This? Tony Juricic wrote: I have Progress with disabled

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

2008-07-25 Thread cemiles
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.sourceforge.net Subject: [WiX-users] Want to suppress 'service uninstall dialog' I have an install that needs to be totally

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... CustomAction Id=SetUNINSTALLxxSERVICE Property=QtExecCmdLine Value='C:\\.exe -u' / CustomAction Id