Help - Search - Members - Calendar
Full Version: TweakUI and Adobe Reader 6
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   


Google Internet Forums Unattended CD/DVD Guide
mendipjohn
unsure.gif These are some difficulties I had when my batch file ran.

(install.cmd launched from GuiRunOnceEx section of winnt.sif)

I downloaded the silent re-packaged TweakUI file and added it to my install folder and entered the entries in install.cmd without switches assuming it would be fully unattended, yet later, when install.cmd ran, it presented a user interface.

I have tried loading the program with the /? switch to see a list,
but got a Windows Installer "incorrect commandline perameters" error.

Also, Adobe Reader 6, ran the /? to see the commands, then used switch to extract files, now have:

setup.exe setup.ini adobe reader 6.0.msi 0x0409.ini abcpy.ini data1.cab rdr60enu.itw rdr60enu.mst

I have found that only setup.exe supports switches.

I first used setup.exe /? to see the switch list, yet when i tried the /S /v /qn switch for "silent" install, nothing happens?

Run setup without switches and it is fine, but i want to use it in my batch.

To clarify, i want to know the appropirate commands to get a silent unattended install for Tweak UI and Adobe Reader 6.

Thanks, John.
diesel_98a
adobe 6:
CODE
ECHO Installing Adobe Reader 6...
start /wait %systemdrive%\install\Adobe6\AR6.msi /QB
ECHO.

Tweak ui:
CODE
ECHO Installing TweakUI 2.10 Powertoy...
COPY "%systemdrive%\install\PowerToys\TweakUI.exe" "%systemroot%\System32\"
COPY "%systemdrive%\install\PowerToys\TweakUI 2.10 Powertoy.lnk" "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\Accessories\System Tools\"


the folder names and such will be different depending on where u have urs at.
XL-DJK
thumbup.gif Absolutely, follow Diesel, he's got it down pat, I know, cuz I have the same layout and it installs flawlessly.....Here, I've also got a vbs script to put a shortcut to TweakUI on the Control Panel if you don't have it already.... thumbup.gif
mendipjohn
Thanks for the info, i will try it out within the next week.

One query is that if the Tweak UI package was designed as a silent install, why can you not sumply run it?

I am still grapling with Adobe Reader, doesn't like any of the commands you recommended.
unsure.gif

Thanks for the help anyhow thumbup.gif
XL-DJK
Try using /qn switch for Adobe instead of /qb. I know there really isn't a difference, but it just might help whistling.gif

Oh, and this might help you out as well:

start /wait %systemdrive%\install\Adobe6\AR6.msi /QB


Get rid of the space you have between start and slash and add the bunny ears

so, the command should be :

start/wait "%systemdrive%\install\Adobe6\AR6.msi" /qn
gosh
Why repackage tweakui? I just put tweakui.exe in my $OEM$\$$\System32 folder. When i want to use it, i just type tweakui from the run line.

-gosh
diesel_98a
good i idea gosh, never even thought of that one. thanks for that idea.
Aaron
QUOTE (mendipjohn @ Jan 4 2004, 06:59 PM)
I downloaded the silent re-packaged TweakUI file and added it to my install folder and entered the entries in install.cmd without switches assuming it would be fully unattended, yet later, when install.cmd ran, it presented a user interface.

Its packaged to support a silent install. Use /qb or /qn as you would with msi files.

QUOTE
Also, Adobe Reader 6, ran the /? to see the commands, then used switch to extract files, now have:

setup.exe setup.ini adobe reader 6.0.msi  0x0409.ini abcpy.ini  data1.cab rdr60enu.itw rdr60enu.mst 

I have found that only setup.exe supports switches.


Again, /qn or /qb on Adobe Reader 6.msi, OR.. without needing to extract the package, you can use: AdbeRdr60_enu_basic.exe -p"-s /v\"/qn\""
mendipjohn
Thanks for the help, TweakUI behaves just as i want with the /qn switch.
I also included the script to add the Control Panel icon.

The Adobe switches for the compressed file work like a dream as well.

So thats all sorted.

I found that the Tweak CP icon script produces a dialogue box like my Windows Messenger disabler script. Is there a simple way of editing the script to prevent these boxes from appearing?

Thanks.
thumbup.gif




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.