Hi Sandun, Your code must be like this, <CustomAction Id="SetInstallScriptParameter" Property="QtExecCmdLine" Value=""[POWERSHELLEXE]" [INSTALLDIR]scripts\Install.ps1" Execute= "immediate" Return="check" />
<CustomAction Id="InstallScriptAction" BinaryKey="WixCA" DllEntry=" CAQuietExec64" Execute="deferred" Return="check" Impersonate="no"/> Get a log by executing .msi file in command line as follows, msiexec /i <yourmsifile.msi> /L*v <yourlogfile.log> send the log. -SMR sandun css wrote: > Hi Michael, > > Thanks for the reply. > > I tryed with this, > > <CustomAction Id="SetInstallScriptParameter" Property="QtExecCmdLine" > Value=""[POWERSHELLEXE]" [INSTALLDIR]scripts\Install.ps1"/> > > But it doesn't run the powershell script. don't I need the following > action? > > <CustomAction Id="InstallScriptAction" BinaryKey="WixCA" > DllEntry="CAQuietExec64" Execute="deferred" Return="check" > Impersonate="no"/> > > On Mon, Mar 16, 2009 at 5:07 PM, Michael <mich...@gnhsoft.com > <mailto:mich...@gnhsoft.com>> wrote: > > Hi, > > <CustomAction Id="SetInstallScriptParameter" Property="QtExecCmdLine" > Value=""[POWERSHELLEXE]" [INSTALLDIR]scripts\Install.ps1"/> > > try this. > > > sandun css wrote: > > Hi, > > > > I was trying to run a powershell script in powershell 64 bit > version. (using > > CAQuietExec64) > > > > > > <CustomAction Id="SetInstallScriptParameter" > Property="InstallScriptAction" > > Value=""[POWERSHELLEXE]" > [INSTALLDIR]scripts\Install.ps1" Execute= > > "immediate" Return="check" /> > > > > <CustomAction Id="InstallScriptAction" BinaryKey="WixCA" DllEntry=" > > CAQuietExec64" Execute="deferred" Return="check" Impersonate="no"/> > > But, this doesn't seem to be working! > > > > How to get it done? > > > > Thanks, > > Sandun > > > > ------------------------------------------------------------------------------ > > Apps built with the Adobe(R) Flex(R) framework and Flex > Builder(TM) are > > powering Web 2.0 with engaging, cross-platform capabilities. > Quickly and > > easily build your RIAs with Flex Builder, the Eclipse(TM)based > development > > software that enables intelligent coding and step-through debugging. > > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > <mailto:WiX-users@lists.sourceforge.net> > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > ------------------------------------------------------------------------ > > > > > > No virus found in this incoming message. > > Checked by AVG - www.avg.com <http://www.avg.com/> > > Version: 8.0.237 / Virus Database: 270.11.15/2003 - Release > Date: 03/15/09 14:07:00 > > > > > > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex > Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. > Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based > development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > <mailto:WiX-users@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.0.237 / Virus Database: 270.11.15/2003 - Release Date: 03/15/09 > 14:07:00 > > ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users