Re: [WiX-users] Does MSI require JRE?

2008-02-28 Thread Heath Stewart
If you notice this for a particular product, that product may have a dependency on the JRE. But in general, no, Microsoft Windows Installer does not depend on the Sun Java Runtime Environment. Anidil wrote: > I noticed when I initially tested MSI on a machine I was asked to install a > JRE . I h

Re: [WiX-users] WIX 3.0.3815 release

2008-02-28 Thread Rob Mensching
Sounds like a bug. Please do open it. It would be great if you could provide the contents of the Shortcut table to help narrow what we regressed. Mike Rerick wrote: > > I'm trying to decompile a Merge Module created with InstallShield > 11.5. Using dark.exe > > from 3.0.3725.0, the decompile wor

Re: [WiX-users] WIX 3 and Build Number

2008-02-28 Thread Rob Mensching
You can pass preprocessor variables ($(var.)) via the command line using "-d". You can also use $(env.) environment variables. Tris Hodges wrote: > Hi, I am using TFS 2008 and wanted to know how I can access the > resulting build number to use in my Wix installer? > > I have overridden the Bu

Re: [WiX-users] Shortcut to a folder

2008-02-28 Thread Rob Mensching
A verbose log file should tell you why the Component containing the shortcut decided not to be uninstalled. Ali-Akber Saifee wrote: > > I have a shortcut that's created in the users My Pictures folder - > that points to a folder in my Application Directory. Upon > uninstallation, this shortcut

Re: [WiX-users] ComPlusExtension v3

2008-02-28 Thread Rob Mensching
Looks okay. What version of the WiX toolset are you using? David M. Petercheff wrote: > > When using candle and light, what do you link to so it recognizes the > ComPlusExtension schema in v3? > > I’m getting this error: > > error CNDL0200 : The Component element contains an unhandled extension

Re: [WiX-users] Token replacement in configuration files

2008-02-28 Thread Rob Mensching
Nothing built in today. however, you could look at XmlFile/XmlConfig to see something similar. If you chose to write it, it would be great to have it contributed back to the community. Mooney, Stephen wrote: > > Hi, > > I have a configuration file in which I need to fill in some values at > i

Re: [WiX-users] Feature in FeatureTree not showing in Windows Server 2008

2008-02-28 Thread Peter Walke
I was able to answer my own question Pretty simple solution... I had an errant condition on the feature: Once I removed that line of code, the install ran as expected. ...Peter From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Walke Sent: Thursday, February 28, 2008 5:0

[WiX-users] WIX 3.0.3815 release

2008-02-28 Thread Mike Rerick
I'm trying to decompile a Merge Module created with InstallShield 11.5. Using dark.exe from 3.0.3725.0, the decompile works just fine. Using dark.exe from 3.0.3815.0, I get the following error: 3.0.3815.0 --- C:\Program Files\WixEdit\Plugins\UPEK>..\..\setver 3.0.3815.0 C:\P

Re: [WiX-users] Searching for multiple registry keys

2008-02-28 Thread Alexander Shevchuk
Sorry, I misunderstood your original email. If you want to uninstall previous component and install new one during upgrade install you might want to use transitive components (http://msdn2.microsoft.com/en-us/library/aa372462(VS.85).aspx). In Wix, use Component/@Transitive = "yes". Conditions

[WiX-users] Peek in her skirt.

2008-02-28 Thread Margaret doo
Going to the gym doesn't do ANYTHING for your size where it matters - but this does.- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070

[WiX-users] WIX 3 and Build Number

2008-02-28 Thread Tris Hodges
Hi, I am using TFS 2008 and wanted to know how I can access the resulting build number to use in my Wix installer? I have overridden the BuildNumberOverrideTarget but cannot work out how I can pass this in\access this within my Wix 3 project. Basically I want to name the installer after the Bu

Re: [WiX-users] TargetDir and TFS 2008 build

2008-02-28 Thread Arild Bakken
Hi, I use $(var.MyProject.ProjectDir)\Web.config so that it reads the file from the source folder instead of the output folder, which is OK since the TFS build process does not change the web.config file in any way in my setup. Arild From: [EMAIL PROTECTED]

Re: [WiX-users] Current approach for installing a .NET windows service?

2008-02-28 Thread Christopher Painter
Checkout http://blog.deploymentengineering.com/2006/07/msi-vs-net.html Basically a .NET service is no different from any other service from the service control managers and MSI's view. ServiceBase is used to implement the contract but the ServiceInstaller class is completely unneeded.

[WiX-users] TargetDir and TFS 2008 build

2008-02-28 Thread Tris Hodges
Wix 3 and VS & TFS 2008 I have a the following line which works fine when I do a local build but fails when I build through TFS. The obvious reason being that the TargetDir variable doesn't point to the _PublishedWebsites directory which is where the config file is built by TFS How would

Re: [WiX-users] Reference counting issues

2008-02-28 Thread Simon Topley
Excellent, thanks Mike, I've fixed it. Simon -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 27 February 2008 16:16 To: Simon Topley; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Reference counting issues Windows Installer does not count reference

Re: [WiX-users] Show/hide (or disable) feature based on product key

2008-02-28 Thread Bjørndahl , Thomas
Great tip. I will try hat. Thanks Rob. .Thomas Re: [WiX-users] Show/hide (or disable) feature based on product key From: Rob Hamflett <[EMAIL PROTECTED]> - 2008-02-28 11:42 In that cas

Re: [WiX-users] Show/hide (or disable) feature based on product key

2008-02-28 Thread Rob Hamflett
In that case, you might have to mark the features as hidden and provide an additional dialog box with a check box for each feature. When the user clicks 'next' on that form you call AddLocal or Remove based on the checkbox states. Showing the dialog and the features is conditioned on your p

Re: [WiX-users] Show/hide (or disable) feature based on product key

2008-02-28 Thread Bjørndahl , Thomas
Sorry Rob, but that doesn't work. I have tried that with no result. The feature tree is already built when the user interface kicks in.. and the levels don't seem to be editable at that point .thomas Re: [WiX-users] Show/hide (or disable) feature based on product key From: Rob Hamfle

Re: [WiX-users] Show/hide (or disable) feature based on product key

2008-02-28 Thread Rob Hamflett
I think setting the feature's level to 0 might be what you want to do. Rob Bjørndahl wrote: > Hi. > > > > I’m struggling with an issue in WIX. > > I have used a external dll (c++) to validate a product key. > > This is called using the DoAction event calling PIDKEYValidation. > > > > Th

[WiX-users] Show/hide (or disable) feature based on product key

2008-02-28 Thread Bjørndahl , Thomas
Hi. I'm struggling with an issue in WIX. I have used a external dll (c++) to validate a product key. This is called using the DoAction event calling PIDKEYValidation. This works fine... But now I want to disable or remove the features where a specific parameter has a empty string value.

Re: [WiX-users] Searching for multiple registry keys

2008-02-28 Thread Chris Ridd
On 27 Feb 2008, at 20:12, Alexander Shevchuk wrote: > Sorry, I don't have neither enough time to come up with the sample > nor ready sample. > One of the possible solutions for your problem is Qualified > components (http://msdn2.microsoft.com/en-us/library/aa370947.aspx) > and PublishCompo

[WiX-users] Shortcut to a folder

2008-02-28 Thread Ali-Akber Saifee
I have a shortcut that's created in the users My Pictures folder - that points to a folder in my Application Directory. Upon uninstallation, this shortcut to a folder, is not removed even though the directory that it was pointing to was. We've tried adding the .lnk file to the RemoveFiles table, bu

Re: [WiX-users] Name of the msi with in the install file

2008-02-28 Thread vishnum
Hello All: Thank you very much for all your replies. I managed to get it work. The problem was I was trying to use MsiGetProperty() in a deferred custom action. MsiGetProperty() requires an msi handle and deferred custom actions run in a different session because of which the deferred custom act

[WiX-users] Current approach for installing a .NET windows service?

2008-02-28 Thread Thomas Tomiczek
The old issue with "installutil" coming back, and this time for me it is not academic - I actually need to get two services rolled out and installed for a software package. I have to make two installers for .NET applications - one installs a system service straight, the other installs a system

[WiX-users] heat.exe -scom produces incorrect "regasm" fragments for COM interop ?

2008-02-28 Thread Jantzen, Andrej
Hello, I tried to use heat.exe heat.exe file -scom MyDotNetCOM.dll -out MyDotNetCOM.wxs to generate a WiX fragment equivalent to the command regasm MyDotNetCOM.dll /tlb and noted that compared with execution of regasm command some things are missing/suspect: - the key "HKCR\CLSID\{--Some

[WiX-users] heat.exe -scom produces incorrect "regasm" fragments for COM interop ?

2008-02-28 Thread [EMAIL PROTECTED]
Hello, I tried to use heat.exe heat.exe file -scom MyDotNetCOM.dll -out MyDotNetCOM.wxs to generate a WiX fragment equivalent to the command regasm MyDotNetCOM.dll /tlb and noted that compared with execution of regasm command some things are missing/suspect: - the key "HKCR\CLSID\{--Some

Re: [WiX-users] Reference counting issues

2008-02-28 Thread Simon Topley
Thanks Mike, It turns out (though I am yet to test this) that version 2.0 never attempted to install the component because of a version check I put in place. This is third party software that we ship with our product and I needed to detect it's presence as many of our customers will have it insta