Re: [WiX-users] Accessing the Source Directory

2007-03-23 Thread Anthony Wieser
From: Rob Mensching [EMAIL PROTECTED] To: Geoff Finger [EMAIL PROTECTED]; wix-users@lists.sourceforge.net Sent: Friday, March 23, 2007 12:28 AM Subject: Re: [WiX-users] Accessing the Source Directory Why are you copying files from the original media instead of just using the File element?

[WiX-users] RE : RE : Conditional shortcut

2007-03-23 Thread Jacquet Fabian
Here is an exemple Component Id=Root DiskId=1 Guid=... File Id=MyExe.exe Name=MyExe.exe src=../Setup/MyExe.exe / /Component Component Id=DesktopIcon Guid=... DiskId=1 ConditionDesktopIcon = 1/Condition Shortcut Id=MyExe.lnk Target=[INSTALLDIR]\MyExe.exe

[WiX-users] Ways of downgrading

2007-03-23 Thread Igor Lemsky
In my product I need support functionallity of downgrading. For example, after release of the version 2.0.5 and version 2.1.0 and after installing 2.1.0 user can install 2.0.5 and it installs correctly. But how to implement this without bootstrapping, using only MSI functionality? If I use major

Re: [WiX-users] Directories/Merge Modules

2007-03-23 Thread Stefan Pavlik
Hi Thomas The C:\Windows\Installer\ folder is hidden system folder which is used by Windows Installer INTERNALY. It means that you should not install any files to this folder (I think). Anyway, you should use the Directory Id='WindowsFolder' Name='.' SourceName='.' to get the correct Windows

[WiX-users] RE : How to create an optional shortcut

2007-03-23 Thread Jacquet Fabian
Thank you for this explanation. I don't really understand why you add a registry key... Maybe I don't know what is a keypath -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Stuart A. Malone Envoyé : vendredi 23 mars 2007 8:00 À :

[WiX-users] RE : RE : RE : Conditional shortcut

2007-03-23 Thread Jacquet Fabian
Ok, really sorry. My property name is not in up case! I suppose it's not global. If I put my property name in up ca se it works. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Jacquet Fabian Envoyé : vendredi 23 mars 2007 8:46 À : Stuart A.

Re: [WiX-users] custom action to reg NET 2.0

2007-03-23 Thread pobox77
Hi, CustomAction Id=CallRegASM Directory=INSTALLDIR Win64=no ExeCommand=quot;[WindowsFolder]Microsoft.NET\Framework\v2.0.50727\regasm.exequot; /codebase quot;[INSTALLDIR]MyAssembly.dllquot; Return=check / works fine. If uninstall I would use CustomAction Id=CallUnRegASM Directory=INSTALLDIR

Re: [WiX-users] custom action to reg NET 2.0

2007-03-23 Thread pobox77
Yet another question: I don't know, which version of .NET Framework is installed on the customer's computer, so I can't use a hard coded path for regasm.exe. How could I get the path of the most recent version of regasm for the custom actions below? Peter pobox77 wrote: Hi,

Re: [WiX-users] custom action to reg NET 2.0

2007-03-23 Thread pobox77
Heureka! InstallExecuteSequence ... Custom Action='CallRegASM' After='InstallFinalize'NOT Installed/Custom Custom Action='CallUnRegASM' After='InstallInitialize'Installed/Custom ... /InstallExecuteSequence works. I hope I have the right solution :) pobox77

Re: [WiX-users] simple custom action DLL-not being called?

2007-03-23 Thread Bob Arnson
Chris Bardon wrote: Ah, I think I solved it. Moved the tag from the InstallExecuteSequence section to the InstallUISequence one, and it executed like it was supposed to. Is there a convention for where these types of things should go? I want to populate some property values from an included

Re: [WiX-users] XmlConfig - Unexpected child element error

2007-03-23 Thread Bob Arnson
Callum Hibbert wrote: I am trying to get the XmlConfig Element to work but I get an element contains unexpected child element error when I use the XmlConfig element. If you're using WiX v3, you need to add the WixUtilExtension to your command lines and use util:XmlConfig to refer to the

Re: [WiX-users] Problems with Post Build Step and Dependencies in Votive

2007-03-23 Thread Anthony Wieser
- Original Message - From: Justin Rockwood [EMAIL PROTECTED] To: 'Anthony Wieser' [EMAIL PROTECTED]; wix-users@lists.sourceforge.net Sent: Thursday, March 22, 2007 6:40 PM Subject: RE: [WiX-users] Problems with Post Build Step and Dependencies in Votive Do you mind logging a bug on

Re: [WiX-users] custom action to reg NET 2.0

2007-03-23 Thread Fredrik Grohn
You really don't want to call regasm.exe from inside an MSI. What you really want to do is get all the necessary registry keys for your COM visible assembly. I haven't done this myself but looking at one of Rob's old examples you should be able to get these with the following command line:

Re: [WiX-users] Problems with Post Build Step and Dependencies in Votive

2007-03-23 Thread Anthony Wieser
- Original Message - From: Justin Rockwood [EMAIL PROTECTED] To: 'Anthony Wieser' [EMAIL PROTECTED]; wix-users@lists.sourceforge.net Sent: Thursday, March 22, 2007 6:40 PM Subject: RE: [WiX-users] Problems with Post Build Step and Dependencies in Votive Do you mind logging a bug on

Re: [WiX-users] custom action to reg NET 2.0

2007-03-23 Thread Dhaval Patel
Hehe... good question. I was wondering how come Don didn't ask this before. I have to write my own 'undo' Custom Action, that only runs during uninstall. The reason why these actions are safe, is because the command prompt will execute the command, and report an error (which the user is unable to

Re: [WiX-users] Accessing the Source Directory

2007-03-23 Thread Geoff Finger
Most of the files are made part of the installer using the File element, however there are two files that are an exception for two reasons. First, they're both part of the readme file which we want users to be able to access before they actually install the product. If it were just that we could

[WiX-users] C# .dll

2007-03-23 Thread DE�K JAHN, G�bor
On Tue, 20 Mar 2007 00:14:11 -0500, Joe Kaplan wrote: Joe, try to use them. Having C++ as the only viable alternative is very limiting. Why would C++ be the only viable alternative? There are a plethora of languages and development tools that can create Win32 DLLs. C, Pascal (and

[WiX-users] detecting versions of SQL server

2007-03-23 Thread Don Tasanasanta
Is there an easy way to detect what version of SQL server in installed on a machine? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions

[WiX-users] Install to directory contained in registry path

2007-03-23 Thread Anthony Wieser
I thought I'd got the hang of this, but just can't understand what's going on. I need to install a file to a location specified in the registry, and need some help. so, the location I'm searching for (and probably many others) is located at: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App

Re: [WiX-users] Problems with Post Build Step and Dependencies in Votive

2007-03-23 Thread Justin Rockwood
In Visual Studio, when you select Add Existing File... if you just click Add, then the file will be copied to your local directory. This is by design and works the same way as C#, VB, etc. If you want to add a link, which you do, then drop down the little arrow next to the Add you'll see an Add As

Re: [WiX-users] Problems with Post Build Step and Dependencies inVotive

2007-03-23 Thread Anthony Wieser
Subject: Re: [WiX-users] Problems with Post Build Step and Dependencies inVotive In Visual Studio, when you select Add Existing File... if you just click Add, then the file will be copied to your local directory. This is by design and works the same way as C#, VB, etc. If you want to add a

Re: [WiX-users] Problems with Post Build Step and Dependencies inVotive

2007-03-23 Thread Justin Rockwood
Right mouse click on your project -- Add/Existing Item -- an open dialog pops up -- the Add button is actually a drop down button à click on Add As Link. Here's a screen shot. -Original Message- From: Anthony Wieser [mailto:[EMAIL PROTECTED] Sent: Friday, March 23, 2007 2:15 PM

Re: [WiX-users] Problems with Post Build Step and Dependencies inVotive

2007-03-23 Thread Anthony Wieser
- Original Message - From: Justin Rockwood To: 'Anthony Wieser' ; Justin Rockwood ; wix-users@lists.sourceforge.net Sent: Friday, March 23, 2007 9:18 PM Subject: RE: [WiX-users] Problems with Post Build Step and Dependencies inVotive Right mouse click on your project --

Re: [WiX-users] detecting versions of SQL server

2007-03-23 Thread Wilson, Phil
I was looking at this the other day.. In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\MSSQLServer\CurrentVer sion Version SQL Release 9.00.1399 SQL Server 2005 (initial version) 9.00.2047 SQL Server 2005 SP1 9.00.3042 SQL Server 2005 SP2 However, the

Re: [WiX-users] Problems with Post Build Step and Dependencies inVotive

2007-03-23 Thread Anthony Wieser
- Original Message - From: Justin Rockwood To: 'Anthony Wieser' ; Justin Rockwood ; wix-users@lists.sourceforge.net Sent: Friday, March 23, 2007 9:18 PM Subject: RE: [WiX-users] Problems with Post Build Step and Dependencies inVotive Right mouse click on your project --

[WiX-users] NGen custom action

2007-03-23 Thread R Kishe
Is there NGen Custom action in the custom action library in Wix V3? Thanks - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT

[WiX-users] Using Wix to register COM+ - similar to regsvcs

2007-03-23 Thread DEVAL SHAH
Hello, I have Serviced component which I want to register with Wix. I can register it with regsvcs but not able to do it with Wix. This is my config: Fragment Id='FragmentComPlus' DirectoryRef Id='ComPlusInstallDIR' Component Id=ComPlusDll Guid=some-id File

Re: [WiX-users] C# .dll

2007-03-23 Thread Bob Arnson
DEÁK JAHN, Gábor wrote: Anyway, it's not a WiX limitation but a Windows Installer limitation, so until WI can call a managed DLL, there is nothing WiX can do about it. Much the same way as with Unicode. We're here starting to run on the fourth Windows platform with full Unicode support (NT,

Re: [WiX-users] NGen custom action

2007-03-23 Thread Bob Arnson
R Kishe wrote: Is there NGen Custom action in the custom action library in Wix V3? Yes, in WixNetFxExtension.dll. -- sig://boB http://bobs.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's

Re: [WiX-users] Using Wix to register COM+ - similar to regsvcs

2007-03-23 Thread Bob Arnson
DEVAL SHAH wrote: ComPlusInstallExecute: ErrorInfo: Name='C:\Program Files\MyComp', ErrorCode='-2146368476', MajorRef='C:\Program Files\MyComp', MinorRef='invalid' The error code represents COMADMIN_E_COMPFILE_DOESNOTEXIST (The file does not exist). -- sig://boB http://bobs.org