[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 are

[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 QFE

[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

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 1

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

2010-02-11 Thread Lian Jiang
our DLL's dependencies are fully met from 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

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

2010-02-11 Thread Lian Jiang
: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the ** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer

[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 h

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

2010-02-09 Thread Lian Jiang
1, condition is in product.wxs; in V2, the updated condition is in the fragment of file.wxs; I cannot see where is the issue by comparing the working 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

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

2010-02-08 Thread Lian Jiang
olset.' 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 [

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

2010-02-08 Thread Lian Jiang
r what fragment 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

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 [ma

[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: REINSTALL or Not Installed I want to override it with below condition in V2: If I use a patch made by MSIMSP.EXE, it can be patched using "msiexec /update patch.msp" successfully. It looks like windows installer uses the V2 launch condition to launch t

[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 erro

[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 th

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 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 Ins

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

2010-01-19 Thread Lian Jiang
s. That doesn't matter for the > purposes of this example either. > > ... > > > > > > > > > > ... > > > WorkingDirectory="InstallDir" Name="Product" DisplayResourceId="102" > DisplayResourceDll="Pro

[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
eventing 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: > > REINSTALL or Not > Installed > > Thanks > Lian > > -Original Message- > From: L

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

2009-11-16 Thread Lian Jiang
This one worked for me: REINSTALL or Not Installed 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. Subject: [WiX-users] how to prevent uninstalling MSI

[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 reportin

[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-11 Thread Lian Jiang
e using the wixlocalizati...@codepage attribute instead of supplying it on the Product element. You can't set the summary codepage this way, but summary codepages can't be utf-8 anyway, so I usually require that summary info (the stuff that is set using the element) be 7-bit ASCII (a co

[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 C

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

2009-10-01 Thread Lian Jiang
can talk one of us into doing it for you. -----Original 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

[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 ac

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

2009-09-30 Thread Lian Jiang
de of Microsoft. 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 wrote: > Hi, > > Does anybody have any reference about how to create a MSU file? > > I get no luck by searching

[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 instea

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

2009-09-30 Thread Lian Jiang
Hi, Does anybody have any reference about how to create a MSU file? I get no luck by searching online. :( Thanks Lian -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event y

Re: [WiX-users] how to localize "B&rowse..."?

2009-09-28 Thread Lian Jiang
I think I can do this: Take chinese simplified localization for example, "&Back" should be localized as "后退(&B)", "E&xit" should be localized as "退出(&x)". "B&rowse..." should be localiz

[WiX-users] how to localize "B&rowse..."?

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

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' ca

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

2009-09-22 Thread Lian Jiang
' causes "ICE68: 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:

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

2009-09-21 Thread Lian Jiang
lWindowsFeaturesDeferred 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-users] Return=&#x

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

2009-09-21 Thread Lian Jiang
Hi, I have a custom action: When I compile, it failed due to ICE68 - Invalid custom action type for action 'InstallWindowsFeatures'. If I bypass ICE68 when linking, running the msi will fail with "Custom action InstallWindowsFeatures specifies unsupported type". The trick is that if I

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

2009-09-20 Thread Lian Jiang
bigger font of the title. Thanks Lian -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Sunday, September 20, 2009 11:23 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] pseudo-loc UI shows {WixUI_Font_Bigger} & {WixUI_Font_T

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

2009-09-20 Thread Lian Jiang
//msdn.microsoft.com/en-us/library/aa367524(VS.85).aspx -----Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Saturday, September 19, 2009 11:27 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] pseudo-loc UI shows {WixUI_Font_Bigger} &am

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

2009-09-20 Thread Lian Jiang
wonderful file system redirector. Whichever of the two names you use, Windows forces the 32-bit custom action to use the file in SysWOW64. [WindowsFolder]Sysnative\dism.exe should do what you need. > From: Lian Jiang [mailto:lji...@microsoft.com] > Sent: Friday, September 18, 2009 1:07 AM >

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

2009-09-19 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!

[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 a

[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 somethi

[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 japanes

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
e are an artifact of either your or my email client and not what you have in code. -Original Message----- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Saturday, August 22, 2009 12:23 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] cannot make powershel

[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. For testing purpose, I just hardcoded the powershell.exe path. I also tried C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe but it gives the same error: MSI (s) (30:6C) [12:12:08:458]: Invoking remote

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

2009-08-22 Thread Lian Jiang
the DefaultDir column (which has sections for long 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] Se

[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 installat

[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 to

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

2009-08-20 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 sig

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] IPersistFile::Save return 0x8007007b in custom action.

2009-08-20 Thread Lian Jiang
e: [WiX-users] IPersistFile::Save return 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 discussio

[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 a

[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 loc

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

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 for

[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 loa

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

2009-08-12 Thread Lian Jiang
cept each Main_*.wxs will look like: And inside of Commonmain.wxi, you put: ... -Blair -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

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

2009-08-12 Thread Lian Jiang
nstalled 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 discussion for Windows Installer XML toolset. Subject: [WiX-users] how to refactor m

[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 u

[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 trial.

Re: [WiX-users] document for burn

2009-08-04 Thread Lian Jiang
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

[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: http://robmensching.com/blog/posts/2009/

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

2009-08-03 Thread Lian Jiang
nday, August 03, 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

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 upgrad

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

2009-08-02 Thread Lian Jiang
lto:b...@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: > Wh

[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 opt

[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 n

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

2009-07-25 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 -

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

2009-07-22 Thread Lian Jiang
ll binaries 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 T

[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 ms

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. To

[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 fr

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
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

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 cha

[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 fi

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 ServiceConfig

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

2009-07-08 Thread Lian Jiang
also use a !(loc.LCID) or similar string to set the Product/@Language value from your wxl files as well. Note that I usually never use the Windows Installer UI (and the WixUI, by extension), so I don't know if those values are already supplied for you. -Original Message----- From: Lian Ji

[WiX-users] msi failure when using ServiceConfigFailureActions

2009-07-07 Thread Lian Jiang
Hi, I am using wix3.5 and using ServiceConfigFailureActions in this way: But installing msi failed with the message "no enough priviledge". If I remove the ServiceConfigFailureActions node, the msi works fine. Did I miss anything when using

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 &qu

[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 "en-us;es-es". 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. For example, the

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

2009-07-02 Thread Lian Jiang
Hi, I have a wixproj which specifies "en-us;es-es". 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. For example, the

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

[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 ca

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 cus

[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 open

[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 t

[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.