[izpack-users] Passing arguments to executable

Zycor.net Development Solutions airhead at webmail.co.za
Wed Mar 28 14:58:28 CEST 2007


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/20070328/12e1418c/attachment.html 


More information about the izpack-users mailing list