[WiX-users] heat.exe does not export COM information for a .NET component dll

2010-08-31 Thread Lian Jiang
Hi, I am using WIX 3.0 to export the COM registry setting from a managed component dll but I only get a file without the COM information. I can use regasm to registery this dll. I use the same heat.exe to export another .net component dll successfully. The only difference of these two dlls

[WiX-users] PatchClassificationType

2010-02-19 Thread Lian Jiang
Hi, There are below patch classes specified in WIX chm file: Critical Update, Hotfix, Security Rollup, Service Pack, Update, Update Rollup Is below classification correct? Small update: critical update, hotfix, security rollup, update, update rollup; Minor upgrade: Service Pack. Thanks Lian

[WiX-users] recommended way to uninstall previous small updates

2010-02-19 Thread Lian Jiang
Hi, I am using windows update to release the small updates (QFEs) after V1 RTM. Suppose I have QFE1 (released earlier) and QFE2 (released later). QFE1 should be uninstalled before QFE2 is installed so that any new QFE can use the RTM image as base. What is the recommended way to uninstall

[WiX-users] registry info extraction for native COM dll

2010-02-11 Thread Lian Jiang
Hi, Maybe this is an old topic but I did not find much information online. To install a COM component, I need to extract COM information from the dll first. In Wix2.0, tallow.exe can extract the information from a managed COM dll, but it does not work for a native COM dll. According to post

Re: [WiX-users] registry info extraction for native COM dll

2010-02-11 Thread Lian Jiang
- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: 11 February 2010 10:58 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] registry info extraction for native COM dll Hi, Maybe this is an old topic but I did not find much information online. To install a COM

Re: [WiX-users] registry info extraction for native COM dll

2010-02-11 Thread Lian Jiang
the environment you are calling heat. -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Thursday, February 11, 2010 3:26 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] registry info extraction for native COM dll Thanks for reply

Re: [WiX-users] registry info extraction for native COM dll

2010-02-11 Thread Lian Jiang
I've never met a COM Dll where the 64-bit registration was different from the 32-bit, so if there is a 32-bit version just use those. What's the difference between them?? Phil Wilson -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Thursday, February 11, 2010 10

Re: [WiX-users] Override V1 launch condition using a patch made by pyro.exe

2010-02-09 Thread Lian Jiang
diff.wixmsf and the un-working one. Is there anything I missed when splitting a file component from the main wxs? Thanks Lian -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: 2010年2月8日 13:01 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX

Re: [WiX-users] Override V1 launch condition using a patch made by pyro.exe

2010-02-08 Thread Lian Jiang
I tried to put the launch conditions in the patch.wxs's fragment but light.exe threw Patches cannot contain the 'LaunchCondition' table.. Is there a way to change the launch conditions using a pyro patch? Thanks Lian -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com

Re: [WiX-users] Override V1 launch condition using a patch made by pyro.exe

2010-02-08 Thread Lian Jiang
they came from, into your patch, your patch family shouldn't have any children at all (it defaults to all changes in the MSI). -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Saturday, February 06, 2010 4:40 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users

Re: [WiX-users] Override V1 launch condition using a patch made by pyro.exe

2010-02-08 Thread Lian Jiang
.' Subject: Re: [WiX-users] Override V1 launch condition using a patch made by pyro.exe Is MyFileComponent in the same fragment as both versions of the Condition element? Are you using the .wixpdb files to generate your .wixmst file? -Original Message- From: Lian Jiang [mailto:lji

[WiX-users] Override V1 launch condition using a patch made by pyro.exe

2010-02-06 Thread Lian Jiang
Hi, In V1, I have a launch condition: Condition Message=Uninstall is not supportedREINSTALL or Not Installed/Condition I want to override it with below condition in V2: Condition Message=Uninstall is not supported![CDATA[NOT(REMOVE)]]/Condition If I use a patch made by MSIMSP.EXE, it can be

[WiX-users] rename a file in a patch made using Pyro.exe

2010-02-05 Thread Lian Jiang
Hi, I am using Pyro.exe to make a patch. When I change the Name and Source attributes of a file (KeyPath='yes'), Pyro threw error Patches cannot change the keypath of a component. This behavior is confirmed by http://blogs.msdn.com/pmarcu/archive/2007/06/28/sample-patch.aspx: The first error

[WiX-users] how to create a wixproj for building WIXMSP file

2010-02-04 Thread Lian Jiang
Hi, I want to create a project in Visual Studio to build a WIXMSP used by Wix's Pyro.exe. However, WIX's wix.targets file only support project type PatchCreation which builds a PCP used by MSIMSP. Does anybody have the experience to create a wix project for WIXMSP? Otherwise, I have to use

Re: [WiX-users] how to create a DisplayResourceDll for ShortCut element

2010-01-20 Thread Lian Jiang
different experiment results. Thanks Leon On Tue, Jan 19, 2010 at 1:00 PM, Blair os...@live.com wrote: Yes, that should work. -Original Message- From: Lian Jiang [mailto:jiangok2...@gmail.com] Sent: Tuesday, January 19, 2010 10:28 AM To: General discussion for Windows Installer XML

Re: [WiX-users] how to create a DisplayResourceDll for ShortCut element

2010-01-19 Thread Lian Jiang
Name=Product DisplayResourceId=102 DisplayResourceDll=Product.exe/ /Component Component ... Directory=InstallDir-en-US File Source=en-US\Product.exe.mui/ /Component Component ... Directory=InstallDir-es-ES File Source=es-ES\Product.exe.mui/ /Component -Original Message- From: Lian

[WiX-users] how to create a DisplayResourceDll for ShortCut element

2010-01-18 Thread Lian Jiang
Hi, Could anybody provide a sample/reference about how to author a resource DLL used by ShortCut element? I don't quitely understand this descript from WIX document: The Formatted string providing the full path to the language neutral file containing the MUI Manifest. Generally authored using

Re: [WiX-users] how to prevent uninstalling MSI using msiexec with Guid

2009-11-18 Thread Lian Jiang
with Guid Why are you preventing people from uninstalling your product? You're never going to be able to upgrade your installation or repair it. Rob Lian Jiang wrote: This one worked for me: Condition Message=Uninstall is not supportedREINSTALL or Not Installed/Condition Thanks Lian

[WiX-users] how to prevent uninstalling MSI using msiexec with Guid

2009-11-16 Thread Lian Jiang
Hi, If necessary, is it possible to prevent users from uninstalling an installed MSI by using guid in command line (e.g. msiexec /x {Guid})? Appreciate any advice. Thanks Lian -- Let Crystal Reports handle the

Re: [WiX-users] how to prevent uninstalling MSI using msiexec with Guid

2009-11-16 Thread Lian Jiang
This one worked for me: Condition Message=Uninstall is not supportedREINSTALL or Not Installed/Condition Thanks Lian -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Monday, November 16, 2009 11:59 AM To: General discussion for Windows Installer XML toolset

[WiX-users] how to get pdb file for customaction.CA.dll

2009-11-04 Thread Lian Jiang
Hi, I am using managed customaction.dll. The build infrastructure spins a native wrapper customaction.CA.dll without a PDB file. Can I get a PDB file for CustomAction.CA.dll by changing the build process? Thanks Lian

[WiX-users] how to overwrite a system protected file using Wix and its utils

2009-10-27 Thread Lian Jiang
Hi, I am trying to use my own file to replace a system protected file under c:\windows. I can use sfpcopy.exe (or related windows API) to do this in a custom action but I would like to know whether Wix and its utils can do this natively. Thanks for any clue. Thanks Lian

[WiX-users] repair in add/remove program without the original msi

2009-10-21 Thread Lian Jiang
Hi, In our product, after user1 installs the MSI, user1 will remove the original MSI and then give the machine to user2. For example, the user1 installs the MSI from a remote share and user2 will have no access to the remote share. This will disable repair through add/remove program for user2

Re: [WiX-users] LCID and language/culture fallback

2009-10-12 Thread Lian Jiang
, but summary codepages can't be utf-8 anyway, so I usually require that summary info (the stuff that is set using the Package element) be 7-bit ASCII (a codepage of 0) forcing that to be entirely in English for all packages. -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent

[WiX-users] LCID and language/culture fallback

2009-10-11 Thread Lian Jiang
Hi, My installer has a wixproj for each culture/locale. For example, I have LCID=1028 for Chinese-Taiwan, LCID=1033 for en-US. However, this requires one wixproj for each culture/locale instead of each language. For example, Chinese-Taiwan culture and Chinese-Hongkong culture cannot share one

Re: [WiX-users] is there a way to ignore one error code instead of all?

2009-10-01 Thread Lian Jiang
Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Wednesday, September 30, 2009 2:32 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] is there a way to ignore one error code instead of all? Hi, I have a custom action which need a reboot. If I do

[WiX-users] how to add language neutral Everyone user to a group

2009-09-30 Thread Lian Jiang
Hi, My installer adds Everyone user to a group using this VBscript: set group=GetObject(WinNT://./remote desktop users) group.add WinNT://everyone Unfortunately, it does not work on non-en-us locale machines. I guess Everyone need to be localized or I should use SID instead of

Re: [WiX-users] how to create a MSU file?

2009-09-30 Thread Lian Jiang
. This may be useful to you: http://support.microsoft.com/kb/934307 Brant Gurganus http://gurganus.name/brant On Wed, Sep 30, 2009 at 12:45 PM, Lian Jiang lji...@microsoft.com wrote: Hi, Does anybody have any reference about how to create a MSU file? I get no luck by searching online

[WiX-users] is there a way to ignore one error code instead of all?

2009-09-30 Thread Lian Jiang
Hi, I have a custom action which need a reboot. If I do not ignore the return, my installer will fail due to error 1603. But if I do ignore the return, it is risky that this custom action fails due to other reason and the installer does not rollback. Is there a way to constraint this custom

[WiX-users] how to localize Bamp;rowse...?

2009-09-28 Thread Lian Jiang
Hi, How can I localize Bamp;rowse... in my wxl file? Thanks Lian -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your

Re: [WiX-users] how to localize Bamp;rowse...?

2009-09-28 Thread Lian Jiang
: Lian Jiang [mailto:lji...@microsoft.com] Sent: Monday, September 28, 2009 6:01 PM To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] how to localize Bamp;rowse...? Hi, How can I localize Bamp;rowse... in my wxl file? Thanks Lian

Re: [WiX-users] Return='ignore' causes ICE68: invalid custom action type for action

2009-09-23 Thread Lian Jiang
Thanks Blair. Sorry I missed the real error. -Original Message- From: Blair [mailto:os...@live.com] Sent: Tuesday, September 22, 2009 12:57 PM To: Lian Jiang Cc: 'General discussion for Windows Installer XML toolset.' Subject: RE: [WiX-users] Return='ignore' causes ICE68: invalid custom

Re: [WiX-users] Return='ignore' causes ICE68: invalid custom action type for action

2009-09-22 Thread Lian Jiang
: invalid custom action type for action Could you send the lines from the log starting from InstallWindowsFeaturesDeferred returning to the second mention of rollback following the above line? Also, which version of MSI? -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent

[WiX-users] Return='ignore' causes ICE68: invalid custom action type for action

2009-09-21 Thread Lian Jiang
Hi, I have a custom action: CustomAction Id=InstallWindowsFeatures Property=InstallWindowsFeaturesDeferred Value='[WindowsFolder]Sysnative\dism.exe /online /NoRestart /enable-feature /featurename:NetFx3 /featurename:Xps-Foundation-Xps-Viewer

Re: [WiX-users] Return='ignore' causes ICE68: invalid custom action type for action

2009-09-21 Thread Lian Jiang
be your deferred InstallWindowsFeaturesDeferred action. That is the one that actually runs your dism.exe utility. -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Monday, September 21, 2009 4:27 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX

[WiX-users] pseudo-loc UI shows {WixUI_Font_Bigger} {WixUI_Font_Title}

2009-09-20 Thread Lian Jiang
Hi, Our pseudo-localized installer shows {WixUI_Font_Bigger} {WixUI_Font_Title} on all install windows. We just reused Wix's dialogs and localized the Wix strings. The same behavior was observed in one of our previous project's installer. How can we fix this issue? Appreciate your help!

Re: [WiX-users] pseudo-loc UI shows {WixUI_Font_Bigger} {WixUI_Font_Title}

2009-09-20 Thread Lian Jiang
the \ characters found within the curly braces in your .wxl files? Could your TextStyle table have been somehow affected by your localization activities? http://msdn.microsoft.com/en-us/library/aa367524(VS.85).aspx -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent

[WiX-users] using dism.exe in my custom action

2009-09-17 Thread Lian Jiang
Hi, I am trying to use dism.exe in one of my custom actions for Windows server 2008 R2. There are two dism.exe, one in c:\windows\system, the other in c:\windows\syswow64. No matter which one I use, running msi fails with this error: You cannot service a running 64-bit operating system with

[WiX-users] launching page localization

2009-09-15 Thread Lian Jiang
Hi, I localized all strings used in my installer UI. The installer is a MUI based msi which means the same MSI can work on different locale machines and shows the strings in the corresponding locale. All dialogs works fine except that the launching page (the verify first dialog showing

[WiX-users] Microsoft Update and MUI-based MSI/MSP

2009-08-30 Thread Lian Jiang
Hi, My installer is MUI-based MSI file. In other words, the user can use this MSI file to install the product on machines having different locales and the installer wizard will show localed text. For example, the installer shows english string for a machine having en-US locale and shows

Re: [WiX-users] cannot make powershell custom action work on 64-bit windows 2008 R2

2009-08-24 Thread Lian Jiang
). Cheers Lian -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Sunday, August 23, 2009 9:33 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] cannot make powershell custom action work on 64-bit windows 2008 R2 There is a typo

Re: [WiX-users] cannot make powershell custom action work on 64-bit windows 2008 R2

2009-08-23 Thread Lian Jiang
powershell custom action work on 64-bit windows 2008 R2 I'm hoping that the extra spaces in the TestDeferred custom action declaration's Id attribute are an artifact of either your or my email client and not what you have in code. -Original Message- From: Lian Jiang [mailto:lji

[WiX-users] Create any folder specified by user

2009-08-22 Thread Lian Jiang
Hi, Without using custom action, can I use Wix to declaratively create a folder whose path is specified by user during installation? For example, my application is installed in C:\program files\myapp, and the installer need to create a folder D:\anyfolder specified by the user during

Re: [WiX-users] Create any folder specified by user

2009-08-22 Thread Lian Jiang
and short names for both Source and Destination). The various attributes to the WiX Directory element (except for Id) encode the DefaultDir column. -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Saturday, August 22, 2009 12:22 AM To: General discussion for Windows

[WiX-users] cannot make powershell custom action work on 64-bit windows 2008 R2

2009-08-22 Thread Lian Jiang
Hi, I have a custom action where CAQuietExec calls a powershell command. CustomAction Id=Test Property=TestDeferred Value='c:\windows\syswow64\WindowsPowerShell\v1.0\powershell.exe -NoLogo -NoProfile -NonInteractive get-help'

[WiX-users] strong name sign for C# customaction.dll

2009-08-21 Thread Lian Jiang
Hi, I asked the same question a while ago. After some experiment, I repost this question with more information. It is very important for me because the C# custom action solution cannot scale without resolving signing issue. Without strong name signed, customaction.dll cannot consume other

[WiX-users] delete files at the end of installation.

2009-08-21 Thread Lian Jiang
I am installing a driver using my own install.exe and the *.sys file. I cannot use wix difx to install the driver for some reason. Difx element has an attribute DeleteFiles which will delete the *.sys file at the end of installation if set TRUE. Interestingly, DIFX installation process seems

[WiX-users] IPersistFile::Save return 0x8007007b in custom action.

2009-08-20 Thread Lian Jiang
Hi, I have a custom action which creates a link (shortcut). The calling process between layers is: a) The function of creating link is implemented in a C++ DLL. It uses IPersistFile::Save to save the link. b) The function is wrapped in C# code using P/invoke. c) My C# custom

Re: [WiX-users] IPersistFile::Save return 0x8007007b in custom action.

2009-08-20 Thread Lian Jiang
0x8007007b in custom action. Not sure, but why aren't you using MSI's Shortcut table instead of rolling your own? -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Thursday, August 20, 2009 10:40 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX

Re: [WiX-users] IPersistFile::Save return 0x8007007b in custom action.

2009-08-20 Thread Lian Jiang
I figured out that how to do below thing using shortcut table: create a shortcut under $(env.SYSTEMDRIVE)\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start menu\Programs\Startup Thanks for reminder. Cheers Lian -Original Message- From: Lian Jiang Sent: Thursday

Re: [WiX-users] create a shortcut pointing to different targets according to different locales

2009-08-15 Thread Lian Jiang
Thanks Chris. You are right about you need the ability to switch locales after the install has been completed or you have different locales on the same machine for different users. Sorry for the confusion. Regarding your question How does this executable determine what CHM file to use?, my

[WiX-users] Can an installer use a file (extracted to the temparory file extraction directory) but not actually install it?

2009-08-15 Thread Lian Jiang
Hi, I have a driver file mydriver.sys which will be installed to c:\windows\system32. What I am doing is: Step 1: install mydriver.sys to c:\program files\myapp; Step 2: a custom action install this driver file to c:\windows\systems. Therefore, after installation, mydriver.sys exists in two

Re: [WiX-users] create a shortcut pointing to different targets according to different locales

2009-08-14 Thread Lian Jiang
), if you do that then you could even localize the shortcut string. You could of course install all the help and have a shortcut to each language labeled as such. Dave -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: 14 August 2009 06:13 To: General discussion

[WiX-users] create a shortcut pointing to different targets according to different locales

2009-08-13 Thread Lian Jiang
Hi, My project has a CHM file for each locale. For example, one for en-us and one for ja-jp. Can I create a shortcut which loads en-us CHM when OS locale = en-us and loads ja-jp CHM when OS locale = ja-JP. I am thinking that this shortcut can point to an executable (say LoadCHM.exe) which

[WiX-users] how to refactor my code to support multiple locales easier

2009-08-12 Thread Lian Jiang
Hi, I have below file structure for supporting multiple locales: \MyInstaller \en-us Myinstaller_en.wixproj Main_en.wxs \ja-jp Myinstaller_ja.wixproj Main_ja.wxs The only difference between Main_en.wxs and Main_ja.wxs is that the former

Re: [WiX-users] how to refactor my code to support multiple localeseasier

2009-08-12 Thread Lian Jiang
that contains unique GUIDs and a unique path. Now, any changes on how the plug-ins are installed is made is one file (or set of files) and is propogated across the 10+ plug-ins. From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Wed 8/12/2009 6:05 PM To: General

Re: [WiX-users] how to refactor my code to support multiple locales easier

2009-08-12 Thread Lian Jiang
-Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Wednesday, August 12, 2009 6:05 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] how to refactor my code to support multiple locales easier Hi, I have below file structure for supporting

[WiX-users] can an installer launch a UI application when the user clicks the Finish button?

2009-08-07 Thread Lian Jiang
Hi, Is it possible that the installer launches a UI application when the user clicks Finish button? Thanks for any clue. Thanks Lian -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day

Re: [WiX-users] is it possible to disable user uninstall while still enable major upgrade?

2009-08-04 Thread Lian Jiang
, 2009 6:24 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] is it possible to disable user uninstall while still enable major upgrade? Lian Jiang wrote: I agree it sounds like a strange requirement for most projects which I didn't even believe at the beginning

[WiX-users] document for burn

2009-08-04 Thread Lian Jiang
Hi, I am selecting a bootstrapper for my msi and am looking into Burn in 3.5.0529.0. Is this version stable enough for serious use? If yes, is there any document giving more details about how to use burn? This is the only document I can find about burn:

Re: [WiX-users] document for burn

2009-08-04 Thread Lian Jiang
the right language transform to show localized UI. Does anyone know any good option(s)? Thanks Lian -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Tuesday, August 04, 2009 3:33 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users

Re: [WiX-users] is it possible to disable user uninstall while still enable major upgrade?

2009-08-03 Thread Lian Jiang
Any idea? Thanks. -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Sunday, August 02, 2009 1:17 PM To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] is it possible to disable user uninstall while still enable major upgrade? Hi, I

[WiX-users] is it possible to disable user uninstall while still enable major upgrade?

2009-08-02 Thread Lian Jiang
Hi, I have an msi which support uninstallation and major upgrade. Now I want to update it for below purposes: (1)Users cannot use this msi to uninstall, which means: (1.1) A user right clicks my application item in Add/Remove programs, he can only see repair option, no remove

Re: [WiX-users] is it possible to disable user uninstall while still enable major upgrade?

2009-08-02 Thread Lian Jiang
...@joyofsetup.com] Sent: Sunday, August 02, 2009 2:36 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] is it possible to disable user uninstall while still enable major upgrade? Lian Jiang wrote: (1)Users cannot use this msi to uninstall, which means: Why would you

[WiX-users] Installer UI in high contrast

2009-07-27 Thread Lian Jiang
-- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's

[WiX-users] make a msi for all locales using MUI

2009-07-26 Thread Lian Jiang
Hi, My wix project (*.wixproj), which is built by msbuild, generates an msi for each locale. For example, one for en-us, one for es-es. Can I make a msi using MUI? In other words, I want to make only onee msi which is for all locales. Thanks for any hints. Lian

[WiX-users] strong name for C# custom action project

2009-07-22 Thread Lian Jiang
Hi, My msi uses custom action from C# custom action project. As you know, as C# custom action project will generate mycustom.dll and mycustom.CA.dll. The former is managed and the later is unmanaged. In my project, all binaries (including mycustom.dll and mycustom.CA.dll) are signed and the

Re: [WiX-users] strong name for C# custom action project

2009-07-22 Thread Lian Jiang
are signed I guess you are referring to authenticode signing? That's totally separate from strong name signing and definitely unrelated to the error. -Jason- -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Wednesday, July 22, 2009 8:13 AM To: General discussion

Re: [WiX-users] how to localize Error messages

2009-07-16 Thread Lian Jiang
Problem solved. Thanks. -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Wednesday, July 15, 2009 4:14 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] how to localize Error messages Hi, I reused WIX dialogs in my project

[WiX-users] how to localize Error messages

2009-07-15 Thread Lian Jiang
Hi, I reused WIX dialogs in my project. To localize the strings, I copied all the string from WIX to my own wxl file. After localization, I found the error strings are localized correctly. However, the msi still display English string for rebooting dialog. I tried to remove Error1703 string

Re: [WiX-users] install two services implemented in one executable.

2009-07-10 Thread Lian Jiang
Problem solved by using ShareProcess instead of ownProcess. Thanks Lian -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Thursday, July 09, 2009 7:48 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] install two services implemented

Re: [WiX-users] msi failure when using ServiceConfigFailureActions

2009-07-09 Thread Lian Jiang
ServiceConfigFailureActions Lian Jiang wrote: But installing msi failed with the message no enough priviledge. Check a verbose log for the exact error message. If I remove the ServiceConfigFailureActions node, the msi works fine. Did I miss anything when using ServiceConfigFailureActions? Are you

[WiX-users] install two services implemented in one executable.

2009-07-09 Thread Lian Jiang
Hi, I have an executable which implements two NT services. Running InstallUtil myservices.exe can install and start both services. How can I install it in WIX using ServiceInstall? I tried putting two ServiceInstall elements in one Component but they seems to install the same service (the

Re: [WiX-users] msi failure when using ServiceConfigFailureActions

2009-07-09 Thread Lian Jiang
Lian Jiang wrote: Yes, I am using win2k8 server R2. Sorry to forget mentioning this. What does a verbose log say? -- sig://boB http://joyofsetup.com/ -- Enter the BlackBerry Developer Challenge This is your chance to win

Re: [WiX-users] msi failure when using ServiceConfigFailureActions

2009-07-09 Thread Lian Jiang
Problem solved by using ShareProcess instead of ownProcess. Thanks Lian -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Thursday, July 09, 2009 7:54 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] msi failure when using

[WiX-users] msi failure when using ServiceConfigFailureActions

2009-07-08 Thread Lian Jiang
Hi, I am using wix3.5 and using ServiceConfigFailureActions in this way: ServiceInstall Id=AgentServiceInstaller Name=SRCAgentService DisplayName=Microsoft Shared Computing Agent Service Type=ownProcess

Re: [WiX-users] How to dynamically get current locale that my msi is built in?

2009-07-08 Thread Lian Jiang
are already supplied for you. -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Sunday, July 05, 2009 8:45 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to dynamically get current locale that my msi is built in? Thanks for any

Re: [WiX-users] How to dynamically get current locale that my msi is built in?

2009-07-06 Thread Lian Jiang
Problem solved. Thanks. -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Sunday, July 05, 2009 8:45 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to dynamically get current locale that my msi is built in? Thanks for any

Re: [WiX-users] How to dynamically get current locale that my msi is built in?

2009-07-05 Thread Lian Jiang
Thanks for any suggestion. -Original Message- From: Lian Jiang Sent: Friday, July 03, 2009 7:50 AM To: General discussion for Windows Installer XML toolset. Cc: Lian Jiang Subject: How to dynamically get current locale that my msi is built in? Hi, I have a wixproj which specifies

[WiX-users] How to dynamically get current locale that my msi is built in?

2009-07-03 Thread Lian Jiang
Hi, I have a wixproj which specifies Culturesen-us;es-es/Cultures. As you know, compiling this wixproj will create two MSIs located in en-us folder and es-es folder respectively. My installer installs a UI product and need to place the corresponding resource file to the installation folder.

[WiX-users] How to dynamically get current locale that my msi is built in?

2009-07-03 Thread Lian Jiang
Hi, I have a wixproj which specifies Culturesen-us;es-es/Cultures. As you know, compiling this wixproj will create two MSIs located in en-us folder and es-es folder respectively. My installer installs a UI product and need to place the corresponding resource file to the installation folder.

Re: [WiX-users] service failed to start. Verify that you have sufficient priviledge to start system services.

2009-06-28 Thread Lian Jiang
Problem solved. ServiceControl's name is wrong. Thanks Lian -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Saturday, June 27, 2009 9:40 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] service failed to start. Verify that you have

[WiX-users] service failed to start. Verify that you have sufficient priviledge to start system services.

2009-06-27 Thread Lian Jiang
Hi, I run this msi locally in an admin command line window, but the msi cannot start the service it just installed. The error is service failed to start. Verify that you have sufficient priviledge to start system services.. Below is my code and you can see I am using LocalSystem account. I can

[WiX-users] How to build a C# custom action project in CoreXT

2009-06-22 Thread Lian Jiang
Hi, I am using CoreXT and Wix3.5. A custom action project (*.csproj) cannot be built in the CoreXt. Does anyone have such experience and let me know how to do it? Appreciate your help. Thanks Lian -- Are you an

Re: [WiX-users] How to build a C# custom action project in CoreXT

2009-06-22 Thread Lian Jiang
Please ignore. Problem solved. Thanks Lian -Original Message- From: Lian Jiang Sent: Monday, June 22, 2009 12:43 PM To: 'General discussion for Windows Installer XML toolset.' Subject: How to build a C# custom action project in CoreXT Hi, I am using CoreXT and Wix3.5. A custom action

[WiX-users] DIFXAPP error 0xE000024A

2009-06-20 Thread Lian Jiang
Hi, I am using wix3.5.0529.0 and my msi throws below error: DIFXAPP: ERROR: InstallDriverPackages failed with error 0xE24A DIFXAPP: RETURN: InstallDriverPackages() 3758096970 (0xE24A) CustomAction MsiInstallDrivers returned actual error code 1603 (note this may not be 100% accurate if

[WiX-users] multiprocessor racing when compiling common wixlib

2009-06-19 Thread Lian Jiang
Hi, I use wix3.5 and msbuild in coreXT. There are two wix projects (say A and B) referencing to a common wixlib project. When these projects are built in a multi processor machine, it throws common.wixlib is used by another process.. I guess the procedure to generate this error is: Step 1. A