Re: [WiX-users] How to use MsiGetProductInfo function?

2009-11-20 Thread Jiang, Chunyan (GE Healthcare)
Nachricht- Von: Jiang, Chunyan (GE Healthcare) Gesendet: Freitag, 20. November 2009 08:52 An: General discussion for Windows Installer XML toolset. Betreff: Re: [WiX-users] How to use MsiGetProductInfo function? Hi Peter, Sorry, I didn't post all the code here. Actually, my code is: TCHAR

Re: [WiX-users] How to retrieve ProductCode outside MSI

2009-11-19 Thread Jiang, Chunyan (GE Healthcare)
] Gesendet: Donnerstag, 19. November 2009 07:19 An: General discussion for Windows Installer XML toolset. Betreff: Re: [WiX-users] How to retrieve ProductCode outside MSI Outside the MSI you need to use the SQL statements to query the Property table. On Wed, Nov 18, 2009 at 7:26 AM, Jiang, Chunyan

[WiX-users] How to use MsiGetProductInfo function?

2009-11-19 Thread Jiang, Chunyan (GE Healthcare)
Hi, I tried to retrieve some information about installed Product, as bellow: TCHAR szProductName[100] = {0}; DWORD length(0); MsiGetProductInfoW(szProductCode,LInstalledProductName,szProductName, length); However, it always return ERROR_MORE_DATA. It sounds like that TCHAR

Re: [WiX-users] How to use MsiGetProductInfo function?

2009-11-19 Thread Jiang, Chunyan (GE Healthcare)
is too small. Try DWORD length = sizeof(szProductName)/sizeof(TCHAR); -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: 19 November 2009 16:12 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] How to use MsiGetProductInfo

[WiX-users] How to retrieve ProductCode outside MSI

2009-11-18 Thread Jiang, Chunyan (GE Healthcare)
Hi, I developed one app.msi to intall one app. And I need to develop one bootstraper.exe to retrieve the ProductCode of previously installed app. Since it is multiple instance installation, there will be more than one ProductCode. I have used some MSI functions to retrieve the property when

Re: [WiX-users] New Entry in Add/Remove Program when upgrade

2009-11-17 Thread Jiang, Chunyan (GE Healthcare)
-Ursprüngliche Nachricht- Von: Blair [mailto:os...@live.com] Gesendet: Freitag, 13. November 2009 18:24 An: Jiang, Chunyan (GE Healthcare); 'General discussion for Windows Installer XML toolset.' Betreff: RE: [WiX-users] New Entry in Add/Remove Program when upgrade As far as I know

Re: [WiX-users] New Entry in Add/Remove Program when upgrade

2009-11-13 Thread Jiang, Chunyan (GE Healthcare)
drop your requirement to install multiple versions to different paths simultaneously. -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Thursday, November 12, 2009 2:40 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX

Re: [WiX-users] New Entry in Add/Remove Program when upgrade

2009-11-12 Thread Jiang, Chunyan (GE Healthcare)
the installation paths of the installed versions the same as your custom action does, and will remove the old version(s) that match the installation paths either before or after (more efficient) it installs the upgrading version. -Original Message- From: Jiang, Chunyan (GE Healthcare

Re: [WiX-users] New Entry in Add/Remove Program when upgrade

2009-11-12 Thread Jiang, Chunyan (GE Healthcare)
-Ursprüngliche Nachricht- Von: Jiang, Chunyan (GE Healthcare) Gesendet: Donnerstag, 12. November 2009 10:06 An: General discussion for Windows Installer XML toolset. Betreff: Re: [WiX-users] New Entry in Add/Remove Program when upgrade Hi Blair, Thanks a lot for your suggestion. Here I

Re: [WiX-users] New Entry in Add/Remove Program when upgrade

2009-11-11 Thread Jiang, Chunyan (GE Healthcare)
requirement to leave multiple versions without forcing each to use a different path is the problem. It doesn't leave you with many options. -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Friday, November 06, 2009 1:59 AM To: General discussion

Re: [WiX-users] New Entry in Add/Remove Program when upgrade

2009-11-11 Thread Jiang, Chunyan (GE Healthcare)
action. This custom action only does remove the selected version, don't do the Detect, therefore don't touch version 2. Is it possible? And how to realize it? Regards, Chunyan -Ursprüngliche Nachricht- Von: Jiang, Chunyan (GE Healthcare) Gesendet: Mittwoch, 11. November 2009 10:38

Re: [WiX-users] Question on Listbox

2009-11-11 Thread Jiang, Chunyan (GE Healthcare)
would be interested to know the values of both hResult and error (which is an enumeration). Also, before the first call to WcaAddTempRecord, what were the values of hTable and hColumns? -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Tuesday

Re: [WiX-users] New Entry in Add/Remove Program when upgrade

2009-11-11 Thread Jiang, Chunyan (GE Healthcare)
touch version 2. Is it possible? And how to realize it? Regards, Chunyan -Ursprüngliche Nachricht- Von: Jiang, Chunyan (GE Healthcare) Gesendet: Mittwoch, 11. November 2009 10:38 An: General discussion for Windows Installer XML toolset. Betreff: Re: [WiX-users] New Entry in Add/Remove

[WiX-users] Write verbose log file to where app installed

2009-11-10 Thread Jiang, Chunyan (GE Healthcare)
Hi Wix-users, I would like to have verbose log to check installation. I know that it is possible to use command line to get log as: msiexec /i setup.msi /l verboselog.log Then the log file will be writen where setup.msi locates. However, I want the log file written into where the app

Re: [WiX-users] Link error for dutil.lib

2009-11-10 Thread Jiang, Chunyan (GE Healthcare)
An: General discussion for Windows Installer XML toolset. Betreff: [WiX-users] Link error for dutil.lib On Mon, 2 Nov 2009 16:20:21 +0100, Jiang, Chunyan (GE Healthcare) wrote: Chunyan, I tried to compile the sampleListbox from Wix Tutorial 10.1. I downloaded the source code and tried to build

Re: [WiX-users] Link error for dutil.lib

2009-11-10 Thread Jiang, Chunyan (GE Healthcare)
XML toolset. Betreff: Re: [WiX-users] Link error for dutil.lib Jiang, Chunyan (GE Healthcare) wrote: There is still not working for Visual Studio 2005. The error message: dutil.lib(precomp.obj) : fatal error LNK1103: debugging information corrupt; recompile module Use dutil_2005.lib

Re: [WiX-users] Link error for dutil.lib

2009-11-10 Thread Jiang, Chunyan (GE Healthcare)
Hi Bob, I changed both dutil.lib and wcautil.lib to _2005. Then the error is gone. Thanks for your help. Regards, Chunyan -Ursprüngliche Nachricht- Von: Jiang, Chunyan (GE Healthcare) Gesendet: Dienstag, 10. November 2009 14:20 An: General discussion for Windows Installer XML

[WiX-users] Question on Listbox

2009-11-10 Thread Jiang, Chunyan (GE Healthcare)
Hi wix-users, I want to use Listbox control to show some items on dialog. So I tried the sample in WiX Tutorial 10.1 I changed the sample a little bit for passing build: Add Property Id=LISTBOXVALUES Value=1/ To sampleListbox.wxs. Otherwise there is always error in verbose log that

Re: [WiX-users] WG: Upgrade and new install

2009-11-06 Thread Jiang, Chunyan (GE Healthcare)
: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Thursday, November 05, 2009 7:11 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] WG: Upgrade and new install I have searched the Product ID in registry edit. And removed them. But when I run

[WiX-users] New Entry in Add/Remove Program when upgrade

2009-11-06 Thread Jiang, Chunyan (GE Healthcare)
Hi wix-users, I developed one setup msi. And I want it to be upgradable. The requirement is: 1. Version 1 install to PathA. (New Install) 2. Version 2 install to PathB. (New Install) 3. Version 3 install to PathA. (Upgrade) The setup meets the requairment. However, when I perform the above

Re: [WiX-users] Link error for dutil.lib

2009-11-03 Thread Jiang, Chunyan (GE Healthcare)
Carlson -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Monday, November 02, 2009 7:20 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Link error for dutil.lib Hi wix-users, I tried to compile the sampleListbox

Re: [WiX-users] Use Radio button to control custom action

2009-11-02 Thread Jiang, Chunyan (GE Healthcare)
which is extremely helpful debugging these sorts of things. Just follow the Property name through the log. On Fri, Oct 30, 2009 at 4:37 AM, Jiang, Chunyan (GE Healthcare) chunyan.ji...@ge.com wrote: I modified the custom action as: CustomAction Id=MyCA FileKey=MyCA.exe ExeCommand=Call MyCA

[WiX-users] Link error for dutil.lib

2009-11-02 Thread Jiang, Chunyan (GE Healthcare)
Hi wix-users, I tried to compile the sampleListbox from Wix Tutorial 10.1. I downloaded the source code and tried to build the dll. However, I got the error: 1dutil.lib(precomp.obj) : fatal error LNK1103: debugging information corrupt; recompile module I updated my wix install to the latest

[WiX-users] Use Radio button to control custom action

2009-10-30 Thread Jiang, Chunyan (GE Healthcare)
Hi wix-users, I have one dialog, which has two radion buttons. I want to use this radio button to decide custom action to be called or not. Control Type=RadioButtonGroup Property=DoCA Id=Upgrade Width=50 Height=42 X=68 Y=100 RadioButtonGroup Property=DoCA RadioButton Value =DoIt Text=New

Re: [WiX-users] Use Radio button to control custom action

2009-10-30 Thread Jiang, Chunyan (GE Healthcare)
run the setup, whatever I select radio button DoIt or NotDoIt, the custom action always runs. Is there something wrong above that I define the property or custom action condition? Best regards, Chunyan -Ursprüngliche Nachricht- Von: Jiang, Chunyan (GE Healthcare) Gesendet: Freitag

Re: [WiX-users] Upgrade and new install

2009-10-29 Thread Jiang, Chunyan (GE Healthcare)
it make more sense to make those explicit in the MSI file itself and not hide it behind self-registration? In other words, get rid of that custom action entirely by making its side effects part of your installation. -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji

Re: [WiX-users] Upgrade and new install

2009-10-29 Thread Jiang, Chunyan (GE Healthcare)
into the objects DTF provides to do the same things. -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Thursday, October 29, 2009 3:21 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Upgrade and new install Hi

Re: [WiX-users] Upgrade and new install

2009-10-29 Thread Jiang, Chunyan (GE Healthcare)
Hi Blair, I googled how to create custom action dll. And the link error has been resolved. Now the question is how to complete the function as you suggested. Regards, Chunyan -Ursprüngliche Nachricht- Von: Jiang, Chunyan (GE Healthcare) Gesendet: Donnerstag, 29. Oktober 2009 14:50

Re: [WiX-users] Upgrade and new install

2009-10-28 Thread Jiang, Chunyan (GE Healthcare)
the chance of overwriting old versions. -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Tuesday, October 27, 2009 5:05 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Upgrade and new install Hi Blair, Thanks

Re: [WiX-users] How to change shortcut name?

2009-10-28 Thread Jiang, Chunyan (GE Healthcare)
- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Friday, October 23, 2009 1:42 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to change shortcut name? Hi Sascha, Thanks for your tip. I thought about using wix variable

Re: [WiX-users] Upgrade and new install

2009-10-27 Thread Jiang, Chunyan (GE Healthcare)
versions? What do your users expect when they run a newer installation package from you when they have an older version installed? -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Friday, October 23, 2009 2:48 AM To: General discussion for Windows

Re: [WiX-users] Upgrade and new install

2009-10-27 Thread Jiang, Chunyan (GE Healthcare)
is discovered in Version 1, how do you intend to address it? -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Tuesday, October 27, 2009 2:45 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Upgrade and new install Hi

Re: [WiX-users] Upgrade and new install

2009-10-27 Thread Jiang, Chunyan (GE Healthcare)
files in PathA. Those are not what I want. How to set conditions to InstallValidate. and RemoveFiles so that they will not work in this case? Regards, Chunyan -Ursprüngliche Nachricht- Von: Jiang, Chunyan (GE Healthcare) Gesendet: Dienstag, 27. Oktober 2009 13:05 An: General

Re: [WiX-users] Upgrade and new install

2009-10-23 Thread Jiang, Chunyan (GE Healthcare)
? -Ursprüngliche Nachricht- Von: Jiang, Chunyan (GE Healthcare) Gesendet: Donnerstag, 22. Oktober 2009 13:19 An: General discussion for Windows Installer XML toolset. Betreff: Re: [WiX-users] Upgrade and new install When I searched in Google, I found some one has the same problem as me

Re: [WiX-users] How to change shortcut name?

2009-10-23 Thread Jiang, Chunyan (GE Healthcare)
than at runtime? i.e. Shortcut/@Name=MyAPP $(var.version) Sascha On Thu, Oct 22, 2009 at 6:30 PM, Jiang, Chunyan (GE Healthcare) chunyan.ji...@ge.com wrote: Hi all, I have defined the shortcut like this: DirectoryRef Id=ShortcutFolder Component Id=DesktopShortcut Guid=D9DFCBA6-C98F-4146

Re: [WiX-users] Upgrade and new install

2009-10-23 Thread Jiang, Chunyan (GE Healthcare)
the registrysearch for all installed version. How to realize it? Regards, Chunyan -Ursprüngliche Nachricht- Von: Jiang, Chunyan (GE Healthcare) Gesendet: Freitag, 23. Oktober 2009 10:39 An: General discussion for Windows Installer XML toolset. Betreff: Re: [WiX-users] Upgrade and new install Hi

[WiX-users] Upgrade and new install

2009-10-22 Thread Jiang, Chunyan (GE Healthcare)
Hi Wix-users, I have developed one upgradable installer with Wix3. As I understand that main upgrade is same as new install. My scenario is that my version 1 has been installed to PathA. And I have an upgraded version 2. If I install version to to PathA, the old files are removed, the new files

[WiX-users] How to change shortcut name?

2009-10-22 Thread Jiang, Chunyan (GE Healthcare)
Hi all, I have defined the shortcut like this: DirectoryRef Id=ShortcutFolder Component Id=DesktopShortcut Guid=D9DFCBA6-C98F-4146-87D9-C4F83349C8EC Shortcut Id=DesktopShortcutMyAPP Name=MyAPP Directory=DesktopFolder Target=[APPLICATIONFOLDER]/MyAPP.exe WorkingDirectory=APPLICATIONFOLDER /

Re: [WiX-users] Upgrade and new install

2009-10-22 Thread Jiang, Chunyan (GE Healthcare)
Nachricht- Von: Jiang, Chunyan (GE Healthcare) Gesendet: Donnerstag, 22. Oktober 2009 09:04 An: General discussion for Windows Installer XML toolset. Betreff: [WiX-users] Upgrade and new install Hi Wix-users, I have developed one upgradable installer with Wix3. As I understand that main upgrade

Re: [WiX-users] Upgrade and new install

2009-10-22 Thread Jiang, Chunyan (GE Healthcare)
installer msi, select PathB, the problem is still there. Is there something wrong in the Registry define? How to change it? -Ursprüngliche Nachricht- Von: Jiang, Chunyan (GE Healthcare) Gesendet: Donnerstag, 22. Oktober 2009 09:04 An: General discussion for Windows Installer XML toolset

[WiX-users] How to make an updatable wix installer working as a new install

2009-10-21 Thread Jiang, Chunyan (GE Healthcare)
Hi Wix - users, I have developed one installer with Wix3. It is one upgradable installer. It has defination about upgrade: UpgradeCode=8517ae9a-667d-4bd3-9cea-4323be6d7040 Upgrade Id=8517ae9a-667d-4bd3-9cea-4323be6d7040 UpgradeVersion OnlyDetect=no Property=PREVIOUSFOUND Minimum=5.0.0.0

Re: [WiX-users] How to make an updatable wix installer working as anew install

2009-10-21 Thread Jiang, Chunyan (GE Healthcare)
to manage so I highly recommend reading the MSI SDK topics about it. On Wed, Oct 21, 2009 at 5:25 AM, Jiang, Chunyan (GE Healthcare) chunyan.ji...@ge.com wrote: Hi Wix - users, I have developed one installer with Wix3. It is one upgradable installer. It has defination about upgrade: UpgradeCode

[WiX-users] how to install the same version to different path

2009-10-16 Thread Jiang, Chunyan (GE Healthcare)
Hi Wix-users, I developed one installation package with Wix 3. And I installed the current version to my machine. If I want to install the same version again to my machine, just change the install path, the installation package doesn't work. It will always install to the last path. And it even

Re: [WiX-users] how to install the same version to different path

2009-10-16 Thread Jiang, Chunyan (GE Healthcare)
-instance-msis-and .html And finally, my humble input based on my own experience: http://ysdevlog.blogspot.com/2008/12/multiple-instance-installations-and .html Hope this helps. -- Yan -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Friday

[WiX-users] Load file by PARAFFIN, custom action not run

2009-10-16 Thread Jiang, Chunyan (GE Healthcare)
Hi Wix - users, I use PARAFFIN.exe to generated .WXS file to include and update the files. It is an excellent tool. See the link: http://www.wintellect.com/CS/blogs/jrobbins/archive/2007/10/21/wix-a-bet ter-tallow-paraffin.aspx?CommentPosted=true#commentmessage However, I have another problem.

Re: [WiX-users] Load file by PARAFFIN, custom action not run

2009-10-16 Thread Jiang, Chunyan (GE Healthcare)
file from a failed install to get more information about what failed. virtually, Rob Mensching - http://robmensching.com On Fri, Oct 16, 2009 at 4:15 AM, Jiang, Chunyan (GE Healthcare) chunyan.ji...@ge.com wrote: Hi Wix - users, I use PARAFFIN.exe to generated .WXS file to include

[WiX-users] How to find the installed path for update

2009-10-02 Thread Jiang, Chunyan (GE Healthcare)
Hi Wix-users, I have developed a wix installer. It is an updatable installation package. For the path, I set the default path as Directory Id=TARGETDIR Name=SourceDir Directory Id=APPLICATIONFOLDER Name=ViewPoint6 It will show D:\ViewPoint6 as the default in InstallDirDlg.wxs: Control

Re: [WiX-users] Folder not install in define path

2009-09-29 Thread Jiang, Chunyan (GE Healthcare)
regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Monday, September 28, 2009 16

Re: [WiX-users] Folder not install in define path

2009-09-29 Thread Jiang, Chunyan (GE Healthcare)
- Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Tuesday, September 29, 2009 09:26 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users

[WiX-users] Folder not install in define path

2009-09-28 Thread Jiang, Chunyan (GE Healthcare)
Hi Wix-users, There is a weird thing happend in my wix installer. I define a path for files installing in the main wxs, say PathA. And during the installaion the user can change the path and install files to another path, say PathB. Most files are installed correctly in the user changed path

Re: [WiX-users] Folder not install in define path

2009-09-28 Thread Jiang, Chunyan (GE Healthcare)
installations, elegantly. http://www.instyler.com -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Monday, September 28, 2009 15:07 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Folder not install in define path

[WiX-users] How to find out the free disk space during the installation

2009-09-14 Thread Jiang, Chunyan (GE Healthcare)
Hi Wix-user, I would like to show the free disk space on the customized dialog during the installation, like: Space Required: xxx M Space Available: yyy M For the Space Required I can set it as my software required. But how can I get the Space Available value? How to retrieve the free disk

Re: [WiX-users] How to show different language license files?

2009-09-04 Thread Jiang, Chunyan (GE Healthcare)
instead use the paths to your translated RTF license files. -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Thursday, September 03, 2009 1:46 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] How to show different

[WiX-users] How to show different language license files?

2009-09-03 Thread Jiang, Chunyan (GE Healthcare)
Hi Wix-users, I want to show the license text in the license dialog. According to the example, Control Id=LicenseText Type=ScrollableText X=20 Y=60 Width=330 Height=140 Sunken=yes TabSkip=no Text SourceFile=!(wix.WixUILicenseRtf=$(var.licenseRtf)) / /Control And in .wixproj, define:

Re: [WiX-users] How to check the prerequisite software install?

2009-09-02 Thread Jiang, Chunyan (GE Healthcare)
... /Product Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Tuesday, September 01, 2009 14:46 To: General discussion

Re: [WiX-users] How to check the prerequisite software install?

2009-09-02 Thread Jiang, Chunyan (GE Healthcare)
-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Tuesday, September 01, 2009 14:46 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] How to check

[WiX-users] How to check the prerequisite software install?

2009-09-01 Thread Jiang, Chunyan (GE Healthcare)
Hi Wix-users, My software needs another software (Sybase) as the prerequisite. Therefore I need to check whether Sybase has been installed in the machine and show the warning message if it is not installed. How can I define the condition in the installer? Best regards, Chunyan

Re: [WiX-users] How to start an executable without showingcommandline window

2009-08-25 Thread Jiang, Chunyan (GE Healthcare)
element to a formatted value ([APPLICATIONFOLDER] in your case) you either need another custom action to set it or I think you can use SetProperty if you arrange for your CustomAction/@Id value to match. Neil -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji

Re: [WiX-users] How to start an executable without showing commandline window

2009-08-25 Thread Jiang, Chunyan (GE Healthcare)
to a formatted value ([APPLICATIONFOLDER] in your case) you either need another custom action to set it or I think you can use SetProperty if you arrange for your CustomAction/@Id value to match. Neil -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: 24

[WiX-users] How to start an executable without showing command line window

2009-08-24 Thread Jiang, Chunyan (GE Healthcare)
Hi Wix-users, I want to call one executable in custom action. But I don't like the command line window flashing when calling executable. So I tried to use CAQuietExec. My code is as below: Property Id=QtExecCmdLine Value='tao_imr.exe' -ORBInitRef

Re: [WiX-users] WG: Custom Action during Upgrade got error

2009-08-11 Thread Jiang, Chunyan (GE Healthcare)
don't have any internal restriction on the sequencing of the action. -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Monday, August 10, 2009 5:51 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] WG: Custom Action

Re: [WiX-users] WG: Custom Action during Upgrade got error

2009-08-11 Thread Jiang, Chunyan (GE Healthcare)
The problem has been resolved. I set the path as: file://[APPLICATIONFOLDER]/VPCommon/Locator.ior Everything works fine. So the rootcause is no the custom action sequence setting, but the exe wrong setting. Cheers! -Ursprüngliche Nachricht- Von: Jiang, Chunyan (GE Healthcare

[WiX-users] How to run exe in CA without flashing the command-line window

2009-08-11 Thread Jiang, Chunyan (GE Healthcare)
Hi wix-users, I have one Custom Action, which runs an executable. It works fine. However, the command-line window will flash shortly. If I run several such Custom Actions, there will be several command-line windows flashing. It is very annoying. How to run the executable without flashing? My

Re: [WiX-users] How to run exe in CA without flashing thecommand-linewindow

2009-08-11 Thread Jiang, Chunyan (GE Healthcare)
Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: 11 August 2009 12:57

Re: [WiX-users] How to run exe in CA withoutflashingthecommand-linewindow

2009-08-11 Thread Jiang, Chunyan (GE Healthcare)
-Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: 11 August 2009 13:54 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to run exe in CA without flashingthecommand-linewindow Thanks Pally. I read the link

Re: [WiX-users] How to run exe in CAwithoutflashingthecommand-linewindow

2009-08-11 Thread Jiang, Chunyan (GE Healthcare)
-Ursprüngliche Nachricht- Von: Jiang, Chunyan (GE Healthcare) Gesendet: Dienstag, 11. August 2009 15:38 An: General discussion for Windows Installer XML toolset. Betreff: Re: [WiX-users] How to run exe in CAwithoutflashingthecommand-linewindow Thanks Pally. I added WixUtilExtension

Re: [WiX-users] WG: WG: Do some Custom Actions during Upgrade

2009-08-10 Thread Jiang, Chunyan (GE Healthcare)
Upgrade What error code is your MyCA1 returning? And why? -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Friday, August 07, 2009 6:38 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] WG: WG: Do some Custom Actions

Re: [WiX-users] WG: How to call Custom Action only on firsttimeinstall, not on Upgrade?

2009-08-10 Thread Jiang, Chunyan (GE Healthcare)
...@tramontana.co.hu] Gesendet: Freitag, 7. August 2009 20:22 An: General discussion for Windows Installer XML toolset. Betreff: [WiX-users] WG: How to call Custom Action only on firsttimeinstall,not on Upgrade? On Fri, 7 Aug 2009 09:11:50 +0200, Jiang, Chunyan (GE Healthcare) wrote: Jiang, Thanks

[WiX-users] WG: WG: WG: Do some Custom Actions during Upgrade

2009-08-10 Thread Jiang, Chunyan (GE Healthcare)
(condition is false) It means that UPGRADINGPRODUCTCODE is wrong, right? Which candition should I use? And I am not sure whether After=CostFinalize is correct, yet. Regards, Chunyan -Ursprüngliche Nachricht- Von: Jiang, Chunyan (GE Healthcare) Gesendet: Montag, 10. August 2009 10:03 An: General

[WiX-users] Custom Action during Upgrade got error

2009-08-10 Thread Jiang, Chunyan (GE Healthcare)
Hi Wix-users, I have one Custom Action, which should be called during upgrade. I called it as: Custom Action=UpgradeStopServices1 After=CostFinalizePREVIOUSFOUND/Custom But there is error in installation log, when I upgrade the msi: MSI (s) (F8:78) [12:59:27:612]: Doing action:

[WiX-users] WG: Custom Action during Upgrade got error

2009-08-10 Thread Jiang, Chunyan (GE Healthcare)
, Chunyan (GE Healthcare) Gesendet: Montag, 10. August 2009 13:45 An: General discussion for Windows Installer XML toolset. Betreff: [WiX-users] Custom Action during Upgrade got error Hi Wix-users, I have one Custom Action, which should be called during upgrade. I called it as: Custom Action

Re: [WiX-users] WG: How to call Custom Action only on firsttimeinstall, not on Upgrade?

2009-08-07 Thread Jiang, Chunyan (GE Healthcare)
for PREVIOUSFOUND to see when it is set, and for MyCA to see when it is either skipped or run. -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Thursday, August 06, 2009 12:40 AM To: General discussion for Windows Installer XML toolset. Subject

[WiX-users] WG: Do some Custom Actions during Upgrade

2009-08-07 Thread Jiang, Chunyan (GE Healthcare)
. It must be sequenced after the CostFinalize action in the InstallExecuteSequence Sequence table But if I change the After to CostFinalize, I got the error as my last email. It is strange. I have no idea how to set the After. Regards, Chunyan -Ursprüngliche Nachricht- Von: Jiang, Chunyan (GE

[WiX-users] WG: WG: Do some Custom Actions during Upgrade

2009-08-07 Thread Jiang, Chunyan (GE Healthcare)
the first email. Furthermore, there is new software installed in Software control panel, which is not I want. I only want to upgrade it. How to resolve this problem? Thanks in advance! Chunyan -Ursprüngliche Nachricht- Von: Jiang, Chunyan (GE Healthcare) Gesendet: Freitag, 7. August

Re: [WiX-users] How to call Custom Action only on first timeinstall, not on Upgrade?

2009-08-06 Thread Jiang, Chunyan (GE Healthcare)
for RemoveExistingProducts to remove. -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Wednesday, August 05, 2009 8:17 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] How to call Custom Action only on first time install

[WiX-users] WG: How to call Custom Action only on first timeinstall, not on Upgrade?

2009-08-06 Thread Jiang, Chunyan (GE Healthcare)
Hi Blair, I have tried NOT Installed AND NOT REMOVEOLD. But MyCA is always be called for every upgrade. Is there something wrong with the Property='PREVIOUSFOUND'? What can I do for Upgrade? Regards Chunyan -Ursprüngliche Nachricht- Von: Jiang, Chunyan (GE Healthcare) Gesendet

Re: [WiX-users] WG: How to call Custom Action only on first timeinstall, not on Upgrade?

2009-08-06 Thread Jiang, Chunyan (GE Healthcare)
Hi Kim, It's cool! NOT Installed AND NOT PREVIOUSFOUND works! I changed the condition to it, then upgrade. This time MyCA is not called. Now I understand that the condition should match the property. Otherwise it won't work. Cheers! Chunyan -Ursprüngliche Nachricht- Von: Kim

[WiX-users] How to put computer name in CustomAction ExeCommand?

2009-08-06 Thread Jiang, Chunyan (GE Healthcare)
Hi Wix-user, I want to define one Custom Action like this: CustomAction Id='MyCA' FileKey='my.exe' ExeCommand='do something xxx_COMPUTERNAME' Return='check' / How can I get the computer name in wix and put it into the ExeCommand? Regards, Chunyan

Re: [WiX-users] How to put computer name in CustomAction ExeCommand?

2009-08-06 Thread Jiang, Chunyan (GE Healthcare)
] property: CustomAction Id=SetAspNet20_Cmd Property=SetAspNet20 Value='[FRAMEWORKROOT20]aspnet_regiis.exe -ir -enable' / CustomAction Id=SetAspNet20 BinaryKey=WixCA DllEntry=CAQuietExec Execute=deferred Return=check/ Cheers Richard 2009/8/6 Jiang, Chunyan (GE Healthcare

Re: [WiX-users] How to put computer name in CustomAction ExeCommand?

2009-08-06 Thread Jiang, Chunyan (GE Healthcare)
='check' / 2009/8/6 Jiang, Chunyan (GE Healthcare) chunyan.ji...@ge.com: Hi Wix-user, I want to define one Custom Action like this: CustomAction Id='MyCA' FileKey='my.exe' ExeCommand='do something xxx_COMPUTERNAME' Return='check' / How can I get the computer name in wix and put

[WiX-users] Do some Custom Actions during Upgrade

2009-08-06 Thread Jiang, Chunyan (GE Healthcare)
Hi Wix-users, I have some Custom Actions, which should be called during Upgrade. Actually I want them to be called in the beginning of Upgrade, before remove files. So I set them as: Custom Action=MyCA1 After=CostFinalizeUPGRADINGPRODUCTCODE/Custom Custom Action=MyCA2

Re: [WiX-users] How to create the installation package, which is able to upgrade

2009-08-05 Thread Jiang, Chunyan (GE Healthcare)
: UPGRADINGPRODUCTCODE See http://msdn.microsoft.com/en-us/library/aa372380(VS.85).aspx -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: 04 August 2009 09:52 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to create

Re: [WiX-users] How to create the installation package, which is able to upgrade

2009-08-05 Thread Jiang, Chunyan (GE Healthcare)
the old product. Hope that helps. John 2009/8/5 Jiang, Chunyan (GE Healthcare) chunyan.ji...@ge.com: Hi Peter, Thank you for your reply. I tried to write a major upgrade installer. Change the Product ID in each build for doing upgrade. Keep the Upgrade ID as UpgradeCode. Add the code

Re: [WiX-users] How to create the installation package, which is able to upgrade

2009-08-05 Thread Jiang, Chunyan (GE Healthcare)
Installer XML toolset. Betreff: Re: [WiX-users] How to create the installation package,which is able to upgrade 2009/8/5 Jiang, Chunyan (GE Healthcare) chunyan.ji...@ge.com: Hi John, Thank you for your help. There is some progess in my Upgrade. It will not install a new software after I change

Re: [WiX-users] How to create the installation package, which is able to upgrade

2009-08-05 Thread Jiang, Chunyan (GE Healthcare)
used by MSI should be uppercase but this isnt part of your problem. -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: 05 August 2009 09:47 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to create

Re: [WiX-users] How to create the installation package, which is able to upgrade

2009-08-05 Thread Jiang, Chunyan (GE Healthcare)
should be uppercase but this isnt part of your problem. -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: 05 August 2009 09:47 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to create the installation package

Re: [WiX-users] How to create the installation package, which is able to upgrade

2009-08-05 Thread Jiang, Chunyan (GE Healthcare)
there to prevent downgrades). Also, I usually put the logical cases in all caps - e.g NOT rather than not. 2009/8/5 Jiang, Chunyan (GE Healthcare) chunyan.ji...@ge.com: Hi Peter, I still have the problem about custom action. MyCA is always running during the Upgrade. I tried the both: Custom

Re: [WiX-users] How to create the installation package, which is able to upgrade

2009-08-05 Thread Jiang, Chunyan (GE Healthcare)
the installation package,which is able to upgrade Hi, I think we're back to the logs again - do the upgrade and check the logs to see whether PATCHFOUND is set. 2009/8/5 Jiang, Chunyan (GE Healthcare) chunyan.ji...@ge.com: Hi John, Thank you for your nice reply. Unfortunately, MyCA is called again

[WiX-users] How to call Custom Action only on first time install, not on Upgrade?

2009-08-05 Thread Jiang, Chunyan (GE Healthcare)
Hi Wix-users, I stuck at this issue: how to call Custom Action only on first install, but not on Upgrade. I wrote one installation package, which is able to upgrade. In my .msi there is one Custom Action, which should be called only on first installation. I have tried the following ways to call

Re: [WiX-users] How to create the installation package, which is able to upgrade

2009-08-04 Thread Jiang, Chunyan (GE Healthcare)
and understand it now. Good luck. -- Yan -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Monday, August 03, 2009 4:56 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] How to create the installation package,which

[WiX-users] How to create the installation package, which is able to upgrade

2009-08-03 Thread Jiang, Chunyan (GE Healthcare)
Hi Wix-users, I have created the installation package with wix. Now I have a new task that .msi should be upgradable. It means that the newly built .msi should be installed without uninstalling the last version, when some files changed in the package. However, my newly built .msi can not be

[WiX-users] Custom Action in uninstall before remove files

2009-07-30 Thread Jiang, Chunyan (GE Healthcare)
Hi Wix-user, I would like to call one Custom Action in uninstallation. I know that uninstallation will remove files. But I want the Custom Action can be run before remove files. So I set Custion Action as follow: CustomAction Id='VPAdminUninstall' FileKey='VPAdmin.exe' ExeCommand='Do

Re: [WiX-users] Custom Action in uninstall before remove files

2009-07-30 Thread Jiang, Chunyan (GE Healthcare)
for Windows Installer XML toolset. Betreff: Re: [WiX-users] Custom Action in uninstall before remove files Try changing the Return attribute to check, which is the default attribute value, and see if that works. -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji

[WiX-users] How to connect Custom Action and Progress dialog

2009-07-27 Thread Jiang, Chunyan (GE Healthcare)
Hi Wix-users, In my install package progress dialog works fine for installation, like copying new files. The progress bar is growing during the installation. However, when I call the Custom Action, which takes pretty long time, the progress bar is always empty, untill the Custom Action is over,

[WiX-users] How to get the PrintEula.dll from Wix source?

2009-07-16 Thread Jiang, Chunyan (GE Healthcare)
Hi Wix-users, I downloaded wix3.0.5217.0-sources.zip in order to learn how to use Wix. For my first installer, I used some wxs from wix sources\src\ext\UIExtension\wixlib. There is Common.wxs, which has Fragment: Fragment Binary Id=WixUIWixca SourceFile=$(var.printeulaDll) / /Fragment I saw

Re: [WiX-users] How to localize wix package in this way?

2009-07-14 Thread Jiang, Chunyan (GE Healthcare)
information. Regards, Dirk 2009/7/8 Jiang, Chunyan (GE Healthcare) chunyan.ji...@ge.com: As I thought to define two wix projects to realize my aim, I tried to define a CustomAction in one msi to call another msi.    Binary Id=GermanInstallMsi        SourceFile=..SourceDir\VP6Wix.msi

Re: [WiX-users] How to localize wix package in this way?

2009-07-08 Thread Jiang, Chunyan (GE Healthcare)
: Montag, 6. Juli 2009 19:39 An: General discussion for Windows Installer XML toolset. Betreff: Re: [WiX-users] How to localize wix package in this way? Windows Installer doesn't support that. You need to have something outside control the language switching. Jiang, Chunyan (GE Healthcare) wrote: Hi

Re: [WiX-users] How to localize wix package in this way?

2009-07-08 Thread Jiang, Chunyan (GE Healthcare)
, the other one is for the real installation, which has different localization msi versions. How can I define the publish event for the push button in this case? Best regards, Chunyan -Ursprüngliche Nachricht- Von: Jiang, Chunyan (GE Healthcare) Gesendet: Mittwoch, 8. Juli 2009 10:17

Re: [WiX-users] How to localize wix package in this way?

2009-07-08 Thread Jiang, Chunyan (GE Healthcare)
? Regards, Chunyan -Ursprüngliche Nachricht- Von: Jiang, Chunyan (GE Healthcare) Gesendet: Mittwoch, 8. Juli 2009 14:58 An: General discussion for Windows Installer XML toolset. Betreff: Re: [WiX-users] How to localize wix package in this way? Hi Rob, Thanks to the Wix Tutorial, I learned from

[WiX-users] How to localize wix package in this way?

2009-07-06 Thread Jiang, Chunyan (GE Healthcare)
Hi Wix-users, I would like to create the installation package by using of wix. Is it possible to have different language installation in the same package? For example, the first dialog have the radio button group, English, German, Italian. If user select one language, click next button, the next

  1   2   >