+ Post New Thread
Results 1 to 11 of 11
Educational Software Thread, Installing Scratch on x64 machine in Technical; I am in the process of testing SCCM for deploying software and have run into a problem with Scratch (the ...
  1. #1

    Join Date
    Apr 2007
    Location
    Croydon
    Posts
    497
    Thank Post
    18
    Thanked 31 Times in 30 Posts
    Rep Power
    20

    Installing Scratch on x64 machine

    I am in the process of testing SCCM for deploying software and have run into a problem with Scratch (the interactive programming app). On a x64 machine the install wants to install the app to C:\Program Files (x86)\Scratch which is fine, but the shortcuts point to C:\Program Files\Scratch and ovbiously don't work.

    This isn't specific to SCCM and does exactly the same if you just run the MSI or I would assume if deployed using Group Policy.

    As there is no x64 MSI for Scratch does anybody have any suggesions to how to get the shortcuts pointing to the correct location when deployed across 1000 machines?

    I've opened the MSI up in Orca to see if something can be changed but I can't find anything that looks like it would work.

  2. #2

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,590
    Thank Post
    109
    Thanked 762 Times in 593 Posts
    Rep Power
    180
    If you dump the files onto a network share, Scratch will run quite happily from there.

    The other option is to use a junction point (say c:\progs). On x86 installs create the junction pointing to "c:\program files" and on x64 installs point the junction to "c:\program files (x86)".

  3. Thanks to Ric_ from:

    adamf (13th March 2011)

  4. #3
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,166
    Thank Post
    563
    Thanked 153 Times in 139 Posts
    Blog Entries
    78
    Rep Power
    80
    As Ric says really. We use a local folder C:\Environment which contains the Start Menu and Desktop icons we want to use. Redirection is used to force these locations to be used for users, and periodically we can push updates to the folders for new installs etc.

  5. Thanks to TheScarfedOne from:

    adamf (13th March 2011)

  6. #4

    AngryTechnician's Avatar
    Join Date
    Oct 2008
    Posts
    3,730
    Thank Post
    698
    Thanked 1,211 Times in 761 Posts
    Rep Power
    394
    The problem here is that the MSI has been created by someone who doesn't really know what they are doing with Windows Installer. They've created the shortcuts manually on their build machine and authored them into the MSI as files, instead of using the proper shortcut creation functions.

    Here's a couple of MSTs that fix it. One mirrors the existing functionality, while the other leaves out the shortcut to the Scratch website if you don't want that.
    Attached Files Attached Files

  7. Thanks to AngryTechnician from:

    adamf (13th March 2011)

  8. #5


    Join Date
    Feb 2007
    Location
    51.405546, -0.510212
    Posts
    8,759
    Thank Post
    221
    Thanked 2,630 Times in 1,938 Posts
    Rep Power
    779
    Like AngryTechnician, I also created an MST which fixes all of the issues with the original poorly authored MSI. It now validates perfectly in InstEd & Orca.

    In addition to that, the Scratch.ini file has been added to the INIFile table which should make it easier in the future to make changes to it using my MST and the .sb/.sprite file associations now use the ProgId & Verb tables instead of the registry.

    AT. There's a very small issue with your MST. The Scratch.lnk is still referenced in the Component table.
    Attached Files Attached Files

  9. Thanks to Arthur from:

    adamf (13th March 2011)

  10. #6

    AngryTechnician's Avatar
    Join Date
    Oct 2008
    Posts
    3,730
    Thank Post
    698
    Thanked 1,211 Times in 761 Posts
    Rep Power
    394
    My intention was to change as little as possible so that it would (hopefully) work with later versions without modification, so all I did was take Scratch.lnk out of the FeatureComponents so it wouldn't install.

  11. #7


    Join Date
    Feb 2007
    Location
    51.405546, -0.510212
    Posts
    8,759
    Thank Post
    221
    Thanked 2,630 Times in 1,938 Posts
    Rep Power
    779
    Good point, although it is extremely easy to revert parts of the MST back to how they were in the base MSI should things change in later versions (in InstEd you right-click a table and click "Revert To Base").

    The INI file was added to allow easy modification of the Scratch.ini file prior to installation. e.g to change the default home folder, visible drives and proxy server settings which I know a lot of schools do.

    The other reason I changed so much is that I hate seeing ICE errors/warnings in MSIs.

  12. Thanks to Arthur from:

    SYNACK (14th March 2011)

  13. #8

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,808
    Thank Post
    1,476
    Thanked 592 Times in 444 Posts
    Rep Power
    168
    I've no idea what your talking about with orca and msts but could I suggest that you have a friendly word with the Scratch team at MIT with your corrections/improvements to the msi as it would be better to get them sorted out at the source than re-correcting each time.

    They are a friendly bunch

    Si

  14. #9


    Join Date
    Feb 2007
    Location
    51.405546, -0.510212
    Posts
    8,759
    Thank Post
    221
    Thanked 2,630 Times in 1,938 Posts
    Rep Power
    779
    Do you think it would be worth contacting them re: the MSI, especially considering Scratch v2.0 is being rewritten in Flash and will most likely use Adobe Air for the offline version?

  15. #10

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,061
    Thank Post
    853
    Thanked 2,675 Times in 2,269 Posts
    Blog Entries
    9
    Rep Power
    768
    Quote Originally Posted by Arthur View Post
    Do you think it would be worth contacting them re: the MSI, especially considering Scratch v2.0 is being rewritten in Flash and will most likely use Adobe Air for the offline version?
    Flash, now thats a step backwards.

  16. #11

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,808
    Thank Post
    1,476
    Thanked 592 Times in 444 Posts
    Rep Power
    168
    Flash, now thats a step backwards.
    It is from the open-ness (and ability to modify it) but its probably being done to make it a write-once-work-anywhere type of project whereas the current setup of using Squeak to write Scratch in and a java viewer to run online or wrapping the project into Windows only .exe with an external prog stops Scratch from reaching a wider audience.

    We'll still have the old version and plenty of people know how to mod it so nothing will be lost

    Si

SHARE:
+ Post New Thread

Similar Threads

  1. Installing Moodle - Windows 2003 x64
    By MattGibson in forum Virtual Learning Platforms
    Replies: 12
    Last Post: 21st July 2010, 04:24 PM
  2. Virtual Machine Software For Windows 7 x64
    By FN-GM in forum Thin Client and Virtual Machines
    Replies: 6
    Last Post: 17th July 2010, 07:53 AM
  3. [Gentoo] x64 windows guest VM on x64 gentoo host
    By RabbieBurns in forum *nix
    Replies: 10
    Last Post: 13th November 2009, 02:23 PM
  4. Problems installing client on WinXP x64
    By meastaugh1 in forum EduGeek Shutdownertron
    Replies: 2
    Last Post: 7th September 2009, 01:22 PM
  5. Installing XP on wiped machine
    By SimpleSi in forum Windows
    Replies: 32
    Last Post: 18th March 2007, 03:46 PM

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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