+ Post New Thread
Results 1 to 10 of 10
Educational Software Thread, Silent install of Tux Paint in Technical; Does anyone have a silent install for Tux Paint? I've not quite mastered the art yet. I found this.. Code: ...
  1. #1

    Little-Miss's Avatar
    Join Date
    Oct 2007
    Location
    London
    Posts
    5,527
    Thank Post
    2,394
    Thanked 774 Times in 468 Posts
    Blog Entries
    2
    Rep Power
    548

    Silent install of Tux Paint

    Does anyone have a silent install for Tux Paint?

    I've not quite mastered the art yet. I found this..

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <packages>
    <package
    	id="tuxpaint"
    	name="Tux Paint"
    	revision="200806031"
    	reboot="false"
    	priority="10">
     
    	<check type="uninstall" condition="exists" path="Tux Paint 0.9.19" />
    	<check type="uninstall" condition="exists" path="Tux Paint Stamps 2008.03.01" />
     
    	<install cmd='\\curricsvr1\apps\TuxPaint\tuxpaint.exe SP- /silent /norestart /nocancel' />
    	<install cmd='\\curricsvr1\apps\TuxPaint\tuxpaint-stamps-2009-06-28-win32-installer.exe SP- /silent /norestart /nocancel' />
    	<install cmd='cmd /c del /q /s "%AllUsersProfile%\Desktop\Tux Paint.lnk"' />
    	<install cmd='cmd /c del /q /s "%AllUsersProfile%\Start Menu\Programs\Tux Paint\Configure Tux Paint.lnk"' />
    	<install cmd='cmd /c del /q /s "%AllUsersProfile%\Start Menu\Programs\Tux Paint\Licence.lnk"' />
    	<install cmd='cmd /c del /q /s "%AllUsersProfile%\Start Menu\Programs\Tux Paint\Readme.lnk"' />
    	<install cmd='cmd /c del /q /s "%AllUsersProfile%\Start Menu\Programs\Tux Paint\Tux Paint Stamps Readme.lnk"' />
    	<install cmd='cmd /c del /q /s "%AllUsersProfile%\Start Menu\Programs\Tux Paint\Tux Paint Stamps Licence.lnk"' />
    	<install cmd='cmd /c del /q /s "%AllUsersProfile%\Start Menu\Programs\Tux Paint\Tux Paint on the Web.url"' />
    	<install cmd='cmd /c del /q /s "%AllUsersProfile%\Start Menu\Programs\Tux Paint\Tux Paint Stamps on the Web.url"' />
    	<install cmd='cmd /c del /q /s "%AllUsersProfile%\Start Menu\Programs\Tux Paint\Uninstall Tux Paint Stamps.lnk"' />
    	<install cmd='cmd /c del /q /s "%AllUsersProfile%\Start Menu\Programs\Tux Paint\Uninstall Tux Paint.lnk"' />
     
    	<upgrade cmd='%SOFTWARE%\tuxpaint\tuxpaint-0.9.19-win32-installer.exe SP- /silent /norestart /nocancel' />
    	<upgrade cmd='%SOFTWARE%\tuxpaint\tuxpaint-stamps-2008.03.01-win32-installer.exe SP- /silent /norestart /nocancel' />
    	<upgrade cmd='cmd /c del /q /s "%AllUsersProfile%\Desktop\Tux Paint.lnk"' />
    	<upgrade cmd='cmd /c del /q /s "%AllUsersProfile%\Start Menu\Programs\Tux Paint\Configure Tux Paint.lnk"' />
    	<upgrade cmd='cmd /c del /q /s "%AllUsersProfile%\Start Menu\Programs\Tux Paint\Licence.lnk"' />
    	<upgrade cmd='cmd /c del /q /s "%AllUsersProfile%\Start Menu\Programs\Tux Paint\Readme.lnk"' />
    	<upgrade cmd='cmd /c del /q /s "%AllUsersProfile%\Start Menu\Programs\Tux Paint\Tux Paint Stamps Readme.lnk"' />
    	<upgrade cmd='cmd /c del /q /s "%AllUsersProfile%\Start Menu\Programs\Tux Paint\Tux Paint Stamps Licence.lnk"' />
    	<upgrade cmd='cmd /c del /q /s "%AllUsersProfile%\Start Menu\Programs\Tux Paint\Tux Paint on the Web.url"' />
    	<upgrade cmd='cmd /c del /q /s "%AllUsersProfile%\Start Menu\Programs\Tux Paint\Tux Paint Stamps on the Web.url"' />
    	<upgrade cmd='cmd /c del /q /s "%AllUsersProfile%\Start Menu\Programs\Tux Paint\Uninstall Tux Paint Stamps.lnk"' />
    	<upgrade cmd='cmd /c del /q /s "%AllUsersProfile%\Start Menu\Programs\Tux Paint\Uninstall Tux Paint.lnk"' />
     
    	<remove cmd='"%ProgramFiles%\TuxPaint\unins001.exe" SP- /silent /nocancel /norestart' />
    	<remove cmd='"%ProgramFiles%\TuxPaint\unins000.exe" SP- /silent /nocancel /norestart' />
    </package>
    </packages>
    When i run the bat i get the error
    Code:
     '\\Curricsvr1\apps\TuxPaint'
    CMD.EXE was started with the above path as the current directory.
    UNC paths are not supported.  Defaulting to Windows directory.

  2. #2

    Little-Miss's Avatar
    Join Date
    Oct 2007
    Location
    London
    Posts
    5,527
    Thank Post
    2,394
    Thanked 774 Times in 468 Posts
    Blog Entries
    2
    Rep Power
    548
    right, got rid off the carp. if i double click the bat now it works. But adding it to the startup script and GPO but nothing works...

    \\curricsvr1\apps\TuxPaint\tuxpaint.exe SP- /silent /norestart /nocancel
    \\curricsvr1\apps\TuxPaint\tuxpaint-stamps-2009-06-28-win32-installer.exe SP- /silent /norestart /nocancel

  3. #3

    nephilim's Avatar
    Join Date
    Nov 2008
    Location
    Dunstable
    Posts
    12,258
    Thank Post
    1,670
    Thanked 2,014 Times in 1,463 Posts
    Blog Entries
    2
    Rep Power
    451
    Are the time stamps correct on your installer?

  4. #4

    Little-Miss's Avatar
    Join Date
    Oct 2007
    Location
    London
    Posts
    5,527
    Thank Post
    2,394
    Thanked 774 Times in 468 Posts
    Blog Entries
    2
    Rep Power
    548
    Cha! Nevermind sorted...

  5. #5

    Little-Miss's Avatar
    Join Date
    Oct 2007
    Location
    London
    Posts
    5,527
    Thank Post
    2,394
    Thanked 774 Times in 468 Posts
    Blog Entries
    2
    Rep Power
    548
    lol posted at the same time! It's sorted...

  6. #6

    nephilim's Avatar
    Join Date
    Nov 2008
    Location
    Dunstable
    Posts
    12,258
    Thank Post
    1,670
    Thanked 2,014 Times in 1,463 Posts
    Blog Entries
    2
    Rep Power
    451
    What was it?

  7. #7

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,239
    Thank Post
    882
    Thanked 2,742 Times in 2,316 Posts
    Blog Entries
    11
    Rep Power
    784
    I made an MSI for this about a week ago

  8. #8

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,239
    Thank Post
    882
    Thanked 2,742 Times in 2,316 Posts
    Blog Entries
    11
    Rep Power
    784
    If anyone is after the MSI for 0.9.21c with stamps PM me and I can send you a link.

  9. #9

    Join Date
    May 2009
    Posts
    28
    Thank Post
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    12
    I use AutoIt for my silent install, but here is the code just in case anyone wants it.

    Code:
    #NoTrayIcon
    ; TuxPaint with Stamps Installer
    ; v 0.9.21c
    $installdir = @ScriptDir & "\library"
    
    ; Check if installed
    If FileExists(@ProgramFilesDir & "\TuxPaint\tuxpaint.exe") Then
    	Exit
    Else
    	_Install()
    EndIf
    
    Func _Install()
    	; Run install
    	DirMove($installdir & "\TuxPaint", @ProgramFilesDir & "\TuxPaint", 1)  ; install tuxpaint
    	Sleep(5000)
    	DirMove($installdir & "\Stamps\TuxPaint", @ProgramFilesDir & "\TuxPaint", 1) ; install stamps
    
    	; Run registry fixes
    
    	; Run cleanup tasks
    	DirCreate(@ProgramsCommonDir & "\TuxPaint")
    	FileCreateShortcut(@ProgramFilesDir & "\TuxPaint\tuxpaint.exe", @ProgramsCommonDir & "\TuxPaint\TuxPaint.lnk", @ProgramFilesDir & "\TuxPaint")
    	$sFile = FileOpen(@ProgramFilesDir & "\TuxPaint\tuxpaint.cfg", 1)
    	FileWriteLine($sFile, "fullscreen=yes") ; set tuxpaint to run fullscreen
    	FileClose($sFile)
    
    	; Finished
    	ToolTip("Installation Complete", 2000, 2000, "TuxPaint", 1, 4)
    	Sleep(5000) ; display tooltip for x seconds
    	ToolTip("") ; clears tooltip if script continues
    EndFunc ;==> _Install
    EDIT: I can create an MSI though if there is enough demand.
    Last edited by cyr0n_k0r; 14th November 2011 at 04:51 PM.

  10. #10

    Join Date
    Mar 2014
    Location
    United States
    Posts
    1
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    I have gotten the program and stamps to install but need the desktop icon to be the Full screen version or remove desktop icon completely.
    How can I do this. I am new to scripting so can you explain the "fullscreen=yes" part and how I can make sure it runs?
    Thanks

SHARE:
+ Post New Thread

Similar Threads

  1. Silent install of Kidspiration for WinXP
    By bmonrad in forum Educational Software
    Replies: 7
    Last Post: 4th February 2009, 03:33 PM
  2. Silent Install of ExamBase client
    By marco84 in forum Educational Software
    Replies: 9
    Last Post: 19th July 2007, 11:36 AM
  3. Install of LNM Servers.
    By tosca925 in forum Learning Network Manager
    Replies: 12
    Last Post: 20th December 2006, 12:02 PM
  4. Admin installs of Microsoft software?
    By Kyle in forum Windows
    Replies: 3
    Last Post: 19th January 2006, 10:49 PM
  5. ok install of debian via net
    By russdev in forum *nix
    Replies: 4
    Last Post: 24th September 2005, 02:03 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •