I want to modify the msi table (update the ComboBox) during the installation,
using the approach found here:
http://www.mail-archive.com/[email protected]/msg20032.html
The CustomAction is written in VBScript, now I don't know how to sequence the
CustomAction. I put as below, but got an error. If I queue it after
InstallInitialize, it's too late, the Dialog contains the ComboBox is already
created. I have to update the msi database before Welcome/any dialog is
created, right?
<Binary Id="GetSitesBin"
SourceFile="C:\Dev\DisplaySite\GetSites.vbs" />
<CustomAction Id="caGetWebSites"
BinaryKey="GetSitesBin" VBScriptCall="GetSites" Execute="firstSequence"
Return="check" />
<Binary Id="DisplaySitesBin"
SourceFile="C:\Dev\DisplaySite\DisplaySites.vbs" />
<CustomAction Id="caDisplayWebSites"
BinaryKey="DisplaySitesBin" VBScriptCall="GetSites" Execute="firstSequence"
Return="check" />
<InstallExecuteSequence>
<Custom Action="caGetWebSites"
Before="CostFinalize">Not Installed</Custom>
<Custom
Action="caDisplayWebSites" After="CostFinalize">Not Installed</Custom>
</InstallExecuteSequence>
C:\Dev\DisplaySite\Install.wxs(29) : error LGHT0204 : ICE77: caGetWebSites is a
in-script custom act
ion. It must be sequenced in between the InstallInitialize action and the
InstallFinalize action in
the InstallExecuteSequence table
C:\Dev\DisplaySite\Install.wxs(30) : error LGHT0204 : ICE77: caDisplayWebSites
is a in-script custom
action. It must be sequenced in between the InstallInitialize action and the
InstallFinalize actio
n in the InstallExecuteSequence table
Thanks
Jirong Hu
Build Master
780-644-5488
This communication is intended for the use of the recipient to which it is
addressed, and may contain confidential, personal, and or privileged
information. Please contact us immediately if you are not the intended
recipient of this communication, and do not copy, distribute, or take action
relying on it. Any communication received in error, or subsequent reply, should
be deleted or destroyed.
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users