cookie_monsta Posted November 13, 2013 Posted November 13, 2013 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
synaesthesia Posted November 13, 2013 Posted November 13, 2013 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.
cookie_monsta Posted November 13, 2013 Author Posted November 13, 2013 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).
Boredguy Posted November 13, 2013 Posted November 13, 2013 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-
cookie_monsta Posted November 13, 2013 Author Posted November 13, 2013 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?
Boredguy Posted November 13, 2013 Posted November 13, 2013 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
cookie_monsta Posted November 13, 2013 Author Posted November 13, 2013 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
cookie_monsta Posted November 14, 2013 Author Posted November 14, 2013 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
cookie_monsta Posted November 14, 2013 Author Posted November 14, 2013 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:\
Boredguy Posted November 14, 2013 Posted November 14, 2013 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.
cookie_monsta Posted November 14, 2013 Author Posted November 14, 2013 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?
Boredguy Posted November 14, 2013 Posted November 14, 2013 Just created a MST on my Wise InstallTailor, and there is lots and lots of additional rows so I'll PM you the file
cookie_monsta Posted November 14, 2013 Author Posted November 14, 2013 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
Arthur Posted November 14, 2013 Posted November 14, 2013 (edited) 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.python-3.3.2.mst Edited November 14, 2013 by Arthur 1
cookie_monsta Posted November 14, 2013 Author Posted November 14, 2013 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
Boredguy Posted November 14, 2013 Posted November 14, 2013 Well that's certainly a lot easier than wise wanted to make it.
Arthur Posted November 14, 2013 Posted November 14, 2013 I have a 64bit program trying to install to c:\program files (x86) but its a start For the 64-bit version of Python set it to [ProgramFiles64Folder]Python33. I have attached another MST. python-3.3.2.amd64.mst
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now