Re: [WiX-users] Parsing a version string in WiX

2009-02-20 Thread Chad Miles
I've had to do something similar to this. Come Monday if you don't have any leads I'll help ya. On Fri, Feb 20, 2009 at 6:30 PM, Dan Giambalvo danie...@windows.microsoft.com wrote: I'm trying to add a Condition to my WiX based installer to make sure that IE8 is installed on the machine. I

Re: [WiX-users] Passing data between deferred custom actions

2009-02-20 Thread Chad Miles
A GUID works nicely... :) On Fri, Feb 20, 2009 at 6:10 PM, Thomas S. Trias tomtr...@artizan.comwrote: Use a different delimiter; the WiX CA's use EUR. I've been tempted to use XML (just because it makes reading the logs so much easier - probably overkill for anything short of serializing

Re: [WiX-users] Problems installing a windows service

2009-01-22 Thread Chad Miles
Have you run depends/reflector on your file to see if your missing any dependencies by chance? On Thu, Jan 22, 2009 at 9:48 AM, Thomas Due thomas@scanvaegt.dk wrote: I am currently experimenting with WiX to see if it is something we can use for our next generation software. My

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

2009-01-13 Thread Chad Miles
Thanks Rob. Much appreciated. On Tue, Jan 13, 2009 at 5:51 PM, Rob Mensching rob.mensch...@microsoft.comwrote: 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/

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

2008-12-17 Thread Chad Miles
There's not much more information than that when compiling. I did narrow it down to something specific within the feature, not adding the feature itself... b/c I tried a different feature I had on-hand and it worked. I passed it on to the individual owner of the feature to debug it. Thanks for

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

2008-12-15 Thread Chad Miles
Oh, I think I know what you're saying now. And I believe the answer is you do need 2 components in order to do so, or so I've read and done. On Mon, Dec 15, 2008 at 9:10 AM, tgoffice tgoff...@web.de wrote: Sorry, no this is a missunterstanding (my bad english ... :confused:) How can I

Re: [WiX-users] (no subject)

2008-11-27 Thread Chad Miles
Suhweet!!! On Thu, Nov 27, 2008 at 3:46 AM, Peter Vestergaard [EMAIL PROTECTED]wrote: Thanks for help! It works!! Much appriciated! 2008/11/26 Chad Miles [EMAIL PROTECTED] 1 more suggestion, inside your control for the finish button: Control X=236 Text=!(loc.WixUIFinish) Y=243 Id

Re: [WiX-users] (no subject)

2008-11-26 Thread Chad Miles
way to close it is through the task manager... What am I doing wrong? Best regards Peter 2008/11/26 Chad Miles [EMAIL PROTECTED] Sure, CustomAction Id=LaunchSAwithLOCALDB Execute=immediate FileKey= SetupAssistant.exe Return=asyncNoWait ExeCommand='[INSTALLDIR]SetupAssistant.exe

Re: [WiX-users] (no subject)

2008-11-26 Thread Chad Miles
: But when I set the CustomAction/@Return I get the warning that the CustomAction/@ExeCommand has to be set. But what shoukd that be set to then? Thanks for your help... Best regards Peter 2008/11/26 Chad Miles [EMAIL PROTECTED] I would guess your CustomAction/@Return is defaulting

Re: [WiX-users] (no subject)

2008-11-26 Thread Chad Miles
for your effort... 2008/11/26 Chad Miles [EMAIL PROTECTED] Ah I see why. Pardon me on that one. async's can only be used w/ exe's. http://msdn.microsoft.com/en-us/library/aa368071(VS.85).aspx I'd say try ignore then... unless you already did that one too and it griped at you

Re: [WiX-users] (no subject)

2008-11-26 Thread Chad Miles
Sure, CustomAction Id=LaunchSAwithLOCALDB Execute=immediate FileKey= SetupAssistant.exe Return=asyncNoWait ExeCommand='[INSTALLDIR]SetupAssistant.exe /db=[DBNAME] /dbserver=[ComputerName]' / Publish Dialog=ExitDialog Control=Finish Event=DoAction Value= LaunchSAwithLocalDBSQLTYPE=1 AND (NOT

Re: [WiX-users] (no subject)

2008-11-26 Thread Chad Miles
=DoAction Value=CustomAction21/Publish Publish Event=EndDialog Value=Return1/Publish /Control Pulled this from some old code. On Wed, Nov 26, 2008 at 9:55 AM, Chad Miles [EMAIL PROTECTED] wrote: no problem. i'm actually interested in this, i'm creating a little test install. i'll get

Re: [WiX-users] CloseApplication doesn't run under a specified condition

2008-11-26 Thread Chad Miles
Why not scrap the property CA, and just stick w/ the util:CloseApplication and condition it on REMOVE=ALL On Wed, Nov 26, 2008 at 10:11 AM, Jianjun An [EMAIL PROTECTED]wrote: I want to close my application when uninstall. I use CloseApplication like following: CustomAction

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

2008-11-26 Thread Chad Miles
Just now Rob, and it looks like a flip flop. During Install: MSI (s) (CC:18) [12:58:31:859]: Component: sql_db_remote_sql; Installed: Absent; Request: Local; Action: Local MSI (s) (CC:18) [12:58:31:859]: Component: sql_db_remote_sql_patch; Installed: Absent; Request: Local; Action: Null

Re: [WiX-users] Is it possible to set Direction LongName attribute to a Property value?

2008-11-25 Thread Chad Miles
Doc shows LongName has been deprecated, yes? working in Wix v3 right? On Tue, Nov 25, 2008 at 2:52 PM, Greg Silin [EMAIL PROTECTED]wrote: Hi, Is it possible to set the Direction element LongName attribute to a property value? I have the following (excerpts): Property

Re: [WiX-users] How to install into other than INSTALLDIR?

2008-11-24 Thread Chad Miles
Could you drop the root property and dir, and then next the IIS dir(s) under TARGETDIR. That would probalby have to assume that C:\ is the logical drive w/ most available space I believe. Not for certain on this, but I think it would work. On Mon, Nov 24, 2008 at 12:11 PM, David Bartmess [EMAIL

Re: [WiX-users] How to install into other than INSTALLDIR?

2008-11-24 Thread Chad Miles
next = nest* sorry. On Mon, Nov 24, 2008 at 12:17 PM, Chad Miles [EMAIL PROTECTED] wrote: Could you drop the root property and dir, and then next the IIS dir(s) under TARGETDIR. That would probalby have to assume that C:\ is the logical drive w/ most available space I believe

Re: [WiX-users] using heat

2008-11-23 Thread Chad Miles
heat.exe dir path to dir -out output.wxs is this what you're going for? On Sun, Nov 23, 2008 at 4:03 AM, Sean Farrow [EMAIL PROTECTED]wrote: Hi: I haven't as yet, the usage instructions aren't as clear as they could be1 Cheers Sean. -Original Message- From: Rob Mensching

Re: [WiX-users] Creating tables for Wix extensions

2008-11-22 Thread Chad Miles
]wrote: Hi: Thanks for that chad. Can this table definition be added within a .wxs file inside a fragment? Chers Sean. -Original Message- From: Chad Miles [mailto:[EMAIL PROTECTED] Sent: 22 November 2008 17:47 To: General discussion for Windows Installer XML toolset. Subject: Re

Re: [WiX-users] what's the custom action name I use to sequence a custom action to process just before/after CreateDatabase activities?

2008-11-19 Thread Chad Miles
Try ConfigureSql On Wed, Nov 19, 2008 at 9:24 PM, Robert O'Brien [EMAIL PROTECTED] wrote: I have a custom action that I wanted to schedule to happen just before CreateDatase processing occurs. I tried the following custom action sequencing statement Custom Action=QtExecCmdLineRun5

Re: [WiX-users] CreateDatabase processing failing because databasehostname public property assignment using [%ComputerName] doesn't appear to be working

2008-11-19 Thread Chad Miles
And I don't think you need it as an env. var. [ComputerName] is a built-in msi property if I'm not mistaken. But Michael is right, type 51 CA On Wed, Nov 19, 2008 at 9:23 PM, Robert O'Brien [EMAIL PROTECTED] wrote: If I use the following Property Id=DATABASESHOSTNAME Value=[%ComputerName]

Re: [WiX-users] Shortcut Target Attribute

2008-11-17 Thread Chad Miles
Try setting Target=[#wish85.exe]... or whatever your filename is. On Mon, Nov 17, 2008 at 10:42 AM, JLM [EMAIL PROTECTED] wrote: Ok, I thought I had this working, but it is not. I think the quotes are getting set wrong. I know that if I open up the shortcut's properties page, and set the

Re: [WiX-users] Creating users and setting Permission's

2008-11-09 Thread Chad Miles
Thing it's permission not permissionex you want. On Sun, Nov 9, 2008 at 7:07 PM, [EMAIL PROTECTED] wrote: I am trying to install a couple of users and then give them permission's to access the registry. I want them to be able to create sources fro the event log. Here is the Wix XML I am

Re: [WiX-users] One patch to rule them all

2008-11-04 Thread Chad Miles
different the DLL is from the V2 or V1 of my installer the patch was created from. I have other ugly/non-professional/hack non-WiX solutions, but getting that code reviewed is an ugly prospect. -Original Message- From: Chad Miles [mailto:[EMAIL PROTECTED] Sent: Monday, November 03

Re: [WiX-users] registry permissions on new groups

2008-11-04 Thread Chad Miles
WiX doesn't support group creation I believe. On Tue, Nov 4, 2008 at 2:20 PM, Ian Elliott (Excell Data Corporation) [EMAIL PROTECTED] wrote: Hi, I've been tasked with the following: 1.)Create a new group 2.)Add permissions to the new group on a registry key I couldn't find a

Re: [WiX-users] Invoking managed console application as Custom Action

2008-10-31 Thread Chad Miles
Are you installing the console app w/ your package? Why not try a type 18 w/ filekey/@execommand. Would that work in your case? On Thu, Oct 30, 2008 at 6:53 PM, ajay [EMAIL PROTECTED] wrote: Hi, I have managed console application which I am trying to invoke from custom action within WIX

Re: [WiX-users] launch on exit triggered even when uninstall

2008-10-31 Thread Chad Miles
Look in the Wix chm for... Control Condition/Condition /Control On Fri, Oct 31, 2008 at 12:40 PM, s zheng [EMAIL PROTECTED] wrote: Hi, From the tutorial http://www.tramontana.co.hu/wix/, section 8.6, I have learnt how to launch an application: *Control* Id=Launch Type=CheckBox X=135

Re: [WiX-users] Registry Key Access rights to service accont

2008-10-30 Thread Chad Miles
Did you think to look at the wix doc. There's a Permission util:PermissionEx On Thu, Oct 30, 2008 at 2:03 PM, Sandeep Gautam (HCL Technologies Ltd) [EMAIL PROTECTED] wrote: Hi, I am creating one registry key under HKLM trough MSI. Now I want to give access permission to one windows service

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

2008-10-27 Thread Chad Miles
Need an xmlns for Util schema looks like. On Mon, Oct 27, 2008 at 5:04 PM, [EMAIL PROTECTED] 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 Id=RequiredUser

Re: [WiX-users] Custom action Problem

2008-10-24 Thread Chad Miles
Sure, MsiSetProperty(hinstall, PROP, PROPVALUE) I would think, then you could take that PROP and put and use it in your UIText element, while scheduling to run immediate. I'm thinking that would work. On Fri, Oct 24, 2008 at 4:49 PM, Sandeep Gautam (HCL Technologies Ltd) [EMAIL PROTECTED]

Re: [WiX-users] Run CA on uninstall, but not when updating (RemovePreviousVersions)

2008-10-24 Thread Chad Miles
Toss up a log if you can. I'd say check your ALLUSERS property between the 2 msis (see if they're different). On Fri, Oct 24, 2008 at 4:58 PM, chaiguy1337 [EMAIL PROTECTED]wrote: I'm having a problem: turns out the removal is not taking place at all. I guess I didn't notice this before. When

Re: [WiX-users] First time user questions

2008-10-17 Thread Chad Miles
1st thoughts: 1) Typically look at the Publish elements in the UI sequence and see what each control does. 2) Not sure what you're trying to do exactly 3) Write a CA, then tie it to the Finish control. Something similar to this... Publish Dialog=ExitDialog Control=Finish Event=DoAction Value=

Re: [WiX-users] Creating user groups using WIX

2008-10-17 Thread Chad Miles
Check out the util:User/Group schema. On Fri, Oct 17, 2008 at 10:44 AM, Kalvagadda, SivaKrishna (MLX Technology) [EMAIL PROTECTED] wrote: Hi, Could someone help me in creating user groups and user accounts using wix. Thanks...Siva. Regards, SivaKrishna Kalvagadda, 201-671-5552.

Re: [WiX-users] Expanding the SQL extension

2008-10-17 Thread Chad Miles
Are you trying to use SqlScript instead and deprecate SqlString? I'd be really interested in that... On Fri, Oct 17, 2008 at 11:11 AM, Eitan Behar [EMAIL PROTECTED] wrote: Hi, Who's developing the SQL Extension? There is a nice feature that several people are interested in adding it to the

Re: [WiX-users] First time user questions

2008-10-17 Thread Chad Miles
. The inbuilt UI loads the text in from a file in RTF format. I didnt see a control in the controls section that does this. 3) Perfect. -Original Message- From: Chad Miles [mailto:[EMAIL PROTECTED] Sent: Friday, October 17, 2008 10:52 To: General discussion for Windows Installer XML toolset

Re: [WiX-users] Creating user groups using WIX

2008-10-17 Thread Chad Miles
. Regards, SivaKrishna Kalvagadda, 201-671-5552. -Original Message- From: Chad Miles [mailto:[EMAIL PROTECTED] Sent: Friday, October 17, 2008 11:18 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Creating user groups using WIX Check out

Re: [WiX-users] hi

2008-10-16 Thread Chad Miles
You can do a property/regsearch for IIS v5/6/7: Key=SYSTEM\CurrentControlSet\Services\W3SVC\Parameters Name=MajorVersion Root=HKLM Same for MySQL: Key=SOFTWARE\MySQL Name=MajorVersion Root=HKLM Same for .NET 20 Root=HKLM Key=Software\Microsoft\NET Framework Setup\NDP\v2.0.50727 I would say

Re: [WiX-users] is it possible to have a program installation/uninstallation depend on another program?

2008-09-12 Thread Chad Miles
Yeah youll probably want to create a property and in there do a registrysearch for your dependent program, then throw a condition in your wxs file. On Fri, Sep 12, 2008 at 4:02 PM, Roger Yen [EMAIL PROTECTED] wrote: Hello, I don't know if my idea even make sense, but I'm just wondering, is

Re: [WiX-users] aspnet_regiis domain user

2008-09-11 Thread Chad Miles
Yes. If all you're having trouble with is figuring out how to add to the IIS grp... !-- Group ID for the IIS_WPG group -- util:Group Name=IIS_WPG Id=Grp_IISWPG / Then just groupref that Grp_IISWPG inside your User element. Are you trying to do more than that? On Thu, Sep 11, 2008

Re: [WiX-users] Quiet Execution Custom Action

2008-09-09 Thread Chad Miles
You need another CA and ditch the property... CustomAction Id=SetAction7 Property=QtExecCmdLine Value='? / CustomAction Id=Action7 BinaryKey=WixCA DllEntry=CAQuietExec Execute=immediate / Then you need to schedule it something like this... Custom Action=SetAction7

Re: [WiX-users] Updating app.config

2008-09-09 Thread Chad Miles
You can update the config file during the UI sequence and modify keys/values. Is that all you're trying to do? util:xmlconfig element On Tue, Sep 9, 2008 at 10:26 AM, polan [EMAIL PROTECTED] wrote: I have some application settings (like database configuration etc.) stored in app.config

Re: [WiX-users] Updating app.config

2008-09-09 Thread Chad Miles
You'll probably have to write up a dialog and have some edit fields set to properties and pass those values entered onto the util:xmlconfig element. That's been my approach. Maybe I'm on the wrong track on what you are trying to do... On Tue, Sep 9, 2008 at 10:32 AM, Chad Miles [EMAIL PROTECTED

Re: [WiX-users] Updating app.config

2008-09-09 Thread Chad Miles
some edit fields set to properties and pass those values entered onto the util:xmlconfig element. That's been my approach. Maybe I'm on the wrong track on what you are trying to do... On Tue, Sep 9, 2008 at 10:32 AM, Chad Miles [EMAIL PROTECTED] wrote: You can update the config file

Re: [WiX-users] Creating Database..

2008-09-04 Thread Chad Miles
I doubt this is the reason, but first thought maybe on the sqlscript you should rollbackonuninstall... On Thu, Sep 4, 2008 at 1:35 PM, Vidya Kukke [EMAIL PROTECTED]wrote: Hi, Our installer has a requirement to create a db on a local/remote system. I am using the SqlDatabase element to do

Re: [WiX-users] Problem with conditional install

2008-09-01 Thread Chad Miles
You basically just offered up the inverse of what I suggested. On Mon, Sep 1, 2008 at 5:41 AM, Pally Sandher [EMAIL PROTECTED]wrote: Modify your Feature as follows: Feature Id=SH4 Title=SH4 Description= SH4 Level= AllowAdvertise=no Display=hidden ComponentGroupRef Id=SH4_components/

Re: [WiX-users] Custom Action

2008-08-30 Thread Chad Miles
Can't you just use the Directory element Shortcut element? I think Microsoft has some predefined directory properties for StartMenuFolder. On Sat, Aug 30, 2008 at 4:47 PM, Jonathan Moore [EMAIL PROTECTED] wrote: I have a project that I need to create a start menu folder and a shortcut in

Re: [WiX-users] Problem with conditional install

2008-08-29 Thread Chad Miles
Change 101 to just 1. And I think on the the condition tag might need to be parsed... Condition Level=100![CDATA[NOT SH4EXISTS ]]/Condition On Fri, Aug 29, 2008 at 12:39 PM, scott b harris [EMAIL PROTECTED] wrote: Howdy, I'm having an issue getting a condition to work. I'm new to

Re: [WiX-users] Confusing msi install problem.....HELP!

2008-08-28 Thread Chad Miles
DuplicateFiles looks nice, sequenced after InstallFiles... never used it though. CopyFile would probably work, but if u have a bunch of files that seems tedious. On Thu, Aug 28, 2008 at 10:57 AM, Mark Holland [EMAIL PROTECTED]wrote: OK, my problem is confusing - for me anyway. I'm working on a

Re: [WiX-users] Confusing msi install problem.....HELP!

2008-08-28 Thread Chad Miles
this idea? 2008/8/28 Chad Miles [EMAIL PROTECTED] DuplicateFiles looks nice, sequenced after InstallFiles... never used it though. CopyFile would probably work, but if u have a bunch of files that seems tedious. On Thu, Aug 28, 2008 at 10:57 AM, Mark Holland [EMAIL PROTECTED

Re: [WiX-users] Odp: Re: Need help with QtExec

2008-08-27 Thread Chad Miles
CustomAction Id=SetCertsBatPath Property=QtExecCmdLine Value='[INSTALLDIR]certs.bat' Execute=immediate Return=ignore/ CustomAction Id=CertsBatPath BinaryKey=WixCA DllEntry=CAQuietExec Execute=immediate Return=check/ InstallExecuteSequence Custom Action=SetCertsBatPath

Re: [WiX-users] Need help with QtExec

2008-08-26 Thread Chad Miles
Also, just a supplemental note to what Neil already laid out there, you don't have to resolve those quotes in the case of pointing to a file, if you know how to set it up correctly... Value='[INSTALLDIR]runme.bat' On the outside there is a single quote followed by a double quote, likewise on the

Re: [WiX-users] Dynamically Populate ComboBox.

2008-08-25 Thread Chad Miles
Put in some listitem elements... On Mon, Aug 25, 2008 at 4:51 AM, pavan gadam [EMAIL PROTECTED] wrote: Hi, I have ComboBox declared as below. Control Type=ComboBox Width=75 Height=16 X=100 Y=50 Id=MyCombo Property =ComboProp ComboBox Property =ComboProp /ComboBox /Control Values

Re: [WiX-users] installation of a .net based service with Wixui

2008-08-25 Thread Chad Miles
On Account you must specify a domain\account format... On Mon, Aug 25, 2008 at 6:10 AM, bryan rasmussen [EMAIL PROTECTED]wrote: Hi, I'm making an installer for a Windows Service that has been developed in .Net, the following is how I expect to declare my service: Component

Re: [WiX-users] wixui custom

2008-08-25 Thread Chad Miles
makefile references .wixlib (LIB_FILES += WixUI_Custom.wixlib). On Mon, Aug 25, 2008 at 10:06 AM, bryan rasmussen [EMAIL PROTECTED] wrote: Where exactly is the wixlib referred to in examples\wixui\custom\TestCustom.wxs with the UIREF UIRef Id=WixUI_custom / Is it supposed to be somewhere

Re: [WiX-users] launch an application during installation

2008-08-19 Thread Chad Miles
You could also probably use a filekey attribute instead of property??? On Tue, Aug 19, 2008 at 10:51 AM, Pierson Lee (PIE) [EMAIL PROTECTED] wrote: A property cannot have an embedded property within it. To do this, you have to do use a custom action that resolves your property into another

Re: [WiX-users] Difference between XmlConfig and XmlFile elements?

2008-08-13 Thread Chad Miles
That's misleading, if you set it up correctly, you can use action=create to actually update an existing entry. You just have to be careful of escape chars. This would work for an 'appsettings' --- 'add key=somekey value=default structure elementpath=//appSettings/[EMAIL PROTECTED]'somekey'[\]]

Re: [WiX-users] Problem with [#fileid] reference.

2008-08-13 Thread Chad Miles
I've seen people use that syntax as well, but have you tried something like [INSTALLDIR]SystemSettings.xml, assuming the file is being laid down in INSTALLDIR? On Wed, Aug 13, 2008 at 5:46 PM, [EMAIL PROTECTED] wrote: Am I correct to assume that using [#fileid] syntax to refer to a file

Re: [WiX-users] Service Install Problem

2008-08-05 Thread Chad Miles
Usually you want to specify domain\account for the Account attribute I believe. On Tue, Aug 5, 2008 at 10:56 AM, MarkZune [EMAIL PROTECTED] wrote: I'm attempting to install a service and receiving the dreaded 1923 error. Along with the service I'm also creating the user that the service will