Jump to content

Re: GuiRunOnce Section


Recommended Posts

Okay, I'm back everyone with some more questions. What I wanna do is use the GuiRunOnce section to install Winzip 9.0 Corp, WinRAR 3.3 Corp, M$ Plus, Adobe 6 Pro Full, and Diskkeeper Server Edition 8.0. I have wrote cmd files in notepad and to test them I click on them and I get an error stating it can't find C:\Program..... I have the setup files in a folder inside $OEM$/Progs'...,, and I have the cmd files in $OEM$/Install. I need the switches to install these proggies onto my unattended cd. I think I'm writing the cmds wrong.

@echo off
title Winzip 9.0 Corp.

echo Hello User

echo.
echo Installing Winzip 9.0 Corp
start /wait %Programfiles%\install\winzip\winzip32.exe /noqp /autoinstall

echo Installation complete!


and

@echo off
title WinRar 3.30 Corp.

echo Hello User

echo.
echo Installing winrar 3.30 Corp
start /wait %Programfiles%\winrar/s

echo Installation complete!

So any help will be ibliged.

Link to comment
Share on other sites


Hey mrpitman27, basically when you expand your command out, it became

start /wait C:\Program Files\install\winzip\winzip32.exe /noqp /autoinstall

if your %SYSTEMDRIVE% is C: for example

you realise that start /wait will think

C:\Program

is the file, and the rest of the commands

Files\install\winzip\winzip32.exe 
/noqp
/autoinstall

as switches

However, the same thing is if you try to enclose them in " like

start /wait "C:\Program Files\install\winzip\winzip32.exe" /noqp /autoinstall

too bad it fails too, the only way i can get past is using

start /wait C:\Progra~1\install\winzip\winzip32.exe /noqp /autoinstall

hope this help you!

Link to comment
Share on other sites

why do you put your install files in c:\program files\ folder?

try c:\INSTALL

or leave them on the cd, and install from cd.

This didn't work:

start /wait "%Programfiles%\install\winzip\winzip32.exe" /noqp /autoinstall

Link to comment
Share on other sites

Well I want them to install in the unattended process as well. I don't wanna have to come back and install it from the cd unless. Also, I have the cmds in the Install folder, but I read in the guide to put proggies in $Progs folder and direct them using the GuiRunOnce section. I tried all the examples that ppl are posted and those didn't work for me. There isn't a winnzip32.exe in the prog. dir, but it's a setup.exe. So go figure. Any help wil be appreciated. Thanks.

Link to comment
Share on other sites

$Progs = the program files folder - so by putting things in the $PROGS folder means that it will get copied to the c:\program files\ folder on the hard drive.

Not necesarrily where you put the install files.

also switches for the installs of WinZIP - is it correct?

Link to comment
Share on other sites

Why not have a good read of the guide first ?

Winzip needs to be installed manually, then copy away the installed folder (C:\Program Files\winzip) to where you want and place it on HD during unattended install through $Progs folder. Then, use the switches you are already using.

@WwTIPPYwW

Yes, the switches are correct. What happens is that the installed files are already in place, the switches simply register winzip as one of the installed apps, put an Add/Remove icon, and give the shell extensions.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...