[WiX-users] How to REINSTALL using MsiSetFeatureState

2011-02-14 Thread Akihiro.Shibuta
Hi! How to set REINSTALL the feature using MsiSetFeatureState in CustomAction ? UINT MsiSetFeatureState( __in MSIHANDLE hInstall, __in LPCTSTR szFeature, __in INSTALLSTATE iState ); iState [in]: Specifies the state to set. this parameter can be one of the following values. INSTALLSTATE_ABSE

Re: [WiX-users] How to Get Feature State In the Custom Action

2011-02-03 Thread Akihiro.Shibuta
I am trying MsiGetFeatureState is called after MsiDoAction in CustomAction. MsiDoAction( hInstall, "CostInitialize" ); MsiDoAction( hInstall, "FileCost" ); MsiDoAction( hInstall, "CostFinalize" ); : MsiGetFeatureState( hInstall, "FEATUREA", ... ); Is the problem in this method? >

[WiX-users] How to Get Feature State In the Custom Action

2011-02-03 Thread Akihiro.Shibuta
Hi! I want use MsiGetFeatureState in CustomAction, and the CustomAction is scheduled before "CostInitialize". in Wix: in C++ CustomAction: UINT _stdcall SetPropertyByFeatureState( MSIHANDLE hInstall ) { INSTALLSTAT

Re: [WiX-users] How to overwrite forcibily a file.

2010-04-19 Thread Akihiro.Shibuta
ioning rules. There is a companion file attribute on the > File node within WiX, which forces the file to follow the > versioning rules of the specified companion file. > > > Akihiro.Shibuta wrote: > > > > Hi, > > > > How to overwrite forcibly a file

[WiX-users] How to overwrite forcibily a file.

2010-04-19 Thread Akihiro.Shibuta
Hi, How to overwrite forcibly a file which ignores file version and timestamp? I want to overwrite forcibility a file during patch install or update install, upgrade install. The file is set file version, and a file included new msi is older than installed file. Thanks, Akihiro. -

[WiX-users] How to write to install log in InstallUISequence

2010-04-08 Thread Akihiro.Shibuta
Hi all, I create a DLL Custom Action using C++, and It write log using WcaLog function. But I seem it doesn't work. This custom action is called, when the button is pushed as follows. 1 When I scheduled the custom action in InstallExecuteSequence, it does work right. Does it suppo

[WiX-users] How to overwrite forcibily files.

2010-03-29 Thread Akihiro.Shibuta
Hi, How to overwrite forcibly a file which ignore file version and timestamp? The file version etc. seem to be checked though it sets as follows. Thanks, -- Download IntelĀ® Parallel Studio Eval Try th

[WiX-users] The "Remove" button in Add or Remove Program.

2010-01-28 Thread Akihiro.Shibuta
HI, How to execute uninstall.exe when I push the "Remove" button in the Add or Remove Program? Or how to create a bootstrapper for uninstall ? Thanks, Akihiro -- The Planet: dedicated and managed hosting, cloud storag

[WiX-users] Wix 3.5 Votive with Visual Studio 2008.

2010-01-06 Thread Akihiro.Shibuta
Hi I don't understand which Wix 3.0 or WiX3.5, because I use Visual Studio 2008, and it is written "WiX v3.5 Votive integration with Visual Studio 2010 available" in . Does it work Wix v3.5 Votive and is it supported with Visual Studio 2008? Thanks, -

Re: [WiX-users] How to create extension and a new schema ?

2010-01-05 Thread Akihiro.Shibuta
Thanks. I put the .xsd file into "C:\Program Files\Microsoft Visual Studio 9.0\Xml\Schemas". And it works. > Did you return the schema from your extension's Schema > property? How to create an instance of extension's Schema ? I found method LoadXmlSchemaHelper. Is it good in this method? thi

[WiX-users] How to create extension and a new schema ?

2010-01-05 Thread Akihiro.Shibuta
HI, I develop a new extension. And I written a new schema in xsd file. I create a new setup project on Visual Studio, But it show display message that "Id" attribute cannot found on the message view of Visual Studio . How to import a new schema file and use on Visual Studio? something wrong

[WiX-users] How to use condition in component ?

2009-12-16 Thread Akihiro.Shibuta
Hi, I want to do that the component "X0" is installed when I select both "F0" and "F1" on UI or command-line parameters. When is it evaluated a condition of component ? Something wrong ? wix code: Thanks,

[WiX-users] How to generate a .wxs from a reg files ?

2009-12-02 Thread Akihiro.Shibuta
Hi, I want to convert many .reg files to .wxs files. Is there an utility like heat ? thanks, Akihiro Shibuta. -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization a

Re: [WiX-users] Select features on UI

2009-11-30 Thread Akihiro.Shibuta
Thanks, salever.lee, No, I don't, and I am trying it now. it works, Thank you very much. Akihiro, Shibuta. > -Original Message- > From: salever.lee [mailto:salever@gmail.com] > Sent: Monday, November 30, 2009 4:36 PM > To: General discussion for Windows Installer XML toolset. >

Re: [WiX-users] Select features on UI

2009-11-29 Thread Akihiro.Shibuta
Thanks, If I specify a property that ADDLOCAL, REMOVE are some features from command-line, It does work. If A feature is specfied, it does work. Some features are specified value of Events that are AddLocal or Remove. But the FeatureTree dialog, use WiXUI library, don't enable these featur

Re: [WiX-users] Select features on UI

2009-11-24 Thread Akihiro.Shibuta
Is Conditions changed to Features ? -Original Message- > From: Arun Perregatturv [mailto:aperregatt...@napcosecurity.com] > Sent: Tuesday, November 24, 2009 11:40 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-use

[WiX-users] Select features on UI

2009-11-24 Thread Akihiro.Shibuta
Hi, I want to modify features by radio buttons on dialog. When PKGTYPE is selected "A", features are "F0" and "F2". When PKGTYPE is selected "B", features are "F0" and "F1". When PKGTYPE is selected "C", features are "F1" and "F2". The content selected on the UI is not reflected. Where has mad

[WiX-users] How to create main and sub installer?

2009-11-17 Thread Akihiro.Shibuta
Hi, All, A: main installer B: sub installer 1. A is installed. 2. When A is installed, B is copied onto a local disk together. 3. B install if necessary. 4. When A is uninstalled, B is automatically uninstalled. Is it possible though I wants to make two installers of such a composition with