[WiX-users] Associate file extension at the end of installation

2009-06-04 Thread puyo puy
Hi,   I would like to display a checkbox at the end of installation ask user whether he want to associate file extension (e.g. SQL file) to my application.  I modified my WIX scripts and add the following lines.  It won’t take effect unless I pass in SQL_EXTENSION ="TRUE" with silent install.

[WiX-users] Problem with newly added file into directory.

2009-06-04 Thread Rahul.Ekbote
Hi, I have directory which contains lots of files (around 700 with nested directories). I build the .wxs using heat command. However I changed lots of code like directory structure, errors related to interop files etc. The folder contains lots of .html files for help. Everyday our documentation

Re: [WiX-users] Files left during Un-install

2009-06-04 Thread akash bhatia
Hi Rob, thanks for ur quick reply! i have checked for the bullets u marked at prob:- 1. Duplicated GUID ... its not 2. in verbose log its not uninstalling the component. here are few advancements that i have reach on new conclusion.. now my application EXE is gettin removed. CAUSE:- earlier i w

[WiX-users] 32bit 64bit

2009-06-04 Thread zhihai guo
Hi every one: I have create a custom action to restore registry value when uninstall that is modified on install. This is the element of CustomAction: This is the test.reg Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Start M

Re: [WiX-users] WiX 3.0: How to run a program

2009-06-04 Thread Rob Mensching
I'm pretty sure the WiX.chm has a topic about exactly this case. little.forest wrote: > Hi, > > We're using WiX 3.0.4805.0. > > Question: how to run a program? We'd like to run it after all files installed > but before the main application running. > > Here is the code which doesn't work - the te

[WiX-users] Preprocessor Questions

2009-06-04 Thread Christopher Painter
I've noticed a couple things I wonder about: Let say I use: Source="$(env.WINDIR)\notepad.exe The wixlib gets formatted as C:\WINDOWS\NOTEPAD.EXE. If I type the file name wrong, it still compiles with no errors. It's not until I consume the library in a merge module that it reports a failu

Re: [WiX-users] Assembly registration with wix 3.0

2009-06-04 Thread Wayne Guidry
thanks for the reply. I found some code on the net that supposedly converts a .reg file to a Wix 3 fragment. I'll give it a shot. From: Neil Sleightholm To: General discussion for Windows Installer XML toolset. Sent: Thursday, June 4, 2009 12:08:43 PM Subject

[WiX-users] WiX: How to restor a registry value on uninstall?

2009-06-04 Thread zhihai guo
I want to assert that a certain registry value exists after installation, so I added the following component: The value might already be set before the installation. I want that the value is set to my specific value. My problem is how to restore it to previous value when my product is uninstalle

Re: [WiX-users] Bug in Torch?

2009-06-04 Thread Heath Stewart
Gilad, I need the database code page. The code page shown there is only for the summary information stream. The database code page can be displayed by running "msiinfo */d* *database.msi*". On Thu, Jun 4, 2009 at 7:40 AM, Gilad Israeli wrote: > Running msiinfo on the english msi gives: > > [C:/s

Re: [WiX-users] Issue resolving properties in the Office 2007 Customization Wizard

2009-06-04 Thread Success Systems
Success Systems wrote: > > I think these screenshots may better explain the issue. > I add the registry keys in the Office Customization Wizard: > > > http://n2.nabble.com/file/n3027616/OfficeAdmin.gif > > Then after the install this is what is added to the registry: > http://n2.nabble.c

Re: [WiX-users] problem with upgarde

2009-06-04 Thread Wilson, Phil
You still haven't said anything about PackageCode. There are only two ways to get the maintenance dialog when you start installing what you think is your upgrade, and that's if either the ProductCode or the PackageCode are identical between old and new versions. In all other cases that I can t

[WiX-users] WiX 3.0: How to run a program

2009-06-04 Thread little.forest
Hi, We're using WiX 3.0.4805.0. Question: how to run a program? We'd like to run it after all files installed but before the main application running. Here is the code which doesn't work - the test.exe program never run during installation: ... ... NOT Installed ... Can you ple

Re: [WiX-users] problem with upgarde

2009-06-04 Thread Alex Shevchuk
Any changes in per-user/per-machine installation context? It would be helpful to see , , and / elements. So far, Upgrade table looks fine to me. -Original Message- From: gulfam murad [mailto:gulfam.mu...@gmail.com] Sent: Thursday, June 04, 2009 2:22 PM To: General discussion for Window

Re: [WiX-users] problem with upgarde

2009-06-04 Thread gulfam murad
sorry for the incomplete email... following is the completed version Still having problem with upgrade... Entries from orca for my first setup (e.g. test1.msi) -->Property Table (property) UpgradeCode  (value) {82594B5A-5CA6-4C6F-A9F1-EF75A504B592} (property) ProductVersion (value) 12.0.0.9020 (p

Re: [WiX-users] problem with upgarde

2009-06-04 Thread gulfam murad
No Luck... Property Table entry for my first setup (e.g. test1.msi) (property) UpgradeCode (value) {82594B5A-5CA6-4C6F-A9F1-EF75A504B592} Updgrade table entiry (upgradecode) {82594B5A-5CA6-4C6F-A9F1-EF75A504B592} (VersionMin) 1.0.0 (VersionMax) 12.0.0.9020 (Attributes) 256 ( OLDERVERSIONBEINGU

Re: [WiX-users] WiX-users Digest, Vol 37, Issue 19

2009-06-04 Thread Rob Mensching
Looks like the server is down right now. Been having the problem a lot lately. Been thinking about moving to a new hosting provider because of it. Check back later... it'll be back (eventually). Jason Zhang wrote: > Rob: > that link is broken: > > 404 - File or directory not found. > The resourc

Re: [WiX-users] Wix Property calculation (Rob Mensching)

2009-06-04 Thread Rob Mensching
I do an amazing amount of programming with Notepad2.exe. I'm not sure it is Open Source or not but it works great. Also, all of the Windows programming tools (namely the Windows SDK) are all free. I'd use that if I wasn't using VS. Jason Zhang wrote: > I already saw that one, well understood an

Re: [WiX-users] Add a .vcproj to Wix MergeModule

2009-06-04 Thread Neil Sleightholm
You don't need to reference the project to create a WiX install you just need fragment like this: Neil -Original Message- From: karthik thiagarajan [mailto:tk_kart...@hotmail.com] Sent: 04 June 2009 19:33 To: wix-users@lists.sourceforge.net Subj

Re: [WiX-users] problem with upgarde

2009-06-04 Thread Alex Shevchuk
Make sure that var.UpgradeCode and have the same value. Alex -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that in

Re: [WiX-users] problem with upgarde

2009-06-04 Thread gulfam murad
ProductCode guid is generated as compile time so it is always different. and when I changed PackageCode to be different for different MSIs (generated at compile time). The two MSIs work independently of each other. That is I can install both MSIs successfully on my machine. anything else I am missi

Re: [WiX-users] problem with upgarde

2009-06-04 Thread Wilson, Phil
The ProductCode guids need to be different between the versions, so if you've actually changed that guid then the other culprit for going into maintenance mode is the PackageCode - that needs to be different too (and it should be unique anyway every time you build your MSI file, so use the ?

Re: [WiX-users] WiX Patching

2009-06-04 Thread troy hostetter
Bob - So .. if I understand this correctly .. Windows Installer 4.5 supports execution of custom actions on patch removal via the use of the Custom Action Patch Uninstall Option (msidbCustomActionTypePatchUninstall) .. and WiX CustomAction supports this as well via the use of the PatchUninstall at

[WiX-users] problem with upgarde

2009-06-04 Thread gulfam murad
Hi, I have followed "How To: Implement a Major Upgrade In Your Installer" but it is not working for me. I have the following code: Now, I compiled first installer using the version mentioned in my code (12.0.0.9020) and then compile a second setup with version change

Re: [WiX-users] WiX-users Digest, Vol 37, Issue 21

2009-06-04 Thread Wilson, Phil
A merge module just wraps a set of components - it's a useful self-contained package to include in a build of an MSI file, and once it's inside the MSI file it's just a set of components. Modules don't get installed, components do, so you need a check that the component is being selected for ins

Re: [WiX-users] WiX-users Digest, Vol 37, Issue 21

2009-06-04 Thread Shree Krishnamurthi
My mistake, I assumed that the entire module is executed at one time. Is there any variable that I can use to check if a certain module is selected for installation? - Shree -- Message: 6 Date: Thu, 4 Jun 2009 11:22:08 -0700 From: "Wilson, Phil" Subject: Re: [WiX-u

Re: [WiX-users] Add a .vcproj to Wix MergeModule

2009-06-04 Thread karthik thiagarajan
Can someone provide me with a sample of how can I go about installing a Windows Service written in C++ to get installed using Wix. I know I cant add a .vcproj to a WIXPROJ, so how do I solve this issue of referring to the service executable to install it. Karthik Thiagarajan > Date:

Re: [WiX-users] Custom Action in Merge Module

2009-06-04 Thread Wilson, Phil
Whether files or registry entries get copied or created is subject to component and feature state conditions. Whether custom actions get called or not is another set of conditions on each custom action. If you can treat a merge module as a self-contained unit ("object oriented") then the custo

[WiX-users] UI localization help!

2009-06-04 Thread DONG LEE
I am linking my wix source file against Wix UI dialog .wxs's provided along with other Wix 2.0 source files to provide a rich UI dialogs including a progress dialog. http://schemas.microsoft.com/wix/2003/01/wi";> 1 ... I understand that we can link only one

Re: [WiX-users] WiX-users Digest, Vol 37, Issue 19

2009-06-04 Thread Jason Zhang
Rob: that link is broken: 404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable. do you have alternative links ? --Jason > -- > > Message: 4 > Date: Thu, 4 Jun 2009 08:58:06 -

Re: [WiX-users] UAC - how to execute installer with elevated privileges

2009-06-04 Thread Jan Bilek
The application for which i am creating the installer is quite complex (kernel drivers, services, security fatures, COM etc.). There's no way we could sit down, start to think differently and redesign the whole app. Our installer has to run with credentials of current user (must be an admin). Th

Re: [WiX-users] Wix Property calculation (Rob Mensching)

2009-06-04 Thread Jason Zhang
I already saw that one, well understood and agree! However, I am not Windows programmer, not familiar with how to program it with c, csharp on Windows, even I don't have a Visual studio, it will be hard for me to start from scratch to do such simple function. If you have suggestion on how to do wi

[WiX-users] Virtual Directories not getting created on IIS 7.0 ...

2009-06-04 Thread Ravikumar Gopinath
Our Msi works fine on IIS 6.0. It creates virtual directories and configures web sites with right port, SSL cert etc. However, when we run the same on IIS 7.0, the virtual directories aren't getting created. I verified that the IIS 6.0 compatability pack is installed on our windows server 2008

Re: [WiX-users] Assembly registration with wix 3.0

2009-06-04 Thread Neil Sleightholm
I don't think .Net assemblies use SelfReg so heat won't help you, you have to use regasm to generate a reg file and then code it in WiX. Neil Wayne Guidry wrote: > I'm using the latest build of WIX v3.0.5217.0. > > here's the background info on what I'm trying to do... > > I have a .NET 2.0 Asse

[WiX-users] Custom Action in Merge Module

2009-06-04 Thread Shree Krishnamurthi
Do MM custom actions get triggered even if the module/feature is not selected for installation? I have included 2 merge modules in my setup something like:

Re: [WiX-users] questionaboutHKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductCode]

2009-06-04 Thread Amy Rosewater
Hi Michael, I did check in the Wow6432Node and indeed, on the Windows 2008 64 machine I do find my application listed under the Uninstall key. Thanks! However, this still leaves Windows 2008 32 bit where the key does not exist. A -Original Message- From: Michael Urman [mailto:mur...@

Re: [WiX-users] Assembly registration with wix 3.0

2009-06-04 Thread Rob Mensching
Uhh, it sounds like you need to read the code. Heat has to call into the DLL (using SelfReg) to capture the registry keys. If you can't do that then heat can't help you. Thus your only option is to actually understand the code that is called during SelfReg and pull out all those registry keys.

Re: [WiX-users] Issue resolving properties in the Office 2007 Customization Wizard

2009-06-04 Thread Rob Mensching
Did the verbose log file show this registry key being written? What was the value of ProductCode when the registry key was written? Success Systems wrote: > Than ks for your reply. I am trying to set the following registry key: > HKLM\Software\[COMPANYNAME]\Packages\[ProductName]\[ProductVersion]

Re: [WiX-users] Before I go off and write a custom action...

2009-06-04 Thread Rob Mensching
http://wix.sf.net has a "feature request" on the right side. David Bartmess wrote: > Where do I go to enter an enhancement request? > > -Original Message- > From: Rob Mensching [mailto:r...@wixtoolset.org] > Sent: Wednesday, June 03, 2009 3:56 PM > To: General discussion for Windows Instal

Re: [WiX-users] How can we get the Launching user's credentials (USername and Password)

2009-06-04 Thread Rob Mensching
There is a Property very much like [%ComputerName]. The MSI SDK lists it out and many others. Vuchuru, Surekha (SBT US EXT) wrote: > Hello Everyone, > > I need to change DCOM settings of a service to make it start > automatically with the Launching User credentials(username and > password). > How

Re: [WiX-users] Files left during Un-install

2009-06-04 Thread Rob Mensching
The RemoveFile element is probably useless below (that is for removing files that are *not* described by your install). Take a look at a verbose log file and see if your Component is being uninstalled. My first bet is that some other product is holding on to it (or you've duplicated a GUID). a

Re: [WiX-users] questionabout HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductCode]

2009-06-04 Thread Michael Urman
If you are installing on a 64-bit machine, have you looked for the HKLM\Software\Wow6432Node\... variant? On Thu, Jun 4, 2009 at 10:51, Amy Rosewater wrote: > One other other thing...:) > > The registry key: > > HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductCode] > > is written

Re: [WiX-users] component and guid

2009-06-04 Thread Rob Mensching
I suggest reading: http://robmensching.com/blog/posts/2003/10/18/Component-Rules-101 You'll find that the rules are very strict but not enforced and you won't notice until you try to patch or upgrade. Jason Zhang wrote: > As a beginner, although I already read through the wix tutorial, still >

Re: [WiX-users] Wix Property calculation

2009-06-04 Thread Rob Mensching
In that case you should read: http://blogs.msdn.com/robmen/archive/2004/05/20/136530.aspx Jason Zhang wrote: > Thanks. That really help! I created an vbscript to handle this case. > > --Jason > -- > > Message: 2 > Date: Tue, 2 Jun 2009 17:01:55 -0700 > From: Rob Mensc

Re: [WiX-users] questionabout HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductCode]

2009-06-04 Thread Amy Rosewater
One other other thing...:) The registry key: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductCode] is written on Windows Server 2003 machines, but not on Windows Server 2008 machines. :S Amy -Original Message- From: Amy Rosewater [mailto:arosewa...@spectrumhr.com] Se

Re: [WiX-users] questionabout HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductCode]

2009-06-04 Thread Amy Rosewater
One other thing...I CAN find my application under: HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5- 18\Products\GUID but not under the CurrentVersion\Uninstall (where it is much easier to find based on my product code being the key). Any help anyone can offer as to why th

Re: [WiX-users] Before I go off and write a custom action...

2009-06-04 Thread David Bartmess
Where do I go to enter an enhancement request? -Original Message- From: Rob Mensching [mailto:r...@wixtoolset.org] Sent: Wednesday, June 03, 2009 3:56 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Before I go off and write a custom action... Ahh,

Re: [WiX-users] Bug in Torch?

2009-06-04 Thread Gilad Israeli
Running msiinfo on the english msi gives: [C:/sandboxes/vsi/solution/components/integrations/obj/wix/en-us] info.exe MKS_VS_Integration.msi < ClassId = {000C1084---C000-0046} [ 1][/c] Codepage = 1252 [ 2][/t] Title = Installation Database [ 3][/j] Subject = MKS

[WiX-users] How can we get the Launching user's credentials (USername and Password)

2009-06-04 Thread Vuchuru, Surekha (SBT US EXT)
Hello Everyone, I need to change DCOM settings of a service to make it start automatically with the Launching User credentials(username and password). How can I get those details from Wix code. Is there any property like [%ComputerName] to get those details. Thanks and Regards, Surekha Vuchuru

[WiX-users] Impact of attribute "IncludeWholeFilesOnly =no" on signed assemblies

2009-06-04 Thread varun kataria
I am creating a Patch using a wxs file and setting attribute “IncludeWholeFilesOnly =no” in the “PatchCreation” tag.   The patch replaces the Unsigned assembly while it is unable to replace the “Signed assemblies”. Can you please suggest that setting attribute “IncludeWholeFilesOnly =no” works

Re: [WiX-users] UAC - how to execute installer with elevated privileges

2009-06-04 Thread Brooke Philpott
I ran into this same issue. If you need any Immediate action to run with admin rights when UAC is enabled you have to launch the setup as an administrator. Also if you set Impersonate to 'yes' for a deferred action unless you start the install with elevated rights the impersonated deferred action w

[WiX-users] Ngen condition and progress text.

2009-06-04 Thread Christopher Hughes
Hi, I have 2 questions regarding Ngen: 1. Can Ngen be applied conditionally based on a property? We have a build server to test our installations and it would be nice to set Ngen=0 so the builds are installed faster. 2. How do you show custom progress text when ngen is being executed

[WiX-users] Files left during Un-install

2009-06-04 Thread akash bhatia
hi, i am facing a very weird situation here. i am installing 2 services during installation. also i am removing it during uninstall. but the weird thing is that during uninstall, services are not deleted and also respective EXEs also exists in the INSTALLLOCATION here s my code which i have use