Lego Mindstorms NXT 1.1 Education
I am trying to silently install Lego Mindstorms NXT 1.1 Education to a group of computers but keep getting an error message from the install process about minimum operating system requirements (Windows XP SP2).
We are running Windows 7 Enterprise 32bit and the software is made for Windows XP SP2 and Vista so runs perfectly fine under Windows 7 it's just during the install process an error/warning message appears which you need to ok a few times and it installs and works fine.
I have tried using setup.exe /? to find a suppress errors command line switch this setup.exe doesn't seem to have support for a suppress error switch. I have tried using appdeploy re-packager 1.2 to re-package it but the error message still pops up (I believe this is the correct if undesired behaviour) and also complains about their being a MSI file (setup.exe calls and MSI file to install the drivers [once again I think this is the correct but undesired behaviour]).
I have taken a bit of a look around inside the MSI driver file using Orca and deleted what I thought was the operating system version check portion in the hopes that it would just then install but that didn't work.
Is anyone able to tell me how I can either suppress the error, re-package it into an MSI minus the error or what entries in the drivers MSI file I need to delete/modify so that it either skips the version check or detect that Windows 7 is a newer version and is ok to proceed with the install (this would mean that I can then use the inbuilt silent install and deploy via a batch script).
Thanks
We are running Windows 7 Enterprise 32bit and the software is made for Windows XP SP2 and Vista so runs perfectly fine under Windows 7 it's just during the install process an error/warning message appears which you need to ok a few times and it installs and works fine.
I have tried using setup.exe /? to find a suppress errors command line switch this setup.exe doesn't seem to have support for a suppress error switch. I have tried using appdeploy re-packager 1.2 to re-package it but the error message still pops up (I believe this is the correct if undesired behaviour) and also complains about their being a MSI file (setup.exe calls and MSI file to install the drivers [once again I think this is the correct but undesired behaviour]).
I have taken a bit of a look around inside the MSI driver file using Orca and deleted what I thought was the operating system version check portion in the hopes that it would just then install but that didn't work.
Is anyone able to tell me how I can either suppress the error, re-package it into an MSI minus the error or what entries in the drivers MSI file I need to delete/modify so that it either skips the version check or detect that Windows 7 is a newer version and is ok to proceed with the install (this would mean that I can then use the inbuilt silent install and deploy via a batch script).
Thanks
0 Comments
[ + ] Show comments
Answers (11)
Please log in to answer
Posted by:
BW~Merlin
13 years ago
I have an answer. This isn't tested using network UNC paths (I believe you can not set the compatibility mode on files on a UNC share but I *think* that is if you wished everyone who accessed that file to have that mode rather than those who are accessing it setting their own mode [as I said not tested using UNC yet]) but it works when installing from a local source so if worst comes to worst I can always use group policy to copy down the files and install it from a local location via a script etc.
What this does is set the compatibility layer on the setup.exe file to Windows Vista SP 2 and then uses the inbuilt silent install options and install Mindstorms NXT 1.1 Education silently and most importantly with no error/warning about minimum operating system version.
For more information see these links.
http://www.nebev.net/blog/?p=54
http://support.microsoft.com/kb/286705
http://www.sevenforums.com/tutorials/316-compatibility-mode.html <-- lots of info
http://www.autohotkey.com/forum/topic23758.html
set __COMPAT_LAYER=VISTASP2
\\<servername>\<filepath>\Mindstorm\setup.exe \\<servername>\<filepath>\Mindstorm\bin\silent_install.txt /q /AcceptLicenses yes
What this does is set the compatibility layer on the setup.exe file to Windows Vista SP 2 and then uses the inbuilt silent install options and install Mindstorms NXT 1.1 Education silently and most importantly with no error/warning about minimum operating system version.
For more information see these links.
http://www.nebev.net/blog/?p=54
http://support.microsoft.com/kb/286705
http://www.sevenforums.com/tutorials/316-compatibility-mode.html <-- lots of info
http://www.autohotkey.com/forum/topic23758.html
Posted by:
naveen.packager
13 years ago
Take all the msi's out from exe. Install them first (if the error pops up during the installation of driver msi then take a log file and it will let u know why the error is) and then capture the application.
The captured msi should not give you the error. If so it is also popping up the error then again take a log and check. You will get the clue.
The captured msi should not give you the error. If so it is also popping up the error then again take a log and check. You will get the clue.
Posted by:
BW~Merlin
13 years ago
ORIGINAL: naveen.packager
Take all the msi's out from exe. Install them first (if the error pops up during the installation of driver msi then take a log file and it will let u know why the error is) and then capture the application.
The captured msi should not give you the error. If so it is also popping up the error then again take a log and check. You will get the clue.
I don't think the setup.exe contains any MSI files but I shall take a look when I get back to work on Monday. What do you suggest I use to log the install?
Posted by:
naveen.packager
13 years ago
don't think the setup.exe contains any MSI files
I may not have understood you correcly.
setup.exe calls and MSI file to install the drivers
By this i thought you have an driver msi inside exe.
If you do not have any msi's then capture the application(captured msi should not give you pop up) and take the log file of installation, then you can come to know the reason for pop up if it gives.
Posted by:
BW~Merlin
13 years ago
ORIGINAL: naveen.packager
don't think the setup.exe contains any MSI files
I may not have understood you correcly.
setup.exe calls and MSI file to install the drivers
By this i thought you have an driver msi inside exe.
If you do not have any msi's then capture the application(captured msi should not give you pop up) and take the log file of installation, then you can come to know the reason for pop up if it gives.
I am only very new to re-packing (mainly done very simple silent install batch scripts to be deployed with Altiris in the past) but what looks like is happening in this case is the setup.exe file install the programme and then calls a separate standalone MSI file that contains the driver software (two files, one setup.exe and one driver.msi).
Posted by:
Arminius
13 years ago
Generally you won't find a "supress error" switch by running setup /?. But that may provide you with a way to extract an MSI out of the setup.exe or a way to record an iss file. also, if you're looking inside a driver file for an OS test for your install, you won't find it there. That sounds like 2 different files to me.
Posted by:
Timanator
13 years ago
Posted by:
BW~Merlin
13 years ago
Posted by:
BW~Merlin
13 years ago
ORIGINAL: Timanator
Can you package NXt 2.0 instead? I just extracted the MSI's and run them with the /quiet command to deploy through Altiris.
I do not have access to NXT 2.0 only 1.1 (I can't even find out where to get patches for NXT 1.X from). I believe that to get access to NXT 2.0 we would need to purchase it as it is a major revision update (I think we are getting it later in the year but for now I still need a way to deploy NXT 1.1).
It is good to know that NXT 2.0 has msi's that are able to be installed silently.
Posted by:
anonymous_9363
13 years ago
Great work. If only other posters showed your dogged persistence!
It would be helpful if you would post your findings into a new 'Package KB'.
It would be helpful if you would post your findings into a new 'Package KB'.
Posted by:
BW~Merlin
13 years ago
ORIGINAL: VBScab
Great work. If only other posters showed your dogged persistence!
It would be helpful if you would post your findings into a new 'Package KB'.
There is already one (http://itninja.com/link/ms-java-vm-support-page3) which I checked beforehand (I always check here for how to package first) and planned on updating (have my command line solution in the pending queue now that I hope will help someone in future) once I figured out how to make it install with no errors or warnings.
I really wish I had found a way to package this all into a nice little MSI (would of once again shared the answer) but I simply do not have the mental ability (I am do dumb) to figure out Orca, MSI and setup.exe files and find (what I assume to be simple) version check and delete/modify it.
This may all be for nothing as I have been told we will be getting Mindstorms NXT 2.x Education which I believe has an MSI file (or setup.exe with msi's inside that can be extracted and then installed).
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.