[WiX-users] Patch Problem

2007-07-11 Thread Petrut Andrei
Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. http://tools.search.yahoo.com/toolbar/features/mail/

Re: [WiX-users] CustomUI change install path not possible?

2007-07-11 Thread Mailinglist
Hello Bob, >>When we come to the InstallDirDlg, the directory is shown correctly, if the >>DirectorySet ca is run early enough. If the user now wishes to customize this >>path, I get an error 2707, that the path does not exist, when I start up the >>BrowseDlg. >Error 2707 includes the directo

Re: [WiX-users] Another Patch Problem

2007-07-11 Thread Bob Arnson
Please keep /wix-users/ on the thread. Direct e-mail will not get a faster response. Petrut Andrei wrote: Hello. When I try to execute the patch, I get this: Failed to create metabase key... When I install the application in the first place I write some value in the registry (HKLM\Software

Re: [WiX-users] reading INI files

2007-07-11 Thread Bob Arnson
Don Tasanasanta wrote: I see that there is an element for adding or removing items from an INI file. Are there elements for creating and reading items from an INI file? See the IniFileSearch element. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Converting Setup project to WiX 3.0 project (Custom Actions)

2007-07-11 Thread Bob Arnson
W. Craig Trader wrote: I have a legacy .Net 2.0 application (C# plus some C++ COM controls) that is currently deployed using a Visual Studio 2005 Setup project. The Setup project uses a Custom Action written in C# (a subclass of System.Configuration.Install.Installer) to install or upgrade a S

Re: [WiX-users] How to write a text file using WIX

2007-07-11 Thread Bob Arnson
srinivas nomu wrote: > I want to get the CD-Key input from the user and write into a > License.dat file, which is actually a text file. How should I do with > WIX. Any examples?. The only MSI support for writing to text files is via the IniFile table. -- sig://boB http://joyofsetup.com/ ---

Re: [WiX-users] CustomUI change install path not possible?

2007-07-11 Thread Bob Arnson
Mailinglist wrote: When we come to the InstallDirDlg, the directory is shown correctly, if the DirectorySet ca is run early enough. If the user now wishes to customize this path, I get an error 2707, that the path does not exist, when I start up the BrowseDlg. Error 2707 includes the dir

Re: [WiX-users] Install target directory from Registry key.

2007-07-11 Thread Bob Arnson
Benas wrote: I did something almost identical and it worked as expected. Are you doing anything in InstallExecuteSequence? -- sig://boB http://joyofsetup.com/ - This SF.net email

Re: [WiX-users] Heat.exe generates InprocServer32 defult value with double quotes (") appended

2007-07-11 Thread Bob Arnson
Mike Dimmick wrote: Quoted paths are definitely wrong for InprocServer32 as that string is passed to LoadLibrary(Ex). Unquoted paths are wrong (i.e. quoted paths are right) for LocalServer as that string, plus arguments, is passed to the first parameter of CreateProcess. That's the behavi

Re: [WiX-users] Silent Custom Installation

2007-07-11 Thread Bob Arnson
Srinivas Tirupati wrote: FYI I am using wix v2. FWIW, as this is about runtime, it's entirely an MSI issue, not related to WiX. The remote execution option for features that are not installed and for which no feature state request is made by using any of the following properties. The

Re: [WiX-users] Converting Setup project to WiX 3.0 project (Custom Actions)

2007-07-11 Thread John Vottero
It would be very easy to write a console app that calls the C# Installer based code. Once you have that, use the WiX CAQuietExec custom action to run the console app. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of W. Craig Trader Sent: Wednesday, July 11, 2007 8:50 PM To: wix-

[WiX-users] Converting Setup project to WiX 3.0 project (Custom Actions)

2007-07-11 Thread W. Craig Trader
Help! I have a legacy .Net 2.0 application (C# plus some C++ COM controls) that is currently deployed using a Visual Studio 2005 Setup project. The Setup project uses a Custom Action written in C# (a subclass of System.Configuration.Install.Installer) to install or upgrade a SQL Server MSDE

[WiX-users] reading INI files

2007-07-11 Thread Don Tasanasanta
I see that there is an element for adding or removing items from an INI file. Are there elements for creating and reading items from an INI file? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FRE

Re: [WiX-users] Executing a custom action on uninstall but not on majorupgrade

2007-07-11 Thread Pierson Lee (Volt)
Or if you want it only on uninstall, the condition REMOVE="ALL" should work also From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wilson, Phil Sent: Wednesday, July 11, 2007 12:12 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Executing a custom action on uninstall

Re: [WiX-users] Heat.exe generates InprocServer32 defult value with double quotes (") appended

2007-07-11 Thread Mike Dimmick
Quoted paths are definitely wrong for InprocServer32 as that string is passed to LoadLibrary(Ex). Unquoted paths are wrong (i.e. quoted paths are right) for LocalServer as that string, plus arguments, is passed to the first parameter of CreateProcess. Context="space-separated-list" doesn't seem

Re: [WiX-users] Executing a custom action on uninstall but not on majorupgrade

2007-07-11 Thread Wilson, Phil
The property UPGRADINGPRODUCTCODE is set if a product uninstall is occurring because of an incoming major upgrade, so AND NOT UPGRADINGPRODUCTCODE looks like part of the condition you want on your uninstall custom action. Phil Wilson From: [EMAIL PROTECTED] [ma

Re: [WiX-users] Heat.exe generates InprocServer32 defult value with double quotes (") appended

2007-07-11 Thread Laxmi Narsimha Rao Oruganti (SQL CE)
Mike, Thanks for the quick reply. Mike and List users, I think the issue was not with HEAT but WIX Compiler/Linker (CANDLE / LIGHT). The WIX code generated by HEAT looks fine with PROGID, CLASSID elements. However, the MSI generated by WIX compiler/linker is having extra quotes. For example,

[WiX-users] Executing a custom action on uninstall but not on major upgrade

2007-07-11 Thread Carter Sanders
I have an application that may put arbitrary directories and files in a directory called plugins. I've written a custom dll that removes the contents of this directory on uninstall, but I'd like to leave the directory untouched for major upgrades. Can someone please tell me what is the correct con

[WiX-users] How to write a text file using WIX

2007-07-11 Thread srinivas nomu
Hi Everybody, I want to get the CD-Key input from the user and write into a License.dat file, which is actually a text file. How should I do with WIX. Any examples?. Thanks. Regards Srinivas - Sick sense of humor? Visit Yahoo! TV's Comedy wi

Re: [WiX-users] How to debug a CustomAction 1723 error ondll invocation?

2007-07-11 Thread Carter Sanders
I fixed the problem by adding the dll entry method name in a .def file for the project. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No

Re: [WiX-users] Install target directory from Registry key.

2007-07-11 Thread Pierson Lee (Volt)
I had the same problem and had to use a custom action to write it to the property after AppSearch had been completed. What is the proper way of doing this? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Benas Sent: Wednesday, July 11, 2007 3:05 AM To: wix-users@lists.sourceforge.

[WiX-users] CustomUI change install path not possible?

2007-07-11 Thread Mailinglist
Hello again, I now have the problem, that in our setup we first search if drive "e:" is present and set the TARGETDIR-Property to a folder on "e:" otherwise "c:". This is done like this: When we come to the InstallDirDlg, the directory is shown correctly, if the DirectorySet c

Re: [WiX-users] unconditional full install on minor upgrade

2007-07-11 Thread Brian Simoneau
Versions 0.3.0 and 0.4.0 must have the same UpgradeCode but different ProductCodes. If you are seeing maintenance mode, then they probably have the same ProductCode. -Brian Simoneau -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nitin

[WiX-users] unconditional full install on minor upgrade

2007-07-11 Thread Nitin
Hi, I have 2 setups, one with version 0.3.0 and second with 0.4.0 These setups have been created using dark of a visual studio setup project and then UI was modified. It has the following tags Both the versions have this same upgrade

[WiX-users] Install target directory from Registry key.

2007-07-11 Thread Benas
Hello, I'm trying to install my program to directory from registry key. Here is source code: If i look at log file i see that registry search was successful, b