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
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
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
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
-
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
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
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
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
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
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
.'
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
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
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
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
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
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
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
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
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
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
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
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
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
, 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
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
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
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
.
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
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
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
: 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
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
: 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
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
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
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!
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
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
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
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
).
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
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
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
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
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'
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
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
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
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
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
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
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
), 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
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
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
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
-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
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
, 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
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:
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
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
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
...@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
--
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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.
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
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
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
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
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
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
87 matches
Mail list logo