Create installer with no files

Answered

Comments

1 comment

  • Avatar
    jesus

    If you just want to execute these scripts and you don't want to unpack any files, you can set the run programs in the readyToInstallActionList and put an exit action after the last runProgram.

    <project>
        <shortName>Windows10PHPPOSServicePatch</shortName>
        <fullName>Windows 10 PHP POS Service Patch</fullName>
        <version>1.0</version>
        <splashImage>phppos_splash.png</splashImage>
         <rebootRequired>0</rebootRequired>
    
        <installerFilename>${product_shortname}-${product_version}-${platform_name}-installer.${platform_exec_suffix}</installerFilename>
    
        <componentList>
            <component>
                <name>default</name>
                <description>Default Component</description>
                <canBeEdited>0</canBeEdited>
                <selected>0</selected>
                <show>1</show>
            </component>
        </componentList>
    
         <readyToInstallActionList>       
            <runProgram>
                 <abortOnError>0</abortOnError>
                 <program>C:\Program Files\PHP Point Of Sale Stack\apache2\scripts\serviceinstall.bat</program>
                 <programArguments>REMOVE</programArguments>
                 <showMessageOnError>0</showMessageOnError>
           </runProgram>
            <runProgram>
                 <abortOnError>0</abortOnError>
                 <program>C:\Program Files\PHP Point Of Sale Stack\apache2\scripts\serviceinstall.bat</program>
                 <programArguments>INSTALL</programArguments>
                 <showMessageOnError>0</showMessageOnError>
           </runProgram>
            <exit />
        </readyToInstallActionList>
        <vendor>PHP Point Of Sale</vendor> </project>
    

Please sign in to leave a comment.