[izpack-users] Passing arguments to executable

Zycor.net Development Solutions airhead at webmail.co.za
Thu Mar 29 11:17:53 CEST 2007


But according to the DTD, it needs to be like this (Unless I'm missing 
something...)

Please help, I don't know what else to try....


<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>


Riaan Cornelius  Software Developer - B.Sc(IT)  -  *neo at zycor.net*

 



Zycor.net Development Solutions wrote:
> 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*
>>
> ------------------------------------------------------------------------
>
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-users
>   
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 268.18.20/737 - Release Date: 3/28/2007 4:23 PM
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20070329/68dbec1c/attachment.html 


More information about the izpack-users mailing list