Re: [WiX-users] Upgrade not detecting installed application

2008-01-04 Thread Chesong Lee
On Jan 4, 2008 2:51 PM, Chad Petersen <[EMAIL PROTECTED]> wrote: > > > I'm working on two installers that are both hotfixes. One is for the client > and one is for the server. Right now I'm having them both detect for one of > our other installed applications and only proceed if it finds that it is

Re: [WiX-users] How to detect if UAC is turned on

2008-01-04 Thread Chesong Lee
Can I ask why you want to prevent your setup to be launched with UAC enabled? Your installer will be run with UAC on most of the cases. On Jan 4, 2008 2:07 PM, Scott Palmer <[EMAIL PROTECTED]> wrote: > I want to detect if UAC is turned on in Vista and refuse to install if it > is. How can I do th

Re: [WiX-users] ICE03: String overflow warning

2008-01-03 Thread Chesong Lee
Custom actions in wix source codes may be a good reference. Hope this helps. Regards, Chesong Lee -Original Message- From: Krause, Henning [mailto:[EMAIL PROTECTED] Sent: Saturday, December 29, 2007 2:25 AM To: Chesong Lee; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] ICE03: St

Re: [WiX-users] ICE03: String overflow warning

2007-12-28 Thread Chesong Lee
Codes in deferred custom action cannot directly access MSI database. In the function, you can only read "CustomActionData" property, of which value is set as the name of the custom action. For example, to transfer the data to the deferred custom action named "MyDeferredCustomAction", you have to

Re: [WiX-users] Re Post: Msi Logging

2007-12-18 Thread Chesong Lee
MSI logging cannot be enabled or changed within the MSI. The MsiLogFileLocation property is to view the current log file name if any, not to change the value. So if you really want to enable the MSI log, you may have to provide the bootstrapper. Chesong Lee On Dec 18, 2007 3:03 AM, SaiTeja

Re: [WiX-users] Admin Check in VISTA OS

2007-12-18 Thread Chesong Lee
Set the MSIUSEREALADMINDETECTION property to 1 and use the AdminUser property to detect instead of the Privileged property IF you want to detect whether the invoker of the MSI is in Administrators group. http://msdn2.microsoft.com/en-us/library/aa816403.aspx Chesong Lee On Dec 18, 2007 12:36

Re: [WiX-users] Elevating msi on vista.

2007-12-18 Thread Chesong Lee
If "No impersonation" is set, it means the custom action function will be called in Local System context, of which token does not have Administrators group SID. I think there should be different elevation scheme with Impersonation bit set to get a token with Administrators group SID. C

Re: [WiX-users] Silent install won't copy in files

2007-09-26 Thread Chesong Lee
Directory and use the identifier. Here is an example. Chesong Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frédéric Viollet Sent: Tuesday, September 18, 2007 12:23 AM To: wix-users@lists.sourceforge.net

Re: [WiX-users] Silent install won't copy in files

2007-09-26 Thread Chesong Lee
It seems like "DestinationProperty" attribute is used in place of "DestinationDirectory" attribute. CopyFile topic in WiX help explains both. One suggestion is to use: ... ... Chesong Lee From: [EMAIL PROTECTED] [mai

Re: [WiX-users] Elevation Pre-condition not working

2006-09-14 Thread Chesong Lee
practice. Chesong Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Carlisle Sent: Thursday, September 14, 2006 10:50 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Elevation Pre-condition not working Hi, I'm building an install

Re: [WiX-users] Elevating custom action on Vista

2006-09-06 Thread Chesong Lee
actions are involved, regardless of “Elevation is allowed for MSI installation in Group Policy”, UAC dialog should appear and MSI process should have as much privileges as the logon user has.   Chesong Lee   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dana Gutride Sent

Re: [WiX-users] Using XmlFile to update an existing attribute

2006-08-31 Thread Chesong Lee
-- XPath=/Configuration/companyname/vals/add/@value >>> value1 XPath=/Configuration/companyname/vals/add[0]/@value >>> (null) XPath=/Configuration/companyname/vals/add[1]/@value >>> value1 XPath=/Configuration/companyname/vals/add[2]/@value >>> valueIwant

Re: [WiX-users] Using XmlFile to update an existing attribute

2006-08-31 Thread Chesong Lee
Isn't it possible to use the xpath like this? [] in XPath is not a numerical index but node test predicate. /Configuration/companyname/vals/[EMAIL PROTECTED]'something2']/@value -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Sam Sent: Thursday, Au

Re: [WiX-users] .MSI for x64...

2006-08-31 Thread Chesong Lee
The intention is to prevent installation of the package in both x64 and IA64 platforms. 32-bit device drivers cannot be installed on any other platforms. Chesong Lee -Original Message- From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Thursday, August 31, 2006 11:23 AM To: Chesong Lee

Re: [WiX-users] Program Files vs Program Files (x86)

2006-08-30 Thread Chesong Lee
Use ProgramFiles64Folder instead of ProgramFilesFolder. We use preprocessor variable like this to support both platforms in a single wxs file set. ... more directories here ... Regards, Chesong Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [WiX-users] .MSI for x64...

2006-08-29 Thread Chesong Lee
We are using LaunchCondition like this to prevent 32-bit packages to be installed in 64-bit Windows. Not VersionNT64 Regards, Chesong Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Randall Sent: Tuesday, August 29, 2006 9:38 PM To: wix

Re: [WiX-users] Bootstrapper that detects the system language

2006-08-25 Thread Chesong Lee
for 'y' 2. Or launch separate MSI for 'y' Chesong Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Petrut Andrei Sent: Friday, August 25, 2006 9:35 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Bootstrapper that det

Re: [WiX-users] Creation of Setup.exe

2006-08-25 Thread Chesong Lee
Microsoft Platform SDK contains an example of setup.exe with source codes.   http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en     Chesong Lee   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vo

Re: [WiX-users] Citrix and FilesInUse

2006-08-22 Thread Chesong Lee
aybe there is a better way than this, which I do not know yet. Regards, Chesong Lee -Original Message- From: Alexander Biryukov [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 22, 2006 12:36 PM To: Chesong Lee; Nat Luengnaruemitchai; wix-users@lists.sourceforge.net Subject: Re: [WiX-use

Re: [WiX-users] Citrix and FilesInUse

2006-08-22 Thread Chesong Lee
. Dialog can be invoked from the custom action with MsiProcessMessage (FilesInUseDialog can be specified with INSTALLMESSAGE_FILESINUSE).   Regards,   Chesong Lee   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nat Luengnaruemitchai Sent: Tuesday, August 22, 2006 7:39

Re: [WiX-users] WcaAddTempRecord with ScrollableText

2006-08-22 Thread Chesong Lee
. Regards, Chesong Lee UINT __stdcall ReplaceEula(MSIHANDLE hInstall) { // // Fill lpEula in RTF format as you wish // // EULA File Content is MBCS (RTF) not Unicode // XTL::AutoProcessHeapPtr lpEula = pReadEulaFromFile(hInstall); if (NULL

Re: [WiX-users] The property name that I set on the command line becomes all upper cased

2006-08-16 Thread Chesong Lee
://msdn.microsoft.com/library/default.asp?url="">     Regards,   Chesong Lee From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dangle123 ... Sent: Wednesday, August 16, 2006 5:24 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] The property name that I set o

Re: [WiX-users] Vista -Error in SchedServiceConfig

2006-08-14 Thread Chesong Lee
fig is an immediate action. If immediate custom action or impersonating deferred custom action use administrative privileges, UAC may interfere in Vista, doesn't it? Regards, Chesong Lee -Original Message- From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Monday, August 14, 2006 2

Re: [WiX-users] dynamic library registration

2006-08-13 Thread Chesong Lee
Take a look at in C:\Program Files\Common Files\Merge Modules if you have Visual Studio installed in your system. Otherwise, you may download from http://www.installshield.com/downloads/modules.asp?prod=cx&lan=english&xmlUse=y Regards, Chesong Lee -Original Message- From

Re: [WiX-users] Vista -Error in SchedServiceConfig

2006-08-12 Thread Chesong Lee
starting/stopping services without privileged access. If the current SchedServiceConfig does not work fine, it may require review for Vista UAC friendliness, not for changing it to deferred CA.   Regards,   Chesong Lee     From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob

Re: [WiX-users] RichEdit2.0 Problem while wix is running

2006-08-11 Thread Chesong Lee
harsh for developers as they are required to create their own UI if they want to provide as much as user-friendly UI as Office provides. Regards, Chesong Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Magus Sent: Friday, August 11, 2006 4:44 PM To

Re: [WiX-users] Multi-language msi

2006-08-07 Thread Chesong Lee
s for prior comments, I thought you were using single MSI for multiple languages without transforms. But in your case, there will be no problem for different code pages as long as transforms are used and main msi code page is "0". Regards, Chesong Lee -Original Message- From: [

Re: [WiX-users] Multi-language msi

2006-08-05 Thread Chesong Lee
operating systems - Windows 9x. Regards, Chesong Lee From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Lemire Sent: Saturday, August 05, 2006 8:22 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Multi-language msi Hi, We are currently using the MsiTran / SummaryInfo

Re: [WiX-users] Caching shortcut icons?

2006-08-04 Thread Chesong Lee
little bit for updating rows containing binary columns (OLE storage limitation, mentioned in MSDN). So the first one is the one we use at this time.   Regards,   Chesong Lee   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Calin Iaru Sent: Friday, August 04, 2006 4:55

Re: [WiX-users] Restrictions on API used in MSI

2006-08-03 Thread Chesong Lee
Use MsiBreak environment variable instead. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/debugging_custom_actions.asp Chesong Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Magus Sent: Thursday, August 03, 2006 1:23 PM

Re: [WiX-users] 2 License in 1 ScrollableText Control

2006-08-02 Thread Chesong Lee
s the only way to achieve the goal with DELETE and INSERT_TEMPORARY. I have never succeeded any other way around. Regards, Chesong Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Magus Sent: Wednesday, August 02, 2006 7:58 PM To: wix-users@lists.sourc

Re: [WiX-users] Another question about MSM

2006-08-02 Thread Chesong Lee
custom action engine. Regards, Chesong Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter G. Sakhno Sent: Wednesday, August 02, 2006 12:43 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Another question about MSM Hello. I have authored

Re: [WiX-users] custom action to write a reg value

2006-08-01 Thread Chesong Lee
.   Regards,   Chesong Lee   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Don Tasanasanta Sent: Tuesday, August 01, 2006 6:55 PM To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] custom action to write a reg value   Sorry I didn’t explain

Re: [WiX-users] Device scan before install

2006-07-29 Thread Chesong Lee
ecommended by DDK. Take a look at what DIFx can do for you and make use of it. Regards, Chesong Lee -Original Message- From: Calin Iaru [mailto:[EMAIL PROTECTED] Sent: Friday, July 28, 2006 7:21 AM To: Chesong Lee Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Device s

Re: [WiX-users] Device scan before install

2006-07-28 Thread Chesong Lee
can* be run in Local System Context. The former is the requirement for custom actions which changes the system. The latter allows normal users to install the package if privileged installation is allowed by the group policy. Regards, Chesong Lee -Original Message- From: Calin

Re: [WiX-users] Device scan before install

2006-07-28 Thread Chesong Lee
Take a look at DIFx (http://www.microsoft.com/whdc/driver/install/DIFxFAQ.mspx) if it can help you. Otherwise, you may have to create your own custom actions to force such actions using SetupDi APIs. Consult devcon samples in DDK as a reference. Regards, Chesong Lee -Original Message

Re: [WiX-users] Difx, Authenticode and Driver Signing

2006-07-28 Thread Chesong Lee
.   Authenticode signing is also applicable only for Windows 2003 Server or later platforms.   Regards,   Chesong Lee   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shmarya Rubenstein Sent: Wednesday, July 26, 2006 6:32 AM To: wix-users