Do you have anti-virus running on the system you're trying to install
this package on?

Check a verbose log.

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer


-----Original Message-----
From: subramanyeswari [mailto:sravi...@yahoo.com] 
Sent: 18 May 2010 11:22
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] make my vbscriot to run


Hi,

I wrote small vbsccript function for my purpose and here it is. 

Public installer, state

Const msiInstallStateDefault = 5

' Connect to Windows Installer object
set installer = CreateObject("WindowsInstaller.Installer")

state = installer.productstate
("{9AA7902B-84BE-4C15-93D1-D6C30322ABBF}")

if state <> msiInstallStateDefault then
' the product isn't installed so the feature can't be end if

state = installer.featurestate
("{9AA7902B-84BE-4C15-93D1-D6C30322AFCC}","Complete")

MsgBox(state)
if(state = 1) then
   Session.Property("Installed") = "1"
end if


and here is my wxs code

<CustomAction Id="ShowReadMe" BinaryKey="QueryState" Execute="deferred"
Return="check" VBScriptCall="Main" Impersonate="no" />

 
<Binary Id='QueryState' SourceFile='QueryState.vbs'/>

But i am getting the following error:
A script reuired for this install to complete could not be run. contact
your personnel support or package vendor.

How to make my vbscript work?

Thanks in advance, Subramanyeswari
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/make-my-vb
scriot-to-run-tp5069321p5069321.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------
------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to