/build/static/layout/Breadcrumb_cap_w.png

Complex LogMeIn Installer Help!

Hey guys,

In my environment we currently have several different groups for LogMeIn. This is sorted by office. I have been working on creating a post install task that allows me to have one image, and it will ask me which office this computer is for. The script I have works on a live windows 7 machine without issue, but I can't get it to work in the post install environment. I have it set to run in Windows as a post install task.

I have a Zip file with all of the MSIs and the BAT file in question. The BAT file will RUN, but it then errors out with Error Code 1 as soon as it sets the parameter.

Here is the BAT script.

echo Which Office is this for (KC/CHI/NY)?
echo KC - Kansas City
echo CHI - Chicago
echo NY - New York

set /p whatapp=

if %whatapp%==KC (
start LogMeIn_KC.msi /passive
)
else if %whatapp%==CHI (
start LogMeIn_CHI.msi /passive

else if %whatapp%==NY (
start LogMeIn_NY.msi /passive
)

else (
YOU MUST ENTER EITHER KC / CHI / NY WITH CAPS
)

Does anyone have any ideas why this is happening?


1 Comment   [ + ] Show comment
  • Why not make it zero touch and condition the install on something unique to each location - IP address would probably be a good one. - dunnpy 8 years ago

Answers (0)

Be the first to answer this question

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ