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
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
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
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
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
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
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
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
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
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
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
--
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
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
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
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
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
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
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
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
. 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
.
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
://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
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
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
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
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
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: [
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
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
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
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
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
.
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
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
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
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
.
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
37 matches
Mail list logo