+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 17
Educational Software Thread, Python 3.3.2 installation in Technical; Hi All, I am trying to prepare for the installation of Python 3.3.2 for our ICT departments. I have downloaded ...
  1. #1

    Join Date
    Jul 2011
    Location
    Leicester
    Posts
    75
    Thank Post
    18
    Thanked 2 Times in 2 Posts
    Rep Power
    7

    Python 3.3.2 installation

    Hi All,

    I am trying to prepare for the installation of Python 3.3.2 for our ICT departments.

    I have downloaded both MSI files for 3.3.2 and 2.7.6.

    During my tests, the default install location is c:\python33 or c:\python27. However, students are 'blocked' from 'seeing' the root of the C:\

    I am attempting to edit the MSI file using InstEd! but for life of me, cannot find where to edit the default install folder.

    Is anyone using this software and have you managed to install this software to a more conventional area such as c:\program files\ or c:\program files(x86)?

    Any advice is welcome.

    many thanks in advance,

    Cookie

  2. #2

    synaesthesia's Avatar
    Join Date
    Jan 2009
    Location
    Northamptonshire
    Posts
    6,027
    Thank Post
    588
    Thanked 1,030 Times in 790 Posts
    Blog Entries
    15
    Rep Power
    467
    For some fairly obvious reasons we keep our programming environments virtualised (using virtualbox) so it doesn't matter where they are. The virtual machines have full admin rights for the kids doing ICT. After all, they wouldn't be able to run what they've created anyway on many a network.

  3. #3

    Join Date
    Jul 2011
    Location
    Leicester
    Posts
    75
    Thank Post
    18
    Thanked 2 Times in 2 Posts
    Rep Power
    7
    Sadly the ICT staff here do not like using Virtual machines (I went down this path for VB6 and they kicked it to the kerb in minutes).

  4. #4
    Boredguy's Avatar
    Join Date
    Jun 2011
    Location
    Swindon
    Posts
    593
    Thank Post
    4
    Thanked 133 Times in 124 Posts
    Rep Power
    50
    The following works nicely to store it in a different directory.

    msiexec /i "\\Location_of_msi\python-3.3.0.msi" TARGETDIR="%ProgramFiles%\Python33" /qb-

  5. #5

    Join Date
    Jul 2011
    Location
    Leicester
    Posts
    75
    Thank Post
    18
    Thanked 2 Times in 2 Posts
    Rep Power
    7
    Quote Originally Posted by Boredguy View Post
    The following works nicely to store it in a different directory.

    msiexec /i "\\Location_of_msi\python-3.3.0.msi" TARGETDIR="%ProgramFiles%\Python33" /qb-
    oooo thank you....

    I think I also forgot to mention that I/we intend to deploy the MSI via GPO.... any further suggestions?

  6. #6
    Boredguy's Avatar
    Join Date
    Jun 2011
    Location
    Swindon
    Posts
    593
    Thank Post
    4
    Thanked 133 Times in 124 Posts
    Rep Power
    50
    You may need to create a MST file to set the install path if your deploying it via GPO, which is easy to do with Orca

  7. #7

    Join Date
    Jul 2011
    Location
    Leicester
    Posts
    75
    Thank Post
    18
    Thanked 2 Times in 2 Posts
    Rep Power
    7
    Quote Originally Posted by Boredguy View Post
    You may need to create a MST file to set the install path if your deploying it via GPO, which is easy to do with Orca
    thank you!

    Heard of Orca, but never had the pleasure of using it

  8. #8

    Join Date
    Jul 2011
    Location
    Leicester
    Posts
    75
    Thank Post
    18
    Thanked 2 Times in 2 Posts
    Rep Power
    7
    Quote Originally Posted by Boredguy View Post
    You may need to create a MST file to set the install path if your deploying it via GPO, which is easy to do with Orca
    Ive created a .mst file using Orca with what I think are the correct amendments to the correct fields..... but how do I know 'merge' the two together so I can deploy just the MSI with GPO?

    Also I tried Simply editing the msi, I have changed each instance where I have found TARGETDIR="" to TARGETDIR="%ProgramFiles%\Python33".
    The fields I have amended are:
    AdminExecuteSequence>InitialTargetDir
    AdminUISequence>InitialTargetDir
    InstallExecuteSequence>InitialTargetDir
    InstallUISequence>InitialTargetDir

    I then ran the MSI, but now the default path is simply c:\ instead of c:\python33

    Anyone point out where I am going wrong please?

    thanks

    Cookie

  9. #9

    Join Date
    Jul 2011
    Location
    Leicester
    Posts
    75
    Thank Post
    18
    Thanked 2 Times in 2 Posts
    Rep Power
    7
    ive combined the .mst and .msi ...and saved it as a new msi.... (couldn't see the woods for the trees n all that)

    but now it still reverts back to c:\

    python.JPG

  10. #10
    Boredguy's Avatar
    Join Date
    Jun 2011
    Location
    Swindon
    Posts
    593
    Thank Post
    4
    Thanked 133 Times in 124 Posts
    Rep Power
    50
    You don't combine the two files.
    When you are deploying via GPO, you have the option to add a transform file, which is when you point it to the MST.

  11. #11

    Join Date
    Jul 2011
    Location
    Leicester
    Posts
    75
    Thank Post
    18
    Thanked 2 Times in 2 Posts
    Rep Power
    7
    Quote Originally Posted by Boredguy View Post
    You don't combine the two files.
    When you are deploying via GPO, you have the option to add a transform file, which is when you point it to the MST.
    Ahhh

    see where and what you mean now BoredGuy....

    tested it on a test UO but it still installs to the wrong location. Am I changing the wrong field(s) or entering the wrong syntax?

  12. #12
    Boredguy's Avatar
    Join Date
    Jun 2011
    Location
    Swindon
    Posts
    593
    Thank Post
    4
    Thanked 133 Times in 124 Posts
    Rep Power
    50
    Just created a MST on my Wise InstallTailor, and there is lots and lots of additional rows so I'll PM you the file

  13. #13

    Join Date
    Jul 2011
    Location
    Leicester
    Posts
    75
    Thank Post
    18
    Thanked 2 Times in 2 Posts
    Rep Power
    7
    Quote Originally Posted by Boredguy View Post
    Just created a MST on my Wise InstallTailor, and there is lots and lots of additional rows so I'll PM you the file
    cool....I look forward to receiving it

  14. #14


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    9,006
    Thank Post
    230
    Thanked 2,693 Times in 1,988 Posts
    Rep Power
    791
    This is the only thing you need to change...



    I have attached an MST which does this for you. Deploy this MST with the MSI and Python will be installed to the Program Files folder.
    Attached Files Attached Files
    Last edited by Arthur; 14th November 2013 at 03:50 PM.

  15. Thanks to Arthur from:

    cookie_monsta (14th November 2013)

  16. #15

    Join Date
    Jul 2011
    Location
    Leicester
    Posts
    75
    Thank Post
    18
    Thanked 2 Times in 2 Posts
    Rep Power
    7
    Quote Originally Posted by Arthur View Post
    This is the only thing you need to change...



    I have attached an MST which does this for you. Deploy this MST with the MSI and Python will be installed to the Program Files folder.
    Arthur..... I cannot thank you enough!!!!

    I amended the one field and it worked....well worked to a certain... I have a 64bit program trying to install to c:\program files (x86) but its a start

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Remote Installation Services (RIS)
    By Dos_Box in forum How do you do....it?
    Replies: 140
    Last Post: 29th June 2010, 06:27 PM
  2. Projector Installation/ source for parts
    By mark in forum Hardware
    Replies: 23
    Last Post: 20th September 2005, 10:41 PM
  3. Replies: 17
    Last Post: 16th September 2005, 08:07 AM
  4. ..Install software?
    By kingswood in forum How do you do....it?
    Replies: 21
    Last Post: 4th August 2005, 04:00 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
  •