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 wrote: > 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 .NET objects)... > >

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.

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 wrote: > I am currently experimenting with WiX to see if it is something we can > use for our next generation software. > > > > My immediate thought was to s

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

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 t

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 wrote: > > Sorry, no this is a missunterstanding (my bad english > ... :confused:) > > How can I differ between

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:

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 MS

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: > > Property="Operation"

Re: [WiX-users] (no subject)

2008-11-26 Thread Chad Miles
1 more suggestion, inside your control for the finish button: 1 1 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.

Re: [WiX-users] (no subject)

2008-11-26 Thread Chad Miles
not close:-( But thanks > 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 > &g

Re: [WiX-users] (no subject)

2008-11-26 Thread Chad Miles
L PROTECTED]>wrote: > 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 PROTEC

Re: [WiX-users] (no subject)

2008-11-26 Thread Chad Miles
t; > > and my publish element like this: > > > 1 > When I run the Installer and press the finish button, the custom action is > executed, but the installer does not exit. The only way to close it is > through the task manager... > > What am I doing wrong? > > Best r

Re: [WiX-users] (no subject)

2008-11-26 Thread Chad Miles
Sure, SQLTYPE=1 AND (NOT PATCH) On Wed, Nov 26, 2008 at 6:21 AM, Peter Vestergaard <[EMAIL PROTECTED]>wrote: > Hi is it possible to execute a custom action after the installer has exited > or alternativly run the custom and then exit the installer. > fx: The user presses the finish button, t

Re: [WiX-users] Is it possible to set 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): > > Value='Cook

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 b

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

2008-11-23 Thread Chad Miles
heat.exe 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 [mailto:[

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

2008-11-22 Thread Chad Miles
MAIL PROTECTED]>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 disc

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

2008-11-22 Thread Chad Miles
I didn't see anything in the doc. Here's a sample I used: On Sat, Nov 22, 2008 at 12:21 PM, Sean Farrow <[EMAIL PROTECTED]>wrote: > Hi; > is there any help/docs/tutorials detailing how to create a table for a > wix extension? > Any help apreciated

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 > > my log output shows something other than what

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 > > Not > Installed > > and when I c

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 th

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

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

2008-11-04 Thread Chad Miles
nt DLL than the current > installer being used on the machine. > > It all comes down to me being able to ask WiX to please ignore the DLL and > just patch my other files, no matter how different the DLL is from the V2 > or > V1 of my installer the patch was created from. > > I hav

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

2008-11-03 Thread Chad Miles
Could you baseline a Patch Target msi and patch off that? I'm not big on patching, but it sounds like the msp is baselined and not the msi. I'd definitely take someone else's word though. Just an opening thought. If you want it included no matter what (as you stated), maybe script based on file

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

2008-10-31 Thread Chad Miles
Look in the Wix chm for... 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" Y="120" Width="150" >

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 W

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 & 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 account at the time

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<-- > > Guid="{7fac0c

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.

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

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

2008-10-17 Thread Chad Miles
ple source code to create user groups, I > installed latest verion of wix but still I am not able see the > util:user/group. do I need add any namespaces? > > Thanks...Siva > > Regards, > SivaKrishna Kalvagadda, > 201-671-5552. > > -Original Message- > From:

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

2008-10-17 Thread Chad Miles
ix. > > Thanks a lot. > > 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. > Subj

Re: [WiX-users] First time user questions

2008-10-17 Thread Chad Miles
led up and down to show the complete text. 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: Fr

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

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

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... And in the Value attr, that would be your CA Id. On Fri, O

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"

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

2008-09-12 Thread Chad Miles
Oh, I'm not too sure about the uninstalling "recursion" you're talking about. On Fri, Sep 12, 2008 at 4:09 PM, Chad Miles <[EMAIL PROTECTED]> wrote: > Yeah youll probably want to create a property and in there do a > registrysearch for your dependent program, then

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 wonderin

Re: [WiX-users] aspnet_regiis domain user

2008-09-11 Thread Chad Miles
It appears like it does. Try it out. On Thu, Sep 11, 2008 at 1:32 PM, derekj <[EMAIL PROTECTED]> wrote: > > Hi, > > Does adding the user to the IIS_WPG also do the > aspnet_regiis -ga > [domain]\user? > > regards > > Derek > > cemiles wrote: > > > > Yes. If all you're having trouble with is fi

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... Then just groupref that Grp_IISWPG inside your User element. Are you trying to do more than that? On Thu, Sep 11, 2008 at 5:37 AM, derekj <[EMAIL PROTECTED]> wrote: > > Hi, > > I am using WIX 2.0

Re: [WiX-users] Updating app.config

2008-09-09 Thread Chad Miles
e to skip editing the values by the user and just > merge the new and old files? (I don't expect the wix to know how to merge > them - but maybe it is possible to do it via Custom Action?) > > > > cemiles wrote: > > > > You'll probably have to write up a dialo

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 &l

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

Re: [WiX-users] Quiet Execution Custom Action

2008-09-09 Thread Chad Miles
You need another CA and ditch the property... challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > __

Re: [WiX-users] custom ui sample question

2008-09-05 Thread Chad Miles
You can try downloading WixEdit from sourceforge, which will let you preview dialogs and customize on the fly. On Fri, Sep 5, 2008 at 5:22 PM, P a u l <[EMAIL PROTECTED]> wrote: > > I found the sample WixSampleDllCA. So just the images question remains for > now. > > > > -- > View this message

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 d

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: > > AllowAdvertise="no" Display="hidden"> > > > > > > > That should work as you expect it to. > > ComponentGroupRef'

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 >

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... 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 this whole > thing so hopefully I'm just missing som

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

2008-08-28 Thread Chad Miles
I'd say this is worth a shot::: On Thu, Aug 28, 2008 at 11:31 AM, Mark Holland <[EMAIL PROTECTED]>wrote: > I agree DuplicateFiles does look nice but I don't know how to use it. > Does anyone know how I could implement this idea? > > > > 2008

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

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

2008-08-27 Thread Chad Miles
Not Installed Not Installed All told, your property is incorrect... and your sequencing on your 2nd CA call should be scheduled right after you do the Set CA call. I don't have Orca in front of me to check, but that's the safest way. Chad On Wed, Aug 27, 2008 at 12:13

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 th

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 Id="WixUI_custom" /> > > Is it supposed to be somewher

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: > > > Guid=

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. > > Property ="ComboProp"> > > > > > > > Values need to be get populated based on the code that is written C# Custom > Action method. > > How c

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] 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] 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 '' ---> ' structure elementpath="//appSettings/[EMAIL PROTECTED]'somekey'[\]]" Just toss in the value you want in

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