Jump to content

Recommended Posts

Posted

Does anyone have a silent install for Tux Paint?

 

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

 


	id="tuxpaint"
name="Tux Paint"
revision="200806031"
reboot="false"
priority="10">

































 

When i run the bat i get the error

 '\\Curricsvr1\apps\TuxPaint'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported.  Defaulting to Windows directory.

Posted

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

Posted (edited)

I use AutoIt for my silent install, but here is the code just in case anyone wants it.

 

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

Edited by cyr0n_k0r
  • 2 years later...
Posted

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



  • 33 When would you like EduGeek EDIT 2025 to be held?

    1. 1. Select a time period you can attend


      • I can make it in June\July
      • I can make it in August\Sept
      • Other time period. Comment below
      • Either time

×
×
  • Create New...