X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 18 Mar 2015 09:20 AM by  anon
Silent Install
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
18 Mar 2015 09:20 AM
    Hello!I'm trying to build a silent package to silently install ENVI-IDL on the campus that I work. However, I’ve recently hit a few issues that I’m not sure how to navigate around. First off, I’m following the instructions here, and using a DVD for the initial install: (http://www.exelisvis.com/...tions.aspx)Following this (with the .iss file successfully completed), I started putting together a script to use on the machines here on campus. The script is copied and pasted below. I’ve also collected the full installer folder for 64 Bit and the silent install script into one folder. Running the installer outside of the script works fine; it appears that I’m missing a step within my script. @echo on:: Install ENVI and IDL with RGTS License SPECIFICALLY FOR spring 2015 CEE class:: Switch to Temp Directorycd /d %systemroot%\Windows\Temp\ENVI-IDL\ENVI-IDL:: Install ENVI+IDLsetup64.exe /s /f1"%systemroot%\Windows\Temp\ENVI-IDL\ENVI-IDL\ENVI-IDL_Silent.iss"IF NOT "%ERRORLEVEL%"=="0" EXIT /B %ERRORLEVEL%:: Move Menu items to Public Foldersxcopy %systemroot%\Windows\Temp\ENVI-IDL\ENVI-IDL\idl_menu\*.* c:\users\public\documents\idl_menu /IIF NOT "%ERRORLEVEL%"=="0" EXIT /B %ERRORLEVEL%:: Move user script to desktopcopy %systemroot%\Windows\Temp\ENVI-IDL\ENVI-IDL\ENVI_FIRST_RUN.cmd c:\users\public\desktopIF NOT "%ERRORLEVEL%"=="0" EXIT /B %ERRORLEVEL%:: Add global Environment variable for default pathsetx IDL_PATH "P:\ENVI\Config;" /mIF NOT "%ERRORLEVEL%"=="0" EXIT /B %ERRORLEVEL%:: Make a Shared local directory for ENVI+IDL filesmd c:\users\public\desktop\ENVI-TEMPIF NOT "%ERRORLEVEL%"=="0" EXIT /B %ERRORLEVEL%:: Cleanupcd /d %systemroot%\TempRMDIR "%systemroot%\Temp\ENVI_IDL" /s /qProblem that I keep hitting is this: when I run this script, I get the following error message:C:\Windows\system32>cd c:\users\jperri01\desktopc:\Users\jperri01\Desktop>test.cmdc:\Users\jperri01\Desktop>cd /d C:\Windows\Windows\Temp\ENVI-IDL\ENVI-IDLThe system cannot find the path specified.c:\Users\jperri01\Desktop>setup64.exe /s /f1"C:\Windows\Windows\Temp\ENVI-IDL\ENVI-IDL\ENVI-IDL_Silent.iss"'setup64.exe' is not recognized as an internal or external command, operable program or batch file.c:\Users\jperri01\Desktop>IF NOT "9009" == "0" EXIT /B 9009c:\Users\jperri01\Desktop>I have no idea if my script is wrong, or if I prepared the silent install wrong but I’m kinda frustrated and am not sure how to continue further with the set up.

    Deleted User



    New Member


    Posts:
    New Member


    --
    03 Apr 2015 05:00 PM
    Hello, Is it possible to try using another path just to see if there is a permission issue or if it's having trouble managing the characters in the path name? It appears the script seems to be built properly and I'm not familiar with any limitations but it might help us narrow down the issue if we're able to see if there are any similar behaviors when using a different path setup. Thanks!

    Deleted User



    New Member


    Posts:
    New Member


    --
    10 Apr 2015 08:27 AM
    Sure! I'll try that and get back to you.Next time I'll try to format my question a little better so it's not a jumble of words. Thanks,J
    You are not authorized to post a reply.