Help - Search - Members - Calendar
Full Version: hp scanjet 2300c scanner
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   


Google Internet Forums Unattended CD/DVD Guide
MtK
Hi,

does anyone know how to silently install:
hp scanjet 2300c scanner

Actually it supports a lot of models:
QUOTE
2300c
3500c, 3530c, 3570c, 3570cxi
4500c, 4500cxi, 4570c, 4570cse, 4570cxi
5500c, 5500cxi, 5550c, 5550cxi


It's an auto-archive file which after openning has a *.MSI file:
HP Photo and Imaging 2.0 - Scanners.msi

I tried these switches bwith this file & the Setup.EXE file:
(all possible combinations)
/s /v "/qn REBOOT=Suppress"

but no good...
Bilou_Gateux
Setup.exe and Update.exe Command Line Parameters
QUOTE
switch :
/s : Silent mode

For an InstallScript MSI project, the command Setup.exe /s runs the installation in silent mode, by default based on the responses contained in a response file called Setup.iss in the same directory (response files are created by running Setup.exe with the /r option). To specify an alternative file name or location of the response file, use the /f1 option, described below.

The command Setup.exe /s also suppresses the Setup.exe initialization window for a Basic MSI installation program, but does not read a response file. To run a Basic MSI product silently, run the command line Setup.exe /s /v/qn. (To specify the values of public properties for a silent Basic MSI installation, you can use a command such as Setup.exe /s /v"/qn INSTALLDIR=D:\Destination".)


/L : Setup language

Users can use the /L switch with the decimal language ID to specify the language used by a multi-language installation program.

decimal language ID
1031 = German
1033 = English
1034 = Spanish
1036 = French
1038 = Hungarian
1040 = Italian
1043 = Dutch
1045 = Polish
1049 = Russian


/v : pass arguments to Msiexec

The /v argument is used to pass command line switches and values of public properties through to Msiexec.exe.
Bilou_Gateux
During the installation, user can not select which components (HP Share-to-Web, HP Memories Disc Creator) to install or not.
Another stupid HP idea.

HP Memories Disc Creator software allows you to create slide shows and archives of your digital images for display on a PC with a CD player or on a TV with a DVD player … all on one CD.
!unmdhp.cmd
CODE
:: uninstall HP Memories Disc 1.0.4.805
MsiExec.exe /X{B376402D-58EA-45EA-BD50-DD924EB67A70} /qn
Bilou_Gateux
"methods" of starting a MSI installation
QUOTE
NB! If you use a setup.exe wrapper that doesn't relay the return values of MSIEXEC.EXE (eg. InstallShield, the previous version anyway), bad for you!
Consider to drop the wrapper if possible and use MSIEXEC.EXE directly.


!install.cmd
CODE
:: "HP Photo and Imaging 2.1 - Scanjet 2400 Series" silent install
:: Replace <LETTER> with your CD-ROM Drive or Source Drive letter
:: change <LANGUAGE> with your language
msiexec TRANSFORMS=<LETTER>\hpsw\<LANGUAGE>.mst /i "<LETTER>\hpsw\HP Photo and Imaging 2.1 - Scanjet 2400 Series.msi" /qn REBOOT=ReallySuppress


NB: Using this method don't install HP Memories Disc Creator software
Bilou_Gateux
HP Share-to-Web removal:

!NoIcon.cmd
CODE
:: Remove HP Share-to-Web Desktop Icon
:: Delete Registry Keys and SubKeys and Values
REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.s2wdh" /F
REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{9E8BF6A5-1979-4D6C-A20D-40557856E78C}" /F
REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{A4DF5659-0801-4A60-9607-1C48695EFDA9}" /F
REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\s2wdh.SendToShlExt" /F
REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\s2wdh.SendToShlExt.1" /F
REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{8F5E5E7C-43FA-4BAC-9358-04E34CB46545}" /F
REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{A4DF5659-0801-4A60-9607-1C48695EFDA9}" /F
REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved\{A4DF5659-0801-4A60-9607-1C48695EFDA9}" /F
::
REG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v "Share-to-Web Namespace Daemon" /F


!2400cln.cmd
CODE
::Delete specific file in specified folder
@ECHO OFF
SET SECTION="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders"
SET KEY="Common Desktop"
SET FILENAME="*.lnk"
::Read value in registry
call readreg %SECTION% %KEY%
pushd %RegVal%
:: Delete file if it exists
IF EXIST %FILENAME% DEL /F /Q %FILENAME%
popd

SET KEY="Common Programs"
SET FILENAME="Enregistrement OCR I.R.I.S..lnk"
::Read value in registry
call readreg %SECTION% %KEY%
pushd %RegVal%
:: Delete file if it exists
IF EXIST %FILENAME% DEL /F /Q %FILENAME%
popd

SET FILENAME="HP Share-to-Web Setup Wizard.lnk"
::Read value in registry
call readreg %SECTION% %KEY%"
pushd "%RegVal%\HP Share-to-Web"
:: Delete file if it exists
IF EXIST %FILENAME% DEL /F /Q %FILENAME%
popd
pushd "%RegVal%
RD "HP Share-to-Web"
popd
pushd  "%USERPROFILE%\SendTo"
DEL "Share-to-Web Upload Folder.s2wdh"
popd
exit


get readreg.bat from the excellent Rob van der Woude's Scripting Pages

You can also delete Application folder content stored here:
CODE
%ProgramFiles%\Hewlett-Packard\HP Share-to-Web




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.