Re: [WiX-users] Do i need to pass property values both at install time and Uninstalltime.

2008-09-23 Thread Robert O'Brien
. . . . . . -Original Message- From: Chandra Vuppala [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2008 9:44 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Do i need to pass property values both at install time and Uni

Re: [WiX-users] Tool to upgrade Wix2.0 source code to Wix3.0

2008-09-23 Thread Neil Sleightholm
Take a look at wixcop in the binary distribution. Neil -Original Message- From: Nakul Garg [mailto:[EMAIL PROTECTED] Sent: 24 September 2008 00:40 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Tool to upgrade Wix2.0 source code to Wix3.0 Hello, I am looking for a tool that u

Re: [WiX-users] Questions about using MFC Merge Module

2008-09-23 Thread Tan, Tom (Shanghai)
Message: 6 Date: Tue, 23 Sep 2008 11:32:11 -0400 From: Travis Burkitt <[EMAIL PROTECTED]> Subject: [WiX-users] Questions about using MFC Merge Module My main questions are: >- Why do I have an MFC merge module that is picking up the middle >version of the 3 that are installed? (FYI the VC modu

Re: [WiX-users] Do i need to pass property values both at install time and Uninstalltime.

2008-09-23 Thread Chandra Vuppala
thanks Sandeep, Can u give code for storing property value in registry and getting it. Thanks & Regards, Chandrashekar vuppala M-9908298419 From: Sandeep Gautam (HCL Technologies Ltd) [mailto:[EMAIL PROTECTED] Sent: Wed 24/09/2008 9:22 AM To: General discussio

Re: [WiX-users] Do i need to pass property values both at install time and Uninstalltime.

2008-09-23 Thread Sandeep Gautam (HCL Technologies Ltd)
Yes, you need to pass the value at both time. So keep your values stored in registry for any future reference if required. Regards Sandeep -Original Message- From: Chandra Vuppala [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2008 8:20 PM To: General discussion for Windows Insta

[WiX-users] Do i need to pass property values both at install time and Uninstalltime.

2008-09-23 Thread Chandra Vuppala
Hi, I have 2 servers in which one is database server and other is Application server. while Installing the MSI on Application server i have to pass Database server name. i am using Properties for that, it works fine, but while uninstalling if i dont pass Propety value it is taking default v

Re: [WiX-users] How to Keep the Property value along with MSI

2008-09-23 Thread Robert O'Brien
Here is what I use to save off the databasehost name provided at install time so it will be set automatically to the correct value during uninstall processing. For $(var.SoftwareKey) assignment I have the following in place.

Re: [WiX-users] Creating Registry Out of Wow6432Node nocde on 64 bit machine

2008-09-23 Thread Nakul Garg
I believe you need to create a 64-bit MSI for this. The 64-bit components would need to have the Win64 attribute set to "yes". Here is a snip from WIX help file... Win64 YesNoType Set this attribute to 'yes' to mark this as a 64-bit component. This attribute facilitates the installation of p

[WiX-users] Creating Registry Out of Wow6432Node nocde on 64 bit machine

2008-09-23 Thread Sandeep Gautam (HCL Technologies Ltd)
Hi, I am trying to create a registry key on 64 bit (Win2K8 Server) machine at HKLM\SOFTWARE\Microsoft\XXX through installer. But While Running the MSI on 64 bit machine , it is going into SOFTWARE\Wow6432Node\Microsoft\XXX. I am running through Admin privilege. Please find the code snippet .

[WiX-users] DTF Dependency Detection

2008-09-23 Thread Jacek Dudziak
I have a bunch of managed custom actions that rely on multiple DLLs. For example CustomAction.dll is loading A.dll, A.dll is loading B.dll and B.dll is loading C.dll. CustomAction.dll is registered as binary in the MSI, but other dlls are registered as files. Some of those DLLs are also regist

[WiX-users] Tool to upgrade Wix2.0 source code to Wix3.0

2008-09-23 Thread Nakul Garg
Hello, I am looking for a tool that upgrades Wix2.0 source code to Wix3.0. Is there something like this available? Thanks, Nakul - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the cooles

Re: [WiX-users] how does one get XmlFile to insert literal translations of < and > entity settings when setting values?

2008-09-23 Thread Rob Mensching
You need to create a new element. Or you can switch to XmlConfig and insert a document fragment. -Original Message- From: Robert O'Brien [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2008 13:14 To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] how

Re: [WiX-users] How to Keep the Property value along with MSI

2008-09-23 Thread Brian Rogers
Hey Sandeep, I imagine that you could have a registry entry that sets the value of the property and you could have registry locator that reads that value. Check your state and when doing an uninstall use that registry locator value? Thanks, -- Brian Rogers "Intelligence removes complexity." - M

[WiX-users] MSI Issue

2008-09-23 Thread Sandeep Gautam (HCL Technologies Ltd)
Hi, I am building one MSI on 32 bit and I am running on 64 bit Win2k8 server, It is throwing below mentioned error. Error 1402. Could not open key: HKEY_LOCAL_MACHINE32\SOFTWARE\Wow6432Node\Microsoft\XXX\Configuration. System error 161. Verify that you have sufficient access to that key, or

[WiX-users] how does one get XmlFile to insert literal translations of < and > entity settings when setting values?

2008-09-23 Thread Robert O'Brien
Background: - I have a wix souce file with the following XmlFile entry When I run my msi using "msiexec /I myServiceDeliverable.msi SERVICEGATEWAYIDENTITY="" /l*v myServiceDeliver

[WiX-users] Writing in Win 2k8 Server Registry

2008-09-23 Thread Sandeep Gautam (HCL Technologies Ltd)
Hi, I am trying to create a key into Win2K8 Server's HKLM\SOFTWARE\Wow6432Node\Microsoft through installer. But While Running the MSi , it is giving me a error "U don't have access right to write into registry". But I am running through Admin accounts. Please find the code snippet . http://mo

Re: [WiX-users] Questions about using MFC Merge Module

2008-09-23 Thread Neil Enns
You didn't read the comment from Heath just below Aaron's blog post :) "It's important to note that the policy MSM should be merged after the payload, if merged at all. It is recommended that you do not merge the policy MSM as this will redirect all applications depending on the related native a

Re: [WiX-users] SQL Server 2008

2008-09-23 Thread Robert O'Brien
...also if you switch the account initially specified for services to run under during setup of sql05 or sql08 to a different account sometime after setup completes you need to remember to add that account to the appropriate SqlServer local security groups in order for the necessary security pe

Re: [WiX-users] Questions about using MFC Merge Module

2008-09-23 Thread Wilson, Phil
Are you sure? I was just reading Aaron Stebner's blog about building an MSI with WiX that includes the VC 8.0 merge modules and he includes the policy merge module. I don't believe this would change for VC 9.0. http://blogs.msdn.com/astebner/archive/2007/02/13/building-an-msi-using-wix-v3-0-tha

Re: [WiX-users] More extensive progress notification

2008-09-23 Thread Wilson, Phil
The install doesn't work like that, installing one component then another. Typically it creates folders, then copies all the files, then all shortcuts, then all registry entries, then installs all services, etc. That's usually what you see in the typical UI - "Copying files", "Installing servic

Re: [WiX-users] Using cmd in a CustomAction

2008-09-23 Thread Shawn Dwyer
When the destination file doesn't exist, xcopy will prompt and wait with: Does C:\Program Files\ShawnCo\TestApp.exe.config.bak specify a file name or directory name on the target (F = file, D = directory)? "echo f | xcopy" pipes the 'f' character to xcopy, essentially auto completing the prompt so

Re: [WiX-users] Using cmd in a CustomAction

2008-09-23 Thread Neil Sleightholm
What does the "echo f | xcopy" do? Can't you just use the xcopy? -Original Message- From: Shawn Dwyer [mailto:[EMAIL PROTECTED] Sent: 23 September 2008 18:27 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Using cmd in a CustomAction Thanks Neil, good p

Re: [WiX-users] Using cmd in a CustomAction

2008-09-23 Thread Shawn Dwyer
Thanks Neil, good point. On the command line, if I execute: for /r "C:\Program Files\Xerox\XPIM 2.0\" %f in (*.config) do ( echo f | xcopy /q /y "%f" "%f.bak" ) echo %ERRORLEVEL% gives me 0. if I execute: cmd /q /e:on /k "for /r "C:\Program Files\Xerox\XPIM 2.0\" %f in (*.config) do (

Re: [WiX-users] Using cmd in a CustomAction

2008-09-23 Thread Neil Sleightholm
I posted this last week but it didn't seem to get on this list: When you say that the command works ok from the command line have you checked the value of "%errorlevel%" after running it, this is the value that windows installer would check to indicate and error. It rings a bell that "for" returns

Re: [WiX-users] SQL Server 2008

2008-09-23 Thread Neil Sleightholm
Amy SQL 2005 runs as "Network Service" as well so you should have seen the problem there. You shouldn't need to make it run as "Local System" (in fact it opens a security issue) as the SQL install sets the permissions on the data and log folders (it is group SQLServerx). If you are installing

Re: [WiX-users] Using cmd in a CustomAction

2008-09-23 Thread Shawn Dwyer
Anyone have any ideas why I'm getting an error? Is there a better way to achieve this? Thanks, Shawn On Fri, Sep 19, 2008 at 1:46 AM, Shawn Dwyer <[EMAIL PROTECTED]>wrote: > Hi, > We are preparing to release the next version of our product, which will > completely remove all previous versions.

Re: [WiX-users] SQL Server 2008

2008-09-23 Thread Amy Rosewater
Hi All, This did indeed turn out to be a SQL Server 2008 configuration issue related to the identity under which the SQL Server service was running. Once this was set to Local System (which has permissions to write to the Program Files directory) it works fine. Just in case anyone else runs into

[WiX-users] Light cultures option

2008-09-23 Thread Neil Sleightholm
I wonder if someone could clarify how the light cultures option should work? Following some earlier posts on this topic I believed that "-cultures:nl-nl;en-us" meant "use the Dutch localization but if a string is missing use English". This seems to be true for my own localization strings but no

[WiX-users] Questions about using MFC Merge Module

2008-09-23 Thread Travis Burkitt
(Apologies - this was previously sent, but was accidentally sent in response to another unrelated message. Please reply to this one to avoid the responses being in the wrong thread. ) Hello, I am adding the VC 9.0 and the MFC 9.0 Merge modules to an installation. Previously I was directly in

[WiX-users] handling v1.0 to v1.1 release start | programs | folder changes

2008-09-23 Thread Robert O'Brien
In my v1.0 release I had shortcut settings in multiple components using start | programs | "My Service Deliverable" menu folder.In my v1.1 release I changed the wix sources to use "start | programs | "My Service Deliverable v1.1". When I run a v1.0 to v1.1 msp patch or msi upgrade I end up

Re: [WiX-users] Questions about using MFC Merge Module

2008-09-23 Thread Neil Enns
The answer to your last question is no, you do not need (and should not) include the policy modules. Neil From: Travis Burkitt [EMAIL PROTECTED] Sent: Tuesday, September 23, 2008 7:58 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-user

[WiX-users] Questions about using MFC Merge Module

2008-09-23 Thread Travis Burkitt
Hello, I am adding the VC 9.0 and the MFC 9.0 Merge modules to an installation. Previously I was directly including the required files in my application directory, but now I wanted to do it properly. Everything seems to work fine except that I would like to keep this install as small as possib

[WiX-users] More extensive progress notification

2008-09-23 Thread EPoon
I was wondering if it was possible to know when a component is installed and modify the progress dialog accordingly while the install is running. I'm looking into implementing some sort of list of selected components and checking off which ones have completed to give the user more information dur

[WiX-users] UAC Elevation in ControlEvent DoAction Type 2 - SOLVED

2008-09-23 Thread Joaquin Jares
I kept investigating and I found out that the DLL doesn't need elevation. So I turned the EXE into a DLL, and it works. I think (and this is pure guesswork) that the elevation is required to run the exe from Temp (where MSI extracts it). So there's actually 2 options: 1. Use a DLL instead of

Re: [WiX-users] UAC Elevation in ControlEvent DoAction Type 2

2008-09-23 Thread Rob Hamflett
Is the exe for the Custom Action something you wrote? Can you add a manifest that specifies that it needs to be elevated? Rob Joaquin Jares wrote: > I have a type 2 action that's being invoked in the DoAction event of a > PushButton. In Vista, this action works ok when I run the setup elevated

[WiX-users] UAC Elevation in ControlEvent DoAction Type 2

2008-09-23 Thread Joaquin Jares
I have a type 2 action that's being invoked in the DoAction event of a PushButton. In Vista, this action works ok when I run the setup elevated. My setup generally runs elevated, because it's being run by a bootstrapper. When not running elevated, the action fails to run with the following error:

[WiX-users] Patching and sqlscript element

2008-09-23 Thread Victor V. Sergeev
Hi, I'm trying to create a patch using Pyro (Version 3.0.4513.0). In that patch i need to execute addition sql on a SqlServer database When i'm using sqlstring element all OK. But, when I'll try to use sqlscript element my patch fail whith error in log: Action start 11:04:08: InstallSqlData. Ins

Re: [WiX-users] Patch creation problems

2008-09-23 Thread Ilya Slobodin
Hi, REINSTALL=ALL REINSTALLMODE=omus are set from the UI when Repair button is pressed. Haven't you changed the test.txt before the patch is applied? My experiments show that patches are installed better without setting REINSTALL and REINSTALLMODE. If these properties are set, this can cause

[WiX-users] Re-using Dialogs

2008-09-23 Thread Dean Ward
Hi folks, I'm currently creating some custom actions using DTF that also have some custom UI stored in a .wixlib. Right now these have some well-known properties that are used. However, I have a situation where I have the same dialog that needs to be used several times within the same installation

Re: [WiX-users] misunderstanding of the CreateFolder directory attribute?

2008-09-23 Thread Eitan Behar
This is how I use it... On Tue, Sep 23, 2008 at 2:39 PM, bryan rasmussen <[EMAIL PROTECTED]>wrote: > Hi, > > I seem to have misunderstood the CreateFolder Directory attribute, > when I do something like the following: > > Directory="[INSTALLDIR]\Re

[WiX-users] misunderstanding of the CreateFolder directory attribute?

2008-09-23 Thread bryan rasmussen
Hi, I seem to have misunderstood the CreateFolder Directory attribute, when I do something like the following: I get a CNDL0015 error, indicating that I have disallowed characters in Identifier, evidently I should be passing in an identifier for a path as opposed to a real path? How does one d

Re: [WiX-users] Has anybody got this to work??

2008-09-23 Thread CHarker
Rob I assume by authoring you mean the WIX file. It is the first post in this thread or do you need more? http://schemas.microsoft.com/wix/2006/wi"; xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension"; xmlns:util="http://schemas.microsoft.com/wix/UtilExtensio

[WiX-users] Re -using Dialogs

2008-09-23 Thread Dean Ward
Hi folks, Apologies if this appears twice, Gmail went a bit loony when I originally posted and I'm not certain the original made it to the list (it hasn't appeared in my inbox, that's for sure)! I'm currently creating some custom actions using DTF that also have some custom UI stored in a .wixli

[WiX-users] Output Window Suppresstion

2008-09-23 Thread derekj
Hi, I have created a MSI to deploy a database. I have custom actions that calls aspnet_regsql.exe for the database and the repective tables. eg I have 13 tables to register plus the database itself. This means 14 output windows open and close during the installation. Is there anyway to sup

[WiX-users] error CNDL0144 on relative pathing to extensions when executed from command shell.

2008-09-23 Thread si
Hello again, When running a wixproj from a command shell using relative pathing to wix extensions, I'm getting error CNDL0144 on the latest v3 weekly release 4513. It was working fine the previous version we used - 3704. It is also working fine in Visual Studio. Example: ..\..\..\..\