Jump to content

Could someone create an MSI Installer for new Scratch3 Desktop please?


Recommended Posts

  • 2 weeks later...
Posted

I have been asked to setup an msi for version 3.6.0. Thus far after unsuccessfully trying to find a temp .msi file when starting up the exe installer, as well not finding anything with 7zip, I used something else.

 

I used a really old program called 'witem installer'. This makes an msi after you install the exe first. I had to edit the program installer path and add the shortcuts to start and desktop, plus when using the wizard, edit all the product info - mainly to 'na'.

 

It creates a very large file though - 356,288 KB. I tested the msi manually and it ran fine, and have deployed it successfully to a test lab via GP.

Posted

I honestly don't understand the point of this MSI repackaging stuff. It's distributed as an NSIS installer and the switches work fine.

 

"Scratch Desktop Setup 3.6.0.exe" /S /allusers /desktopshortcut

  • Thanks 4
Posted
I honestly don't understand the point of this MSI repackaging stuff. It's distributed as an NSIS installer and the switches work fine.

 

"Scratch Desktop Setup 3.6.0.exe" /S /allusers /desktopshortcut

It will be because some Admins still rely on GPO deployments and don't have SCCM deployed.
  • Thanks 1
Posted (edited)

Or you can install the .exe on a test machine, take a copy of the folder Scratch Desktop from C:\Program Files (86)\ (I think could be C:\Program Files) and put it in a network share and create a GPO to create the folder structure and copy the files to the computers you want it on. Then create a shortcut that points to where you copied the files to that points to scratch desktop.exe, for me the path was C:\Program Files\Scratch Desktop\Scratch Desktop.exe.

 

My GPO:

Computer\Preferences\Windows Settings\Folders

New Folder: C:\Program Files\Scratch Desktop

New Folder: C:\Program Files\Scratch Desktop\locales

New Folder: C:\Program Files\Scratch Desktop\resources

New Folder: C:\Program Files\Scratch Desktop\swiftshader

 

Computer\Preferences\Windows Settings\Files

New Files:

Source \\Your\Network\share\Scratch Desktop\*.*

Destination C:\Program Files\Scratch Desktop\

New Files:

Source \\Your\Network\share\Scratch Desktop\locales\*.*

Destination C:\Program Files\Scratch Desktop\locales\

New Files:

Source \\Your\Network\share\Scratch Desktop\resources\*.*

Destination C:\Program Files\Scratch Desktop\resources\

New Files:

Source \\Your\Network\share\Scratch Desktop\swiftshader\*.*

destination C:\Program Files\Scratch Desktop\swiftshader\

 

Not as clean as an msi but if you want to do it all via gpo thats the workaround I came up with.

 

Note: Make sure the folder "Scratch Desktop" you copy to the network share has read access for authenticated users or the files wont copy.

Edited by FudgeyBear
  • Thanks 1
  • 3 months later...
Posted

I couldn't get Scratch to work direct from a network share, so I used a method similar to @FudgeyBear, and used a script to copy the files onto the local drive, seems to work fine.

 

1, Download Scratch

2, Unzip the .exe file

3, From the $PLUGINSDIR, unzip the app-32.7z file

4, Copy the contents of the app-32 file into a shared network folder

5, Create a script

Robocopy /copyall /s /e "\\SERVER\NETWORKSHARE\Scratch3.6" "C:\Program Files\Scratch3.6"

6, Create a GPO to create the folder Scratch3.6 in C:\Program Files\

7, Create a GPO and assign the start up script created in step 5

 

That should do the trick!

  • Thanks 1
  • 3 weeks later...
Posted
I think scratch can be used online now without having the program installed now would that not be better ?

 

I found the problem with doing it online is that it gives the kids access to loads of distracting stuff

 

It can help to be able to run it with WWW blocked so they don;t get distracted

 

OK - that is a class control issue but anything that can help make the teacher the helper and enabler helps - rather than having to be the enforcer

 

which I always found especially important when the kids are doing a programming thingy - trying to keep an eye on the whole class while trying to work out exactly why a program is doing something weird can be difficult!

  • 2 weeks later...
Posted (edited)

We use online, works pretty well most of the time.

 

But you are right the online version is a bit of a social network and gets abused by people

uploading songs / videos. Kids were using this as a way to listen to music etc until I

figured out an easy way to block it :)

 

http://www.edugeek.net/forums/internet-related-filtering-firewall/213567-how-block-scratch-projects-pop-music.html#post1829728

Edited by mrstrong
typo
  • 3 months later...
  • 1 month later...
Posted (edited)
Version 3.12.0 is out, has anyone tried deploying it?

 

The only way I've found to deploy Scratch 3.12 is here

http://www.edugeek.net/forums/windows/202686-could-someone-create-msi-installer-new-scratch3-desktop-please-4.html#post1824202

 

extract the app-32 folder than use robocopy in a batch file to copy that to the client, then GPO to create shortcuts.

 

Thanks to @simpsonj

 

To run a batch file as an application in MDT, use the form:-

 

cmd.exe /c \\server\share\batch.bat

Edited by OverWorked
  • 2 months later...
Posted
No idea if this is a new improvement but just started looking at the current iteration of Scratch Desktop after realising Scratch 2 was a bit old and needed Air! Anyway, after some of the comments on here and looking at the uninstall string in the registry I discovered that, for version 3.6.0:

 

"Scratch Desktop Setup 3.6.0.exe" /allusers /S

 

does what we all long for!

HTH

Martin

 

You sir, are a scholar and a gentleman!

Thank you for this! was pulling my hair out trying to find the correct switch.

Was missing the /allusers

  • Thanks 1

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



×
×
  • Create New...