Re: [WiX-users] How to elevate installer privilege when using MsiDoAction to install?

2012-11-17 Thread tzleon
Can anyone help please? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-elevate-installer-privilege-when-using-MsiDoAction-to-install-tp7581936p7581976.html Sent from the wix-users mailing list archive at Nabble.com. ---

[WiX-users] How to elevate installer privilege when using MsiDoAction to install?

2012-11-15 Thread tzleon
Hi, I'm tring to install msi package with code below: MSIHANDLE hProduct = NULL; MsiSetInternalUI(INSTALLUILEVEL(INSTALLUILEVEL_NONE|INSTALLUILEVEL_UACONLY), hwnd); ret = MsiOpenPackage(TEXT("PathOfInstaller"), &hProduct); ret = MsiDoAction(hProduct, TEXT("INSTALL")); MsiCloseHandle(hProduct); T

Re: [WiX-users] How to get content of a file component

2012-11-11 Thread tzleon
Well, it seems have to be as you said, thanks all the same. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-get-content-of-a-file-component-tp7581768p7581858.html Sent from the wix-users mailing list archive at Nabble.com. -

Re: [WiX-users] How to get content of a file component

2012-11-08 Thread tzleon
Can anyone help please? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-get-content-of-a-file-component-tp7581768p7581827.html Sent from the wix-users mailing list archive at Nabble.com. -

[WiX-users] How to calculate the signature value of a file component

2012-11-05 Thread tzleon
Hi, I need to write component(an exe file)'s signature value into register after program installed, but in processing of installation, I found I couldn't get the real file's content in CA. So what should I do to process this situation? -- View this message in context: http://windows-installer-

[WiX-users] How to load liberary(dll) from custom action?

2012-10-30 Thread tzleon
Hi, I need to create a sqlite database in my installation, so I have to load the splite3.dll file in the custom action which contain in my msi file. But the problem is how to processing this? I tried to install the splite3.dll to the temporary folder, but the custom action could not find the file

Re: [WiX-users] How to mix 32bit driver and 64bit driver into same package?

2012-06-25 Thread tzleon
Now I found a solution, I gave up the difxapp_*.wixlib, but using dpinstall.exe instead(see http://www.codeproject.com/Articles/44191/Drivers-Installation-With-WiX), and using bootstrapper to launch the executable file while the previous msi copied driver binary to system. Now another problem is un

[WiX-users] How to mix 32bit driver and 64bit driver into same package?

2012-06-24 Thread tzleon
I wish to mix 32bit driver and 64bit driver into same package, but the problem is the two referenced library difxapp_x64 and difxapp_x85 can't be imported into same package, otherwise, there is a error as below: "Error 1 Duplicate symbol 'CustomAction:MsiProcessDrivers' found. This typicall

Re: [WiX-users] [SPAM] RE: How to disable "WIXUI_EXITDIALOGOPTIONALCHECKBOX" in exit dialog according to the condition?

2012-05-15 Thread tzleon
Yes, That's did the trick, thanks! Neil Sleightholm wrote > > I did something like this: > > > > Where WorkstationFeature is a reference to my optional feature. > > Neil > > -Original Message- > From: tzleon [mailto:tzleon@] > Sent: 15 Ma

Re: [WiX-users] The "feature-action" state value not correct after "CostFinalize" stage in Wix 3.6

2012-05-15 Thread tzleon
Can I adjust the order of CostFinalize and Feature select dialog? Why the CostFinalize after Feature select dialog in Wix? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/The-feature-action-state-value-not-correct-after-CostFinalize-stage-in-Wix-3-6-

[WiX-users] The "feature-action" state value not correct after "CostFinalize" stage in Wix 3.6

2012-05-15 Thread tzleon
Accroding to the msdn spec http://msdn.microsoft.com/en-us/library/aa368012.aspx, I could get "feature-action" value after "CostFinalize" stage, but in Wix 3.6 I tried to add &MyFeature value to condition as below: It seems the "feature-action" value is always -1, so does anyone can give me a su

[WiX-users] How to disable "WIXUI_EXITDIALOGOPTIONALCHECKBOX" in exit dialog according to the condition?

2012-05-15 Thread tzleon
Hi, My install package contains one feature that require lanuch after install finished, and it's an optional feature. So is it possible to disable WIXUI_EXITDIALOGOPTIONALCHECKBOX when the feature not installed? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.