[izpack-users] Passing arguments to executable
Bartz, Klaus
Klaus.Bartz at coi.de
Thu Mar 29 11:18:28 CEST 2007
Hi Riaan,
in what config file do you have written the <pack> tag with the subtags?
Cheers
Klaus
-----Original Message-----
From: izpack-users-bounces at lists.berlios.de
[mailto:izpack-users-bounces at lists.berlios.de] On Behalf Of Zycor.net
Development Solutions
Sent: Thursday, March 29, 2007 10:50 AM
To: izpack-users at lists.berlios.de
Subject: Re: [izpack-users] Passing arguments to executable
Hi everybody,
Can anybody help with this? As far as I can tell, the correct
way of doing this would actually be as follows (From the ProcessPanel
docs...):
<pack name="MSDE 2005" id="sqlExpress.package" required="no"
installGroups="Stand Alone (Vista),Network
Server (Vista)"
loose="true">
<description>The MS SQL Server Express</description>
<file src="serverExpress"
targetdir="$INSTALL_PATH"/>
<executable
targetfile="$INSTALL_PATH/serverExpress/setup.exe"
stage="postinstall" keep="false"
failure="warn">
<arg> /qb </arg>
<arg> INSTANCENAME=CORETALK </arg>
<arg> ADDLOCAL=ALL </arg>
<arg> SQLAUTOSTART=1 </arg>
<arg> AGTAUTOSTART=1 </arg>
<arg> SECURITYMODE=SQL </arg>
<arg> SAPWD=root </arg>
<arg> DISABLENETWORKPROTOCOLS=0 </arg>
</executable>
</pack>
But this still does not pass any arguments to the setup.exe...
Thanks
Riaan Cornelius Software Developer - B.Sc(IT) - neo at zycor.net
Zycor.net Development Solutions wrote:
Hi All,
I have the following problem on Windows XP and Windows
Vista (Only ones I've tested):
I declare the SQL Express pack as follows:
<pack name="MSDE 2005" id="sqlExpress.package"
required="no"
installGroups="Stand Alone
(Vista),Network Server (Vista)"
loose="true">
<description>The MS SQL Server
Express</description>
<file src="serverExpress"
targetdir="$INSTALL_PATH"/>
<executable
targetfile="$INSTALL_PATH/serverExpress/setup.exe"
stage="postinstall"
keep="false" failure="warn">
<args>
<arg value="/qb" />
<arg
value="INSTANCENAME=CORETALK" />
<arg value="ADDLOCAL=ALL" />
<arg value="SQLAUTOSTART=1" />
<arg value="AGTAUTOSTART=1" />
<arg value="SECURITYMODE=SQL" />
<arg value="SAPWD=root" />
<arg
value="DISABLENETWORKPROTOCOLS=0" />
</args>
</executable>
</pack>
The executable runs fine after installation, but as far
as I can see, The arguments isn't passed to it... Am I doing something
wrong?
If I run the following from the command prompt, it works
as expected (From within the $INSTALL_PATH/serverExpress/ folder ):
setup /qb INSTANCENAME=CORETALK ADDLOCAL=ALL
SQLAUTOSTART=1 AGTAUTOSTART=1 SECURITYMODE=SQL SAPWD=root
DISABLENETWORKPROTOCOLS=0.
Thanks in advance
Riaan Cornelius Software Developer - B.Sc(IT) - neo at zycor.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20070329/04ebe2aa/attachment.html
More information about the izpack-users
mailing list