[WiX-users] FYI: Microsoft hotfix for vc90 major upgrade bug

2009-10-30 Thread Dana Gutride
Hi all: I recently opened a support incident with Microsoft regarding major upgrades of packages containing the vc90 runtime merge modules. Links here: http://support.microsoft.com/?kbid=905238 and here: http://blog.deploymentengineering.com/2008/05/more-problems-with-ms-vc-8-sp1-merge.htmland he

Re: [WiX-users] Granting user access to database

2008-10-07 Thread Dana Gutride
For integrated auth, use a sqlstring element containing the following where USERNAME is the domain\username: exec sp_addrolemember N'db_owner', N'[USERNAME]' Dana On Tue, Oct 7, 2008 at 6:34 AM, Eitan Behar <[EMAIL PROTECTED]> wrote: > Short question, and waiting for (hopefully) a short answe

Re: [WiX-users] SQL scripts and Upgrades

2008-09-25 Thread Dana Gutride
a Major Upgrade? > > Michael > > ____ > > From: Dana Gutride [mailto:[EMAIL PROTECTED] > Sent: Fri 26/09/2008 12:12 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] SQL scripts and Upgrades > > > >

Re: [WiX-users] SQL scripts and Upgrades

2008-09-25 Thread Dana Gutride
We just use a simple version number stored in a table in the db. We read it on upgrade using a custom action scheduled before CostInitialize and then only components which are greater than that version number are installed based on a component condition like what's below. AND --3 is the version

Re: [WiX-users] SqlDatabase with multiple data files?

2008-09-16 Thread Dana Gutride
It's pretty easy to do in WiX though. You just have to write a sqlstring element that creates the filegroups for you. Use WiX to create your database, then add the following to a SqlString element. One thing to note is you do need a fully qualified filename so you'll need to make sure you resolv

Re: [WiX-users] Passing Parameters to a SQL file

2008-08-21 Thread Dana Gutride
How many parameters are you talking about? If it's just a few, why don't you use a sqlstring action to put them in some temporary table in your db, read them out with your scripts and get them that way. SqlScripts are not designed for passing in parameters and they most likely don't have access t

Re: [WiX-users] SqlScript Connection Question

2008-08-15 Thread Dana Gutride
> > > > > -Original Message- > From: [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] On Behalf Of Dana Gutride > Sent: Friday, August 15, 2008 06:58 > To: Windows Installer XML toolset developer mailing list; General > discussion for Windows Installer XML toolset.

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

Re: [WiX-users] RegistrySearch on a REG_MULTI_SZ

2008-07-31 Thread Dana Gutride
properties or is there some other sort of > CA that I can use? > > Thank you for responding > > -Original Message- > From: [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] On Behalf Of Dana Gutride > Sent: Thursday, July 31, 2008 11:52 AM > To: General discussion for

Re: [WiX-users] RegistrySearch on a REG_MULTI_SZ

2008-07-31 Thread Dana Gutride
Looks like retrieving a reg_multi_sz using the RegLocator table during AppSearch is not a great way of doing this. Plenty of places on the web document this oddity. I think you might just want to use a custom action instead of a registry search to retrieve this value and write it to a property.

Re: [WiX-users] Missing reference ConfigureSql ?

2008-07-30 Thread Dana Gutride
Can you search all of your wxs files for configuresql and see if you are referencing it somewhere? Maybe in a before or after tag? Also, have you replaced the wixlibs with the new ones from the latest WiX 2.0 build? Dana On Tue, Jul 29, 2008 at 1:08 PM, Gregory Swanson <[EMAIL PROTECTED]>wrote:

Re: [WiX-users] Missing reference ConfigureSql ?

2008-07-28 Thread Dana Gutride
What is the command line you are building with? Sounds like you need sca.wixlib passed as an arg to light.exe (or maybe it's wixca.wixlib). Dana On Mon, Jul 28, 2008 at 2:28 PM, Gregory Swanson <[EMAIL PROTECTED]>wrote: > Our upgrade test for WIX version 2.0.5805.0 failed with a missing > refer

Re: [WiX-users] [WiX-devs] Fwd: ConfigureUsers Custom Action scheduling

2008-07-22 Thread Dana Gutride
> > I think what we can do in this case, is present a message to the user on > uninstall and ask them if they want to retry/cancel/ignore the failure. The > user will be left behind but uninstall will still work. > > > > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTEC

[WiX-users] ConfigureUsers Custom Action scheduling

2008-07-21 Thread Dana Gutride
Hi all: We've encountered a problem where ConfigureUsers causes an uninstall to fail if a domain user is used on install and they are not logged in to the domain on uninstall. I found this bug on the issue already: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1894167&group_id=1059

Re: [WiX-users] External DLL Custom Action

2008-06-16 Thread Dana Gutride
The first thing you might want to check is it linked statically or dynamically to the VC80 runtime libraries. Changing to Visual Studio 2005 most likely introduced a dependency for you because of the C runtime changes. If you don't want to link statically to the CRT, you could also use a bootstra

Re: [WiX-users] wix mailing lists open to public => more spam

2008-04-22 Thread Dana Gutride
I vote to lock non-members out. I would have normally replied to [EMAIL PROTECTED] of the specific individual anyhow because of many, many reminders not to respond to individual people so that we can all benefit from the conversation. I stopped reading and responding to e-mails on this thread (wi

Re: [WiX-users] IIS web site dialog

2008-03-12 Thread Dana Gutride
Do you want this to work on Windows 2008 as well? If so, you are going to have trouble connecting to IIS for the site list in the UI sequence of your msi and the direction you are attempting to go in right now will probably not work. Dana On Wed, Mar 12, 2008 at 8:26 AM, Sneha Gharpure < [EMAIL

Re: [WiX-users] C# Managed Custom Actions in WiX 3.0

2008-02-21 Thread Dana Gutride
The best practice is not to use C# managed custom actions at all. If you search an archive of this list here: http://www.nabble.com/wix-users-f4470.html, you'll see plenty of reasons why this is stated. This is not a limitation of WiX, but rather a requirement imposed upon all of us by using Wind

Re: [WiX-users] Service is not started in vista

2008-02-13 Thread Dana Gutride
tallation. > > With Custom action type "Deffered", custom action is failing while > installation. > With custom action type "Commit", installation is sucsseful, but service > is not started. > SOme times when I try manually, it is starting, some times not. &

Re: [WiX-users] SQL Custom Action bug

2008-01-14 Thread Dana Gutride
I already submitted all of the code to fix this bug months ago on this e-mail list and in the comments of this bug. I haven't heard anything back (the bug is still open), so I don't know if they incorporated it or not. Because the change wasn't incorporated in WiX 2.0, I'm forced to use a custom b

[WiX-users] IIS 7.0 Custom Actions

2008-01-09 Thread Dana Gutride
Has anybody attempted any custom actions or have any info for installing a site on IIS 7.0 w/out legacy support? I realize that WiX doesn't natively support it yet, but it's very hard finding anything beyond the api documentation on the web for info on how to do this within an MSI. Thanks, Dana -

Re: [WiX-users] Sql with Wix

2007-12-12 Thread Dana Gutride
You can embed the sql right in your wxs file using sqlstring instead of sqlscript. That will allow you to include properties in the sql statements. Dana On Dec 7, 2007 10:52 AM, Kevin Idzi <[EMAIL PROTECTED]> wrote: > Hello, I have a WiX Question. I've started using it for all of my > installs

Re: [WiX-users] WiX Localization - One Installer to support multiple Languages

2007-10-30 Thread Dana Gutride
The recommended way to do this is to create language transforms and then call the msi from a setup.exe bootstrapper which will pass the correct transform name along as a command line parameter. You'd have to add a dialog in the bootstrapper to choose the language or include the logic to determine

Re: [WiX-users] Custom Actions.

2007-10-19 Thread Dana Gutride
t; anyway, if the command I'm using is correct to parse the information then > I will try and look elsewhere for the issue, it's just this does work on the > old (installshield) installer using an MSI. > > Jason. > > On 10/19/07, Dana Gutride <[EMAIL PROTECTED]> wrot

Re: [WiX-users] Custom Actions.

2007-10-19 Thread Dana Gutride
What does the msi log say is happening here? That is usually the best way to troubleshoot custom action errors. The other trick I'll use is pop up a message box from my custom action code and then attach to it with the debugger. As a rule, any custom actions that modify the target system should

[WiX-users] Longhorn IIS failure (with iis 6 compatability turned on) during install

2007-10-18 Thread Dana Gutride
When I install on Longhorn, I receive an error message (Failed to read IIsWebs table (-2147024891 ) and the install stops. I've run this same MSI on Vista with no problems. Has anybody had any success using the IIS custom actions within WiX 2.0 on Longhorn? I do realize Windows Server 2008

Re: [WiX-users] Please remove my email id

2007-10-09 Thread Dana Gutride
You can unsubscribe yourself here: https://lists.sourceforge.net/lists/listinfo/wix-users On 10/9/07, Rajashree Varma (Volt) <[EMAIL PROTECTED]> wrote: > > Please delist me ASAP. > > > > Thanks > > > > - > This SF.net email i

Re: [WiX-users] msi error 2867 (its urgent plz help)

2007-10-09 Thread Dana Gutride
Seems like there is a problem in drawing the dialog. What are you attempting to do with the combo box on that page? Is there a custom action that is populating it? If not, can you send the relevant snippet of the wxs file that describes that dialog? Dana On 10/9/07, shambhu kumar <[EMAIL PROTE

Re: [WiX-users] Explanation for why you can't have both a 32-bit and 64-bit installer

2007-10-02 Thread Dana Gutride
The MSDN Windows Installer documentation should be sufficient to explain this limitation. I'd start here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/windows_installer_on_64_bit_operating_systems.asp http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ms

Re: [WiX-users] ConfigureSQL Leaked MSIHANDLE

2007-08-22 Thread Dana Gutride
. If it does the scaexec.cpp needs to be fixed. > > Rene > > > -- > *From:* Dana Gutride [mailto:[EMAIL PROTECTED] > *Sent:* Wed 8/22/2007 19:33 > *To:* Schrieken, Rene > *Subject:* Re: [WiX-users] ConfigureSQL Leaked MSIHANDLE > > We are

Re: [WiX-users] ConfigureSQL Leaked MSIHANDLE

2007-08-22 Thread Dana Gutride
Before: else if (L'\0' == szSource[cchSource]) // if the source already had a null terminator, don't count that in the character count because we track it below After: else if (L'\0' == szSource[cchSource-1]) // if the source already had a null terminator,

Re: [WiX-users] ConfigureSQL Leaked MSIHANDLE

2007-08-22 Thread Dana Gutride
Hi all: We are using the latest 2.0 build of wix and are now seeing this bug 80-90% of the time during installs. Has anybody made any progress in nailing down these leaked MSI Handles in the sql custom actions? Thanks, Dana

Re: [WiX-users] WIX SqlScript tag

2007-07-25 Thread Dana Gutride
We do this using public properties and the SqlString element instead. You end up embedding the actual sql directly in the MSI, but you can reference the properties directly. An example follows: Dana On 7/25/07, Arnold Layne <[EMAIL PROTECTED]> wrote: Hi all, How do I pass paramteres to my

Re: [WiX-users] Password in the msi logs

2007-06-06 Thread Dana Gutride
You can set this in WiX by setting Hidden="yes" in the Property Element. Dana On 6/6/07, Aaron Shurts <[EMAIL PROTECTED]> wrote: Add the property name to MsiHiddenProperties property. This is a semi-colon delimited list of properties whose values you do not want written to the log. http://ms

Re: [WiX-users] Problem: Database not created

2007-04-11 Thread Dana Gutride
Are you getting an error? Also, what does the msi log report about the database creation? You might want to set ContinueOnError to no and then see what happens. Dana On 4/11/07, Moni Chow <[EMAIL PROTECTED]> wrote: Can anybody figure out why database is not created using the codes below (w

Re: [WiX-users] wix, C# installer class, uninstall

2007-03-23 Thread Dana Gutride
inters to related documentation. My current install sequence is as follows : 1 $MainDLL>2 $MainDLL>2 $MainDLL>2 $MainDLL>2 $HelperLibrary>2 $HelperLibrary>2 $MainDLL>2 $MainDLL>2 $Mai

Re: [WiX-users] wix, C# installer class, uninstall

2007-03-22 Thread Dana Gutride
It might be a good idea to schedule this based on the state of the component or feature. That way you can tie the custom action's execution to whether or not the specific component is being installed/uninstalled based on that state. $TheComponent=2 (component is being uninstalled) $TheComponent>

Re: [WiX-users] Creating SqlDatabase with/without Windows Authentification

2007-03-13 Thread Dana Gutride
This is not possible within the sql database tag right now. There is a bug/feature request in for this exact functionality, but as far as I can tell, it hasn't been added yet. The only way to do this is to have two sqldatabase tags in separate components and then add conditions for the component

Re: [WiX-users] SqlDatabase element logging the sa password

2007-02-28 Thread Dana Gutride
I believe there is a Hidden attribute that you can add to the property tag which will prevent it from being logged during install. Dana On 2/28/07, Abhishek Agarwal (RFID) <[EMAIL PROTECTED]> wrote: Hi, I am using the SqlDatabase in-built Wix custom action to create our configuration datab

Re: [WiX-users] msi Log when called from setup.exe

2007-02-26 Thread Dana Gutride
Msi logging can also be enabled via the registry. The log will be created in your %temp% folder (just type that in your windows explorer address bar and you'll be taken to the correct location). In order to enable logging, copy the following into a file with a .reg extension and then double clic

Re: [WiX-users] x86 and x64 in same wxs / msi ?

2007-02-07 Thread Dana Gutride
for 64bit and one for 32bit? Would that solve the problem without having to use conditions in components? It feels like most folks are ignoring Itanium ;-) *From:* Bob Arnson [mailto:[EMAIL PROTECTED] *Sent:* Tuesday, February 06, 2007 10:57 PM *To:* Robert Randall *Cc:* 

Re: [WiX-users] x86 and x64 in same wxs / msi ?

2007-02-06 Thread Dana Gutride
Are you installing only 32-bit dll's? Do you have any problems with file and registry redirection to the 32-bit locations on a 64-bit os? If your program isn't affected by that, than you can use one package for both. I just wanted to mention that because just conditioning the components isn't t

Re: [WiX-users] Install Sequence

2007-02-05 Thread Dana Gutride
cutable. I've tried c++ and VB scripts but they won't work properly for what I need. ------ *From:* Dana Gutride [mailto:[EMAIL PROTECTED] *Sent:* Monday, February 05, 2007 3:43 PM *To:* Ian Couper; wix-users@lists.sourceforge.net *Subject:* Re: [WiX-users] Install

Re: [WiX-users] Install Sequence

2007-02-05 Thread Dana Gutride
Is it an executable or did you manage to successfully call into a C# dll from the msi? Dana On 2/5/07, Ian Couper <[EMAIL PROTECTED]> wrote: The custom action is actually running a custom build C# application… -- *From:* Dana Gutride [mailto:[EMAIL PRO

Re: [WiX-users] Install Sequence

2007-02-05 Thread Dana Gutride
If it's a c++ custom action, return ERROR_INSTALL_FAILURE instead of ERROR_SUCCESS. If it's a script-based action, returning 3 instead of 0 will have the same result. In your WiX files, make sure you have set the custom action to check it's return code instead of ignoring it. Take a look at thi

Re: [WiX-users] Install Sequence

2007-02-05 Thread Dana Gutride
At that point during the install, any file searches have already completed. You'd have to write a second custom action to search for the file, schedule it to run after the first one and then return an error triggering rollback if it finds it. Wouldn't it be easier to just have the first custom ac

Re: [WiX-users] Nested IIS:WebVirtualDir?

2006-12-22 Thread Dana Gutride
If I'm understanding your question correctly, you can put one virtual directory inside of another. The WiX documentation states that a valid child for a webvirtualdir is another webvirtualdir. You might want to try nesting the second one inside of the first and removing the inner virtual directo

Re: [WiX-users] logging of RemoveExistingProducts

2006-12-11 Thread Dana Gutride
Andre: When the already installed version was created, were those uninstall custom actions included in it? The installed MSI is called to handle the uninstall sequence, any changes you make to your uninstall sequence will only affect the new installers you create. As far as your logging questio

Re: [WiX-users] ConfigureSQL Bug

2006-11-29 Thread Dana Gutride
n Behalf Of *Dana Gutride *Sent:* Wednesday, November 29, 2006 05:40 *To:* wix-users@lists.sourceforge.net *Subject:* Re: [WiX-users] ConfigureSQL Bug I have also noticed this bug. Oddly enough it is happening during an upgrade only. During our initial install when we create the database, t

Re: [WiX-users] ConfigureSQL Bug

2006-11-29 Thread Dana Gutride
I have also noticed this bug. Oddly enough it is happening during an upgrade only. During our initial install when we create the database, this doesn't happen. During the upgrade, the user can select the database to upgrade, 10-15 SqlScripts are all run against it and I see the same error. It i

Re: [WiX-users] WebDir element - no longer can contain webapplication?

2006-11-28 Thread Dana Gutride
n on a web directory is not really supported. David knows far more about IIS than I do (being on the IIS team and all) so I took that as gospel. *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Dana Gutride *Sent:* Tuesday, November 28, 2006 07:29 *To:* wix-users@lists.sourcefor

[WiX-users] WebDir element - no longer can contain webapplication?

2006-11-28 Thread Dana Gutride
We recently encountered this problem as well. There is an old message (here: http://www.nabble.com/WebDir-element---no-longer-can-contain-webapplication-tf851560.html#a2280481) about it. From the IIS MMC, you can make any directory a web application. In the metabsae, it creates any IISConfigObje

Re: [WiX-users] How to specify a envirorment variable dir

2006-11-27 Thread Dana Gutride
lic) but it wasn't listed at all. *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Dana Gutride *Sent:* Monday, November 27, 2006 1:16 PM *To:* wix-users@lists.sourceforge.net *Subject:* Re: [WiX-users] How to specify a envirorment variable dir My other idea: try a verbose

Re: [WiX-users] How to specify a envirorment variable dir

2006-11-27 Thread Dana Gutride
Take a look at this link too: http://msdn2.microsoft.com/en-us/library/aa370810.aspx On 11/27/06, Dana Gutride <[EMAIL PROTECTED]> wrote: My other idea: try a verbose install on vista (my vista vm isn't running right now, or I'd try it for you). Take a look at the properti

Re: [WiX-users] How to specify a envirorment variable dir

2006-11-27 Thread Dana Gutride
at all users inherit . Since it's not a "named" folder is there another way to expand the variable? *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Dana Gutride *Sent:* Monday, November 27, 2006 12:03 PM *To:* wix-users@lists.sourceforge.net *Subject:* Re: [W

Re: [WiX-users] How to specify a envirorment variable dir

2006-11-27 Thread Dana Gutride
Jeff: If it's in the following list, you can use it relatively easily. http://msdn2.microsoft.com/en-gb/library/aa372057.aspx The directory structure would look something like what is below (just the beginning, you should be able to fill in the rest. --- this is the important par

Re: [WiX-users] No text on the Add/Remove UI

2006-11-16 Thread Dana Gutride
This is happening because you do not have the correct text in your error table. I realize it's counterintuitive, but you need to copy in the error text tags from the wix dialogs and you'll notice the uninstall text showing up. Dana On 11/16/06, Qu, Li <[EMAIL PROTECTED]> wrote: Hi, I have

Re: [WiX-users] [WiX-devs] Managed Code Custom Action & Reading Xml File

2006-11-14 Thread Dana Gutride
erty. > I don't have any problems accessing property values either - I can access> the properties I need. I just can't touch any files.>> Maybe I can try it a different way - by including the xml file as a binary > inclusion and opening that? Then it is technically not an

Re: [WiX-users] Merge Modules Read Main Install Property

2006-11-07 Thread Dana Gutride
Tina:Take a look at the IgnoreModularization tag.  You define it in the merge module wxs file.()Dana On 11/7/06, Tina Basinger <[EMAIL PROTECTED]> wrote: I have a case where my merge modules need to tell if they are running in an upgrade, or a fresh install.  I have a property that is getting set i

Re: [WiX-users] How to check if ASP.NET is enabled?

2006-11-02 Thread Dana Gutride
Oops, you are right.  The script I copied it from doesn't have a space there, so it must be the dreaded e-mail goofiness.  Good catch.DanaOn 11/2/06, Rob MacFadyen <[EMAIL PROTECTED]> wrote: Dana,   Btw... there may be a bug in your code (could be email goofiness too):   if aCurrent(0) = 0

Re: [WiX-users] How to check if ASP.NET is enabled?

2006-11-01 Thread Dana Gutride
You can write a custom action that checks the metabase for that.  I'll attach a snippet of vbs that you convert to c++ if you'd like.  One thing to keep in mind, I'm pretty sure this property doesn't exist on Windows 2000 or XP (IIS 6 only), so I'd be careful in scheduling the custom action. DanaSe

Re: [WiX-users] Best Practices - Creating Databases

2006-10-20 Thread Dana Gutride
Ok, I'll take a stab.  I don't know what the best practice is, but I can tell you what we are doing.  We have a large database with many, many tables and even more stored procedures.  We use one sql file to create the tables (that file is under 100K) and break the stored procedures up into multiple

Re: [WiX-users] Conditional Folder Permission

2006-09-26 Thread Dana Gutride
ended permission elements, the permissions specified are not set at all. Thanks,DanaOn 9/26/06, Bob Arnson <[EMAIL PROTECTED]> wrote: Dana Gutride wrote:> I've encountered a similar problem, it seems the permission element> doesn't take into account the condition of the compon

Re: [WiX-users] Conditional Folder Permission

2006-09-26 Thread Dana Gutride
I've encountered a similar problem, it seems the permission element doesn't take into account the condition of the component it's within.  This also seems to occur both with the generic MSI way of doing this and the extended WiX secureobj custom actions. DanaOn 9/26/06, gcoates <[EMAIL PROTECTED]>

Re: [WiX-users] Component Specific Custom Action

2006-09-26 Thread Dana Gutride
Doug:If you are sequencing based on a feature, your example is nearly correct.  You can also do this based on a specific component, but the syntax is slightly different.  The ampersand is for feature actions, dollar sign is for conditioning based on component actions. http://msdn.microsoft.com/libr

Re: [WiX-users] Reporting Services CA

2006-09-22 Thread Dana Gutride
I think we might be interested in seeing some functionality like that as well.DanaOn 9/22/06, Ryan O'Neill < [EMAIL PROTECTED]> wrote:Definitely! Make my life a LOT easier. Cullen Waters wrote:>> Is there any demand for a built-in Wix custom action to> install/upgrade/repair /remove Sql Reporting S

Re: [WiX-users] Binding of Properties to Dialog Controls

2006-09-22 Thread Dana Gutride
Doug:In the following control, all you need to do is set an initial value for USERNAME ( Whatever ) and it will show in the dialog when the dialog is first displayed.  When the user types something different, after they click next or back on the dialog, the new property value is saved. Dana   

Re: [WiX-users] Sequencing issue with a major upgrade

2006-09-15 Thread Dana Gutride
] [mailto:[EMAIL PROTECTED]] On Behalf Of Dana Gutride Sent: 14 September 2006 15:52 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Sequencing issue with a major upgrade   Simon: It seems that you may have put the condition inside of the wrong element.  That condition should go in the

Re: [WiX-users] Non Default - WebSite Configuration

2006-09-14 Thread Dana Gutride
Jose:The revered tutorial here: http://www.tramontana.co.hu/wix/lesson6.php#6.3 explains that if you want to install to an existing website, that website information should reside out of the component tag.  Otherwise, the MSI thinks that it created the website and upon uninstall it will drop it. 

Re: [WiX-users] Sequencing issue with a major upgrade

2006-09-14 Thread Dana Gutride
EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Dana Gutride Sent: 13 September 2006 21:48 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Sequencing issue with a major upgrade   Simon: Try something like this:   The UPGRADINGPRODUCTCODE property is set during the u

Re: [WiX-users] Sequencing issue with a major upgrade

2006-09-13 Thread Dana Gutride
Simon:Try something like this: The UPGRADINGPRODUCTCODE property is set during the upgrade and available during the previous product removal. DanaOn 9/13/06, Simon Burgess <[EMAIL PROTECTED]> wrote: Hi   Does anyone know how I can sequence a custom action so that it is run during an

Re: [WiX-users] Adding an existing domain to a local group.

2006-09-12 Thread Dana Gutride
Darren:There is an UpdateIfExists element under User that is supposed to update user account properties if the user already exists.  I'd try putting the user/groupref  inside a component, keeping the group outside of the components/directory structure and see if that takes care of it. DanaOn 9/12/0

Re: [WiX-users] Answer Remove File - Dana Gutride

2006-09-12 Thread Dana Gutride
Well that's a different question altogether.  The following will create an empty directory.              DanaOn 9/12/06, Petrut Andrei <[EMAIL PROTECTED]> wrote: Hi, Dana. The point is that I want that directoryempty when I install the files. But I can't create anempty di

Re: [WiX-users] Remove File

2006-09-12 Thread Dana Gutride
Looking at your source below, what is the point of putting down a pdf if you are just going to delete it immediately?  Do you want the user to view it and then have it deleted?Dana On 9/12/06, Petrut Andrei <[EMAIL PROTECTED]> wrote: I have this code from below:   Guid='4b0372ea-4aa4-46

Re: [WiX-users] Permissions for Groups

2006-09-08 Thread Dana Gutride
cess to created during your install or does it have a> well known sid so you can use the lock permissions table in the MSI?>> Dana>> On 9/8/06, *roxana* < [EMAIL PROTECTED]> [EMAIL PROTECTED]>> wrote:>> Dana Gutride a écrit : > > Roxana:>

Re: [WiX-users] Permissions for Groups

2006-09-08 Thread Dana Gutride
re created as part of the install."  Is the user you need to give access to created during your install or does it have a well known sid so you can use the lock permissions table in the MSI?Dana On 9/8/06, roxana <[EMAIL PROTECTED]> wrote: Dana Gutride a écrit :> Roxana:>> Th

Re: [WiX-users] Need help with checkboxes

2006-09-07 Thread Dana Gutride
Anton:Instead of using StartServer = "0"  try NOT StartServer for the condition that disables the second checkbox.  It is a little counterintuitive, but if you take a look at the MSI log, you should see that unchecking a checkbox doesn't set the value of the property to "0", it deletes it altogethe

Re: [WiX-users] Elevating custom action on Vista

2006-09-06 Thread Dana Gutride
e registry. DanaOn 9/6/06, Bob Arnson <[EMAIL PROTECTED]> wrote: Dana Gutride wrote:> I'm using a custom action to detect the presence of an installed SSL> Cert in IIS and  also to retrieve the port number of the default web site.How? Don't you have read-only access to

Re: [WiX-users] Elevating custom action on Vista

2006-09-06 Thread Dana Gutride
I'm using a custom action to detect the presence of an installed SSL Cert in IIS and  also to retrieve the port number of the default web site.DanaOn 9/6/06, Bob Arnson <[EMAIL PROTECTED]> wrote:Dana Gutride wrote: > Is it possible to elevate a custom action that is called during the UI> sequence

[WiX-users] Elevating custom action on Vista

2006-09-05 Thread Dana Gutride
Is it possible to elevate a custom action that is called during the UI sequence in Vista?  During my install, I'm doing prerequisite checks during the UI sequence, a couple of them require administrative privileges to complete.  I'm seeing some mixed information online about this.  This link ( http

Re: [WiX-users] Combobox with SQL scripts

2006-09-05 Thread Dana Gutride
Petrut:You should probably put the three sql scripts in three different components and then add a condition to each component based on the property set by the combobox.Dana On 9/3/06, Petrut Andrei <[EMAIL PROTECTED]> wrote:   Hi. I have a combobox where the user has to choose alanguage. After he c

Re: [WiX-users] ComboBox and CheckBox

2006-09-02 Thread Dana Gutride
Try setting the property of the control is set to the value that you want to appear in the control ().  For the checkbox, set the value of the property "Accept" to 1. DanaOn 9/2/06, Petrut Andrei <[EMAIL PROTECTED]> wrote: Hi. Tell me please what can I do to set one of thevalues of the combobox by

Re: [WiX-users] Launching program after installation completes gives occassional error. (Roy Abou Assaly)

2006-09-01 Thread Dana Gutride
Roy:I'm not sure what is going on here, but if the MSI dialog is reappearing after the product is installed, it seems that things are not installing the way you expect.  Windows Installer might even be restarting to *fix* that component because the file is not on the disk.  The section of the log f

Re: [WiX-users] SQL tables

2006-08-23 Thread Dana Gutride
If you take the sql script and run it in the management studio, are you able to edit the table then?  Sometimes it helps to take the msi out of the loop for debugging those sql actions.Dana On 8/23/06, Petrut Andrei <[EMAIL PROTECTED]> wrote: Hi. It's me again. I have another question: I createa t

[WiX-users] Permissions and SecureObj Custom Action

2006-08-22 Thread Dana Gutride
I want to set the ACL on a directory based on whether IIS is installed (IISVERSION is the result of a registry search).  The code below works fine if I eliminate the first component (DataCompIIS5).  As soon as both components are there, the folder is created correctly, but the user is not added.  T

[WiX-users] Timeline for WiX 3.0 or How long before it is stable?

2006-08-21 Thread Dana Gutride
I've been eagerly watching the developments on WiX 3.0 and noticed recently that the emphasis in some of the posts has been on preparing to make this a stable release.  Our next product release is slated for early 2007 and I would like to transition to WiX 3.0.  Is it too soon to begin the transit

Re: [WiX-users] Silent install messing up my custom action

2006-08-16 Thread Dana Gutride
Don:Is your custom action sequenced between both the and the tags?  If it's not in the InstallExecuteSequence table, it will not run on a silent install. DanaOn 8/15/06, Don Tasanasanta <[EMAIL PROTECTED]> wrote: I have a custom action that changes the location of the installation di

Re: [WiX-users] Uninstalling does nothing

2006-08-15 Thread Dana Gutride
just copy paste before but here are the actual lines="[BW]" Height ="[BH]" Default ="no" Text ="[REMOVE]">11 Dana Gutride wrote:>> Your code below seems to have lost a few characters that are necessary, is> there really a

Re: [WiX-users] Uninstalling does nothing

2006-08-15 Thread Dana Gutride
<[EMAIL PROTECTED] > wrote:>>>>>> Add/Remove programs does remove the application.  But Uninstalling >> doen't.>> The Log says ExecuteAction and Action are both = INSTALL, when I am>> trying>> to uninstall, but when I changed those it broke and ende

Re: [WiX-users] Uninstalling does nothing

2006-08-15 Thread Dana Gutride
dition only to run if the program is installed>> already.  I was using orca to look at the what is created with>> WixUI_Mondo>> to see if there were anything I should try and I say a >> "Remove" Value = "ALL"> type setup but that didn't seem to lead

Re: [WiX-users] Uninstalling does nothing

2006-08-15 Thread Dana Gutride
What does the msi log say is happening when you try to uninstall?  Also, what happens if you use add/remove programs to remove your program?DanaOn 8/14/06, Magus <[EMAIL PROTECTED]> wrote: My app was installed by the MSI.  I am not using the WixUI_xxx or any ofthose standard UI's I created my own.

Re: [WiX-users] Uninstalling does nothing

2006-08-14 Thread Dana Gutride
If your app wasn't installed by an MSI before hand, you'll need a custom action to handle this for you.  You will also need a way of conditioning the custom action to run only when your app is found.  Searching for a registry key might be something to look into.  If you had previously installed wit

Re: [WiX-users] WiX and web applications

2006-07-29 Thread Dana Gutride
David:Check out tallow (it's packaged along with WiX 2.0), it works wonders.  You can process directories, .reg files, com components.  If you are using v3.0, heat is probably the tool you are looking for. DanaOn 7/27/06, David Keaveny < [EMAIL PROTECTED] > wrote: Is there an equivalen

Re: [WiX-users] Controls with Conditions

2006-07-29 Thread Dana Gutride
Michael:From what I've seen, the value of the Property doesn't update until the control loses focus.  If you have other textboxes on that dialog, you could try putting those after the database textbox so the user has to tab to those first.  Otherwise, you could use a maskededit control (see below f

Re: [WiX-users] Retrieve hostname during an installation.

2006-07-17 Thread Dana Gutride
Why don't you just use the ComputerName property?DanaOn 7/17/06, Darren Kulp <[EMAIL PROTECTED]> wrote: Perhaps you could do a RegistrySearch on HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName ?   Wix-users, please correct me if there is a built-i

Re: [WiX-users] Set Property value based on a feature selection

2006-07-13 Thread Dana Gutride
Daniel:Check out the link below on msdn about syntax for conditional statements.  For a quick example, the following is telling you that the WebFeature is being installed.  The idea is you look at the current state of the feature and the action requested.  The example below shows the state currentl

Re: [WiX-users] WebSites in ComboBox dynamically

2006-07-11 Thread Dana Gutride
It takes a few tries to get populating the combobox right.  I'd start by adding a few basic message boxes to make sure you are getting the correct data from IIS, make sure that no errors are being thrown and also make sure that the ca is actually being called in your UI sequence.  Combobox errors c

[WiX-users] Submitting enhancements/bug fixes

2006-07-07 Thread Dana Gutride
I was reading a thread today that was discussing this very question.  I too, would be more than willing to submit enhancements/bug fixes.  One question I had, though, was what if I adjust the code in such a way that it wouldn't really be helpful to other users.  Maybe I've limited some functionalit

Re: [WiX-users] conditional disabling ConfigureIIS custom action?

2006-07-06 Thread Dana Gutride
I just added this into the sca.wxs file myself.  In case anybody else wants to know how I did this, the code follows: WebComponents is the name of my feature and I'm making sure this custom action is scheduled when it's being installed or being uninstalled (you can read more about the ! and & here:

Re: [WiX-users] Configuring virtual directory ASP.NET version

2006-06-29 Thread Dana Gutride
WiX has built-in functionality to handle this.  You might want to look at the link below to see how to do this without calling an external executable.  The RootVer registry key is invaluable for determining if ASP.NET has been correctly registered with IIS.  For instance, if the user installs .NET

  1   2   >