[WiX-users] Adding temporary file to the Binary table

2015-07-02 Thread Wang, Miaohsi
Dear WiX Support, I've been trying to add a text file to an MSI package to be used by a custom action, but without success. I have added two files to the Binary table as shown below. Binary Id=CustomActions.dll SourceFile=..\CustomAction1\bin\Release\CustomAction1.CA.dll / Binary

[WiX-users] Bootstrapper Application DLL build error MC1000: Unknown build error, 'Cannot resolve dependency to assembly 'System.Windows

2013-12-11 Thread Wang, Miaohsi
Dear All, I followed an example from a book (Wix 3.6: A Developer's Guide to Windows Installer XML by Nick Ramirez, Chapter 16) to create a WiX bootstrapper application DLL. The project in this example has a WPF view and references the Microsoft.Practices.Prism assembly from SilverLight and

Re: [WiX-users] WiX 3.6: How to populdate a Combobox based on the value another Combobox on the same dialogbox?

2013-09-10 Thread Wang, Miaohsi
Thank you, Blair. - Miaohsi -Original Message- From: Blair Murri [mailto:os...@live.com] Sent: Monday, September 09, 2013 8:07 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] WiX 3.6: How to populdate a Combobox based on the value another Combobox

[WiX-users] WiX 3.6: How to populdate a Combobox based on the value another Combobox on the same dialogbox?

2013-09-09 Thread Wang, Miaohsi
Hello Everyone, I am trying to create a dialog box that has two combo boxes and the list items of the second combo box depends on the value of the first one. In other words, if the user changes the selected item in the first combo box, the list items in the second combo box are updated

Re: [WiX-users] WiX 3.6: SelectDbDlg [P]

2013-07-26 Thread Wang, Miaohsi
product.wxs file I have: DialogRef Id=GenericErrorDlg/ Then in my SQLConnectionDlog.wxs I have: Publish Event=SpawnDialog Value=GenericErrorDlg Order=4![CDATA[DATABASE_CONNECTION_ERROR = 0]]/Publish Steve -Original Message- From: Wang, Miaohsi [mailto:miaohsi.w...@invensys.com] Sent: July-25

[WiX-users] WiX 3.6: SelectDbDlg

2013-07-25 Thread Wang, Miaohsi
Hello all, I am trying to use SelectDbDlg in my WiX 3.6 project as shown below: Publish Event=NewDialog Value=SelectDbDlg/Publish When I built the install program I got the error below: error LGHT0094: Unresolved reference to symbol 'Dialog:SelectDbDlg' in section 'Fragment:' Note that I've

Re: [WiX-users] How can I loop through in C# custom action the Feature tree and detect the install state and install action for each one of the features?

2013-07-12 Thread Wang, Miaohsi
Hi Blair, Thank you for your help. I tried your suggestion and have a problem getting it work. Below is how the custom action, WriteModulesXml, is setup. This CA tries to access session.Features. Declaration: CustomAction Id=WriteModulesXml BinaryKey=CustomAction1.dll

Re: [WiX-users] WiX 3.6: How do I consolidate languages?

2013-07-10 Thread Wang, Miaohsi
Thanks a lot, Blair. That helps. - Miaohsi -Original Message- From: Blair Murri [mailto:os...@live.com] Sent: Tuesday, July 09, 2013 6:04 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] WiX 3.6: How do I consolidate languages? Not certain (is that

[WiX-users] How can I loop through in C# custom action the Feature tree and detect the install state and install action for each one of the features?

2013-07-10 Thread Wang, Miaohsi
Dear All, I am trying to find a way to loop through the Feature tree and detect the install state and install action for each one of the features in my C# custom action. Below is what I've found that I could use: FeatureInfo FeatureState = session.Features[feature_name]; From the FeatureState

[WiX-users] WiX 3.6: How do I consolidate languages?

2013-07-09 Thread Wang, Miaohsi
Dear all, I am converting an InstallShield project to WiX 3.6. The script below is executed in the InstallShield installer and I am having the problem of duplicating this in my C# WiX custom action. One WiX property related to this issue that I found from googling is SystemLanguageID, and

Re: [WiX-users] Need heat.exe to include extra file source subfolder

2013-07-01 Thread Wang, Miaohsi
Thank you very much for the information. - Miaohsi -Original Message- From: Blair Murri [mailto:os...@live.com] Sent: Friday, June 28, 2013 3:00 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Need heat.exe to include extra file source subfolder I'm

Re: [WiX-users] Automatic rollback on a setup prerequisite in WiX 3.6 Burn

2013-06-18 Thread Wang, Miaohsi
Hi Blair, Thank you for your help. The log file seems to indicate that the installation completed successfully, as shown below by the last part of the log file. Please let me know what else to look for. Thanks a lot, Miaohsi MSI (s) (48:B8) [15:30:06:234]: Executing op:

Re: [WiX-users] Automatic rollback on a setup prerequisite in WiX 3.6 Burn

2013-06-18 Thread Wang, Miaohsi
Hi Blair, Sorry, I was looking at the wrong file. Please ignore my previous mail. Below is the part of the logging that you wanted to take a look. I can see a few errors here, including my install program Client.msi. Can the failure of Client.msi installation cause the setup prerequisite to

[WiX-users] Automatic rollback on a setup prerequisite in WiX 3.6 Burn

2013-06-17 Thread Wang, Miaohsi
Hello, I am trying to include the MS SQL CE 3.5 SP2 as part of my setup prerequisites. However, this part rolls back after it completes. I turned on the DisplayInternalUI to see the last dialog box of the installation. After that, MSSQL CE got uninstalled and I got two install log files in the

Re: [WiX-users] Our WiX patch installer is very slow

2012-01-26 Thread Wang, Miaohsi
Message- From: Wang, Miaohsi [mailto:miaohsi.w...@invensys.com] Sent: 23 January 2012 19:53 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Our WiX patch installer is very slow Dear All, We create both our product base installer (version 6.0) and its upgrade installer (version 6.0.1

[WiX-users] Our WiX patch installer is very slow

2012-01-23 Thread Wang, Miaohsi
Dear All, We create both our product base installer (version 6.0) and its upgrade installer (version 6.0.1) in WiX. We also create the patch installer in WiX. However, the resulting msp file runs really slow (It takes longer than 30 minutes to complete.). In contrast, the patch installer

Re: [WiX-users] Can't find source code for WixUI_InstallDir.wxs

2011-12-20 Thread Wang, Miaohsi
Hello, Inside my download zip file of WiX 3.5, I found a file in the below path: wix35-sources.zip\src\ext\UIExtension\wixlib\InstallDirDlg.wxs Not sure if this is what you were looking for, but hope this helps. Regard, Miaohsi -Original Message- From: Alan Goode

[WiX-users] Bootstrapper FailIf message is not displayed

2011-12-19 Thread Wang, Miaohsi
Hello All, In our bootstrapper we are using a RegistryCheck to check a registry value and save the value in property PENDING_RENAME. If the value exists, the bootstratpper should fail and display an error message. The FailIf statement is shown below: FailIf Property=PENDING_RENAME

[WiX-users] Disk space requirements do not update

2011-11-18 Thread Wang, Miaohsi
Dear All, We are facing a problem that the DiskCostDlg does not show correct numbers. When we changed the target install location from C drive to D drive, the numbers for required space on the drives remained roughly the same. Any help will be much appreciated. Thanks a lot, Miaohsi ***

Re: [WiX-users] How to display the list of features to be installed

2011-10-28 Thread Wang, Miaohsi
I couldn't say. Almost all our installers have a single feature so it's not something I have an in-depth knowledge of. Can you not trigger control events from the UI ? -Original Message- From: Wang, Miaohsi [mailto:miaohsi.w...@invensys.com] Sent: 25 October 2011 23:38 To: General

Re: [WiX-users] How to display the list of features to be installed

2011-10-25 Thread Wang, Miaohsi
] How to display the list of features to be installed The first 4 properties under Feature Installation Options Properties would be the place to start. http://msdn.microsoft.com/en-us/library/aa370905%28VS.85%29.aspx#feature_inst allation_options_properties -Original Message- From: Wang

[WiX-users] How to display the list of features to be installed

2011-10-24 Thread Wang, Miaohsi
Dear All, We would like to display before entering the Execute sequence the list of features that the user selects to install, but do not know what the best approach would be. Specifically, the implementation involves getting the feature install status and organizing the features to install

Re: [WiX-users] Merge module files not getting registered

2011-07-08 Thread Wang, Miaohsi
, 2011 at 9:26 AM, Wang, Miaohsi miaohsi.w...@invensys.comwrote: Hi Rob, I added the two standard actions into the InstallExecuteSequence as you described (without attributes), but the result is the same. Those merge module files are still not getting registered when feature Server

Re: [WiX-users] Merge module files not getting registered

2011-07-07 Thread Wang, Miaohsi
). On Wed, Jul 6, 2011 at 8:50 AM, Wang, Miaohsi miaohsi.w...@invensys.comwrote: Dear All, We have two features (Client and Server) in an WiX installer and both of them include a merge module, called CFI. Some of the CFI files are self-registering. During the install runtime, if we select both

[WiX-users] Merge module files not getting registered

2011-07-06 Thread Wang, Miaohsi
Dear All, We have two features (Client and Server) in an WiX installer and both of them include a merge module, called CFI. Some of the CFI files are self-registering. During the install runtime, if we select both features to install, then these CFI files register properly. However, if we

Re: [WiX-users] Can an x86 msi create a registry key under HKEY_CLASSES_ROOT\Wow6432Node on x64 systems?

2011-07-05 Thread Wang, Miaohsi
\Classes and HKCU\Software\Classes for per user installs. http://msdn.microsoft.com/en-us/library/ms724475(VS.85).aspx -Original Message- From: Wang, Miaohsi [mailto:miaohsi.w...@invensys.com] Sent: 30 June 2011 16:35 To: General discussion for Windows Installer XML toolset. Subject: [WiX

[WiX-users] How can ignore .NET 3.5 setup prerequisite reboot prompt

2011-07-05 Thread Wang, Miaohsi
Hello All, I created a bootstrapper that installs .NET 3.5 on the target machine if it is not present. The problem is that after its installation, the bootstrapper prompts the user to reboot the machine. Is there a way to avoid this prompt? Thanks a lot for your help. Regards, Miaohsi ***

[WiX-users] Can an x86 msi create a registry key under HKEY_CLASSES_ROOT\Wow6432Node on x64 systems?

2011-06-30 Thread Wang, Miaohsi
Dear All, I have an x86 installer which needs to create a registry key under HKEY_CLASSES_ROOT\Wow6432Node on 64-bit machines. I created a component to do the task. The component installs fine but does not create the key on x64 systems. Is there a way to accomplish this with WiX? Your help

Re: [WiX-users] Can an x86 msi create a registry key under HKEY_CLASSES_ROOT\Wow6432Node on x64 systems?

2011-06-30 Thread Wang, Miaohsi
and HKCU\Software\Classes for per user installs. http://msdn.microsoft.com/en-us/library/ms724475(VS.85).aspx -Original Message- From: Wang, Miaohsi [mailto:miaohsi.w...@invensys.com] Sent: 30 June 2011 16:35 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Can

Re: [WiX-users] Can an x86 msi create a registry key under HKEY_CLASSES_ROOT\Wow6432Node on x64 systems?

2011-06-30 Thread Wang, Miaohsi
Please consider the environment before printing this e-mail -Original Message- From: Wang, Miaohsi [mailto:miaohsi.w...@invensys.com] Sent: Thursday, June 30, 2011 11:08 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Can an x86 msi create

[WiX-users] Control keyboard chortcut

2011-06-03 Thread Wang, Miaohsi
Dear All, Is there a way to enable the keyboard shortcut on a control on an install dialog? For example, instead of clicking on the Next button, the user can simply press the n key while holding down the Alt key to proceed to the next dialog. Your help will be greatly appreciated. Thanks,

Re: [WiX-users] Control keyboard chortcut

2011-06-03 Thread Wang, Miaohsi
Value=SelectionDialog / /Control -Original Message- From: Wang, Miaohsi [mailto:miaohsi.w...@invensys.com] Sent: Friday, June 03, 2011 11:41 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Control keyboard chortcut Dear All, Is there a way to enable

Re: [WiX-users] Control keyboard chortcut

2011-06-03 Thread Wang, Miaohsi
/how_7244596_hide-underlined-letters-keyboard.html Hope that helps some. Chad P.S. Another link to try for more sites in case the one above doesn't work. http://tinyurl.com/3sn7tso -Original Message- From: Wang, Miaohsi [mailto:miaohsi.w...@invensys.com] Sent: Friday, June 03, 2011 1:31

Re: [WiX-users] What registry keys/values to modify LastUsedSource

2011-05-24 Thread Wang, Miaohsi
registry keys in order to isolate yourself from possible differences between OSes. -Original Message- From: Wang, Miaohsi [mailto:miaohsi.w...@invensys.com] Sent: 23 May 2011 23:29 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] What registry keys/values

[WiX-users] What registry keys/values to modify LastUsedSource

2011-05-23 Thread Wang, Miaohsi
Dear All, After searching on the Internet, I'm still not sure about the exact registry keys/values to modify such that future Repair/Modify will use the msi that we cache locally on the machine hard drive. So far I have found value name LastUsedSource under the following two keys:

[WiX-users] How to cache msi for Modify/Repair to use

2011-05-17 Thread Wang, Miaohsi
Dear All, After installing our product, doing Modify/Repair from the Add Remove Programs window requires the original install package to be in the same location where the product is installed from. Does anyone know how to cache msi locally such that Modify/Repair the product via Add Remove

Re: [WiX-users] How to cache msi for Modify/Repair to use

2011-05-17 Thread Wang, Miaohsi
of actions that cache the MSI in a set location and handle any cleanup and registration that is required. Mat Skildum -Original Message- From: Wang, Miaohsi [mailto:miaohsi.w...@invensys.com] Sent: Tuesday, May 17, 2011 10:44 AM To: General discussion for Windows Installer XML toolset

Re: [WiX-users] A question about how to use DirectoryRef

2011-04-29 Thread Wang, Miaohsi
Hi Umesh, Thanks a lot for the idea. The problem seemed to have been resolved after we switched the custom actions that initialize the target folder values to type 35 (setting a directory value) from type 51 (setting a property value) and schedule them after CostFinalize. Thanks, Miaohsi

[WiX-users] A question about how to use DirectoryRef

2011-04-26 Thread Wang, Miaohsi
Dear group, We are creating an install program that allows the user to install the application files into three changeable locations, EXEROOT, PROGDATAROOT, and USERDATAROOT as shown below. These locations are given some default values at the beginning of the UI sequence before the Welcome

Re: [WiX-users] Could not harvest data from a 64bit dll

2011-03-22 Thread Wang, Miaohsi
To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Could not harvest data from a 64bit dll IIRC, the bug is still open. Did you find that it was resolved? On Fri, Mar 18, 2011 at 10:20 AM, Wang, Miaohsi miaohsi.w...@invensys.comwrote: Hi Rob, Has this issue been resolved

Re: [WiX-users] Could not harvest data from a 64bit dll

2011-03-18 Thread Wang, Miaohsi
Hi Rob, Has this issue been resolved? I tried using the heat.exe from WiX 3.5.2519 to extract COM data from a 64-bit dll and failed. Thanks, Miaohsi -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Wednesday, September 08, 2010 4:00 PM To: General discussion

[WiX-users] How can I abort the install?

2011-03-08 Thread Wang, Miaohsi
Dear All, I am working on a WiX installer that allows the user to install either the product or a third-party software. If the user selects to install the third-party software, the installer should launch the third-party installer, wait for it to complete, and then exit the install. Does

[WiX-users] Cannot execute Custom Action

2010-12-23 Thread Wang, Miaohsi
Dear All, I created an empty C++ custom action (a CA that does nothing) in VS2008 using its C++ CA dll template and tried to call the CA from a WiX 3.5 install program. I got the error below recorded in the install log file during the install: CustomAction1: Error 0x80070715: Failed to get

Re: [WiX-users] Custom action entrypoints

2010-11-10 Thread Wang, Miaohsi
- From: Wang, Miaohsi [mailto:miaohsi.w...@invensys.com] Sent: Monday, November 08, 2010 9:05 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom action entrypoints Hi Christopher and anyone who can help, Thanks a lot for responding to my question. I

[WiX-users] How can I create a shortcut or an executabe in a merge module?

2010-11-10 Thread Wang, Miaohsi
Dear All, We need to create a shortcut inside the application shortcut folder for an executable that exists in a merge module. I searched for a while in the Internet but did not find the exact information that I need. Currently I have the code below that does not work nor compile: Icon

Re: [WiX-users] Custom action entrypoints

2010-11-08 Thread Wang, Miaohsi
good thread that deserves attention? E-Mail Me - Original Message From: Wang, Miaohsi miaohsi.w...@invensys.com To: wix-users@lists.sourceforge.net wix-users@lists.sourceforge.net Sent: Wed, November 3, 2010 2:56:39 PM Subject: [WiX-users] Custom action entrypoints Hello, I created

[WiX-users] Custom action entrypoints

2010-11-03 Thread Wang, Miaohsi
Hello, I created a second custom action dll because of the max 16 entrypoint limit. I included the two CA dll's in my WiX install project as shown below: Binary Id=CustomActions1.dll SourceFile=.\CustomActions\CustomActions1\bin\Release\CustomActions1.CA.dll / Binary

Re: [WiX-users] Is VersionNT64 property supported in the MSVS bootstratpper?

2010-10-22 Thread Wang, Miaohsi
at it seems to have one of the following three values: Intel [for x86], amd64 [for x64], and IA64 [for ia64]. -Original Message- From: Wang, Miaohsi [mailto:miaohsi.w...@invensys.com] Sent: Thursday, October 21, 2010 12:18 PM To: General discussion for Windows Installer XML toolset. Subject

[WiX-users] Is VersionNT64 property supported in the MSVS bootstratpper?

2010-10-21 Thread Wang, Miaohsi
Hi Everybody, I have been trying to detect whether the platform is 32-bit or 64-bit using property VersionNT64 in my MSVS 2008 bootstrapper, but cannot get it to work correctly. The detection statement is as follows: BypassIf Property=VersionNT64 Compare=ValueExists Value=N/A for ValueExists

[WiX-users] Is VersionNT64 property supported in the MSVS bootstratpper and how to detect 32-bit vs 64-bit OS's?

2010-10-21 Thread Wang, Miaohsi
Hi Everybody, I have been trying to detect whether the platform is 32-bit or 64-bit using property VersionNT64 in my MSVS 2008 bootstrapper, but cannot get it to work correctly. The detection statement is as follows: BypassIf Property=VersionNT64 Compare=ValueExists Value=N/A for ValueExists

[WiX-users] ICE03 and ICE69 errors

2010-08-09 Thread Wang, Miaohsi
Hello, We are getting two ICE errors when building the msi: light.exe(0,0): error LGHT0204: ICE03: Not a valid foreign key; Table: Registry, Column: Value, Key(s): reg915A9E650BB0D354565B781E5858F979.58162F94_0C12_465B_AC53_1CA2F709F44B light.exe(0,0): error LGHT0204: ICE69: