Bilou_Gateux Posted August 9, 2004 Author Share Posted August 9, 2004 (edited) The solution is to create an answer file response.ini and use this command to install silently :setup.exe /S /L1036 /v"/qb! RESPONSE=response.ini"where 1036=Selected language for this installation.infos found here :Printer Driver Plug and play How to DeplyBut too bad (as mentionned before), the HP Setup is bugged and hangs when i try to create the answer file with the command SETUP.EXE /Aan error has occured while creating the hp deskjet 3600 series customized installer.Please run this wizard again.response.ini example for HP LaserJet 1010 series connected to USB port, set as default printer, not shared and with all features selected :[Port Settings]PORT=USB[Installer Settings]MODEL=hp LaserJet 1010NAME=hp LaserJet 1010 Series DriverSHARED=NSHARENAME=VEND_9X=NVEND_NT4=NDEFAULT_PRINTER=YDEFAULT_DRIVER=Driver[Features]hb=Ytoolbox_1010=Yfonts=Y[HELP-LongFeatureNames]hb=Pilote hp LaserJet série 1010toolbox_1010=Boîte à outils hp LaserJetfonts=Polices d'écranI should investigate later the hp deskjet 3600.msi file to find the features short names and long names to write my own answer file (i haven't any msi editor currently installed on the computer at office).Maybe mazin could you have a look and give me the missing long names ?my latest test response.ini file for english language[Port Settings]PORT=USB[Installer Settings]MODEL=hp deskjet 3600NAME=hp deskjet 3600 Series DriverSHARED=NSHARENAME=VEND_9X=NVEND_NT4=NDEFAULT_PRINTER=YDEFAULT_DRIVER=Driver[Features]ReadMe=YMSIO=YOverland=YPrinterAssistant=Y[HELP-LongFeatureNames]ReadMe=read meMSIO=Microsoft IOOverland=OverlandPrinterAssistant=printer assistantsetup.exe /L1036 /v"/lv c:\dj3600.log /qb! RESPONSE=response.ini"gives me errors in the dj3600.log file :../..MSI (s) (88:1C): Machine policy value 'DisableUserInstalls' is 0MSI (s) (88:1C): End dialog not enabledMSI (s) (88:1C): Original package ==> E:\gh\tmp\hp deskjet 3600.msiMSI (s) (88:1C): Package we're running from ==> C:\WINNT\Installer\1b4f9fb.msiMSI (s) (88:1C): APPCOMPAT: looking for appcompat database entry with ProductCode '{91A5B6C0-EF4E-4830-AC7D-6761C0A9B292}'.MSI (s) (88:1C): APPCOMPAT: no matching ProductCode found in database.MSI (s) (88:1C): Machine policy value 'TransformsSecure' is 0MSI (s) (88:1C): User policy value 'TransformsAtSource' is 0MSI (s) (88:1C): Looking for file transform: E:\gh\tmp\1036.MSTMSI (s) (88:1C): Validating transform 'E:\gh\tmp\1036.MST' with validation bits 0x0MSI (s) (88:1C): Transform 'E:\gh\tmp\1036.MST' is valid.MSI (s) (88:1C): Note: 1: 2262 2: Patch 3: -2147287038 MSI (s) (88:1C): Note: 1: 2262 2: PatchPackage 3: -2147287038 MSI (s) (88:1C): Note: 1: 2262 2: _Tables 3: -2147287038 MSI (s) (88:1C): Note: 1: 2262 2: _Columns 3: -2147287038 MSI (s) (88:1C): Note: 1: 2262 2: Media 3: -2147287038 MSI (s) (88:1C): Note: 1: 2262 2: File 3: -2147287038 MSI (s) (88:1C): Note: 1: 2262 2: PatchPackage 3: -2147287038 MSI (s) (88:1C): Note: 1: 2262 2: Patch 3: -2147287038 MSI (s) (88:1C): TRANSFORM: 'PatchPackage' table is missing or empty. No pre-transform fixup necessary.MSI (s) (88:1C): TRANSFORM: Applying regular transform to database.../..MSI (s) (88:1C): APPCOMPAT: looking for appcompat database entry with ProductCode '{91A5B6C0-EF4E-4830-AC7D-6761C0A9B292}'.MSI (s) (88:1C): APPCOMPAT: no matching ProductCode found in database.MSI (s) (88:1C): Transforms are not secure.MSI (s) (88:1C): Transforming table Property.MSI (s) (88:1C): Transforming table Control.MSI (s) (88:1C): Command Line: RESPONSE=response.ini TRANSFORMS=1036.MST SETUPEXEDIR=E:\gh\tmp CURRENTDIRECTORY=E:\gh\tmp CLIENTUILEVEL=2 CLIENTPROCESSID=356 %HOMEPATH=\ %HOMEDRIVE=C: %HOMESHARE= MSI (s) (88:1C): Product Code passed to Engine.Initialize: ''MSI (s) (88:1C): Product Code from property table before transforms: '{91A5B6C0-EF4E-4830-AC7D-6761C0A9B292}'MSI (s) (88:1C): Product Code from property table after transforms: '{91A5B6C0-EF4E-4830-AC7D-6761C0A9B292}'MSI (s) (88:1C): Product not registered: beginning first-time installMSI (s) (88:1C): Entering CMsiConfigurationManager::SetLastUsedSource.MSI (s) (88:1C): User policy value 'SearchOrder' is 'nmu'MSI (s) (88:1C): Adding new sources is allowed.MSI (s) (88:1C): Package name extracted from package path: 'hp deskjet 3600.msi'MSI (s) (88:1C): Package to be registered: 'hp deskjet 3600.msi'MSI (s) (88:1C): Transforming table Error.MSI (s) (88:1C): Note: 1: 2729 MSI (s) (88:1C): Note: 1: 2729 MSI (s) (88:1C): Note: 1: 2262 2: AdminProperties 3: -2147287038 MSI (s) (88:1C): Machine policy value 'DisableMsi' is 0MSI (s) (88:1C): Machine policy value 'AlwaysInstallElevated' is 1MSI (s) (88:1C): User policy value 'AlwaysInstallElevated' is 0MSI (s) (88:1C): Product installation will be elevated because user is admin and product is being installed per-machine.MSI (s) (88:1C): Running product '{91A5B6C0-EF4E-4830-AC7D-6761C0A9B292}' with elevated privileges: Product is assigned.MSI (s) (88:1C): TRANSFORMS property is now: E:\gh\tmp\1036.MST../..My conclusion is that the problem is in the transform file.same problem with other languages transforms 1033.mst,1034.mst,1040.mst,1046.mstHp engineers, please make your works better the next time. RDT could be Rapid Deployment Tool ? Edited August 9, 2004 by Bilou_Gateux Link to comment Share on other sites More sharing options...
mazin Posted August 9, 2004 Share Posted August 9, 2004 -- Feature's Name ----- Title01 Overland ----------- Overland02 SoftwareUpdateTool - SWUT Application03 AltLangPDF_CD1 ----- Alternate Language Arabic PDF04 AltLangPDF_CD2 ----- Alternate Language Hebrew PDF05 AutoRun ------------ Autorun06 DriverCondensed ---- Driver07 HTML_CFG_ALL ------- HTML.cfg08 MSIO --------------- Microsoft IO09 PrinterAssistant --- printer assistant10 RDT_Passthru ------- hpbvspst.exe11 RDT_PDI ------------ hpfpdi08.exe12 RDT_Uninstall ------ Root Uninstaller13 ReadMe ------------- read me14 TestPage ----------- TestPage Link to comment Share on other sites More sharing options...
Bilou_Gateux Posted August 9, 2004 Author Share Posted August 9, 2004 And the winner is Bilou_Gateux.Finally writes a valid response.ini file for 1033 (English language).See my last edited post for the code.Used in conjonction with the downloaded Full features driver.HP DeskJet Full Feature software/driver - FOR USB CABLE(Anglais)launch with : setup.exe /L1033 /v"/lv c:\dj3600.log /qb! RESPONSE=response.ini"But the PnP Wizard assistant still popup and ask to plug the USB cable. When i plug the cable, setup finish without errors and have a new printer installed.Now i'm going to find a solution (plug the cable is not really unattended install without human interaction ) for this problem with mazin modified msi or kill the task with pskill ?dj3600.log../..=== Logging stopped: 09/08/2004 18:25:51 ===MSI (s) (18:E0): Note: 1: 1728 MSI (s) (18:E0): Product: hp deskjet 3600 -- Configuration completed successfully.MSI (s) (18:E0): Cleaning up uninstalled install packages, if any existMSI (s) (18:E0): MainEngineThread is returning 0MSI (c) (60:08): Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1MSI (c) (60:08): MainEngineThread is returning 0=== Verbose logging stopped: 09/08/2004 18:25:51 === Link to comment Share on other sites More sharing options...
mazin Posted August 9, 2004 Share Posted August 9, 2004 I wonder why you left the orig idea! It should work well, unless the new idea is more efficient. Link to comment Share on other sites More sharing options...
cyberdiamond Posted August 10, 2004 Share Posted August 10, 2004 Any news?Are you interested in the same printer? My reply got deleted ???Oh wellWhat I replied was I use a HP 7260 Photo printer.With the same type of setup files.That gets shared between my main machine, my server and my laptopIf I get it working, I'll be using it remotely as well (through wireless and dial in)Looks like I will try both methods now and see what happens!I will report back with my findings Link to comment Share on other sites More sharing options...
Bilou_Gateux Posted August 11, 2004 Author Share Posted August 11, 2004 @mazinoriginal not left ! but disable some features from being installed do not disable PnP detection.I just would like to find a solution that do not need to modify the msi each time HP release a new version of the software package.But it's probably not possible to do it full unattended with the non modified package.Another question, when i use my previous posted method and kill the msiexec process to avoid PnP detection, then go to look in the msi log file, i have found that the solution may be to disable GSI_InitiatePnP:MSI (s) (D4:F0): Executing op: ActionStart(Name=GSI_InitiatePnP,,)MSI (s) (D4:F0): Executing op: CustomActionSchedule(Action=GSI_InitiatePnP,ActionType=1025,Source=BinaryData,Target=GSI_InitiatePnP,)MSI (s) (D4:F0): Creating MSIHANDLE (623) of type 790536 for thread 1776DEBUG: Error 2769: Custom Action GSI_InitiatePnP did not close 2 MSIHANDLEs.Erreur interne 2769. GSI_InitiatePnP, 2That the process i kill.may it be possible to only disable this action instead of create new switches like the previous msi you have sent to me ?@cyberdiamondI have downloaded a software package from HP for your printer to have a look inside.Do the installation try to detect and install your photosmart printer during the process or do you install the software first and when the installation finish, then (maybe reboot) and plug the cable into USB for automatic detection ? Link to comment Share on other sites More sharing options...
mazin Posted August 11, 2004 Share Posted August 11, 2004 may it be possible to only disable this action instead of create new switches like the previous msi you have sent to me ?I'll see and let you know.Remember, you asked to play with the MSI, not me. Link to comment Share on other sites More sharing options...
cyberdiamond Posted August 12, 2004 Share Posted August 12, 2004 @cyberdiamondI have downloaded a software package from HP for your printer to have a look inside.Do the installation try to detect and install your photosmart printer during the process or do you install the software first and when the installation finish, then (maybe reboot) and plug the cable into USB for automatic detection ?I installed the setup.exe /S which did it silently.Then I installed the 7200 series msi using the line below.PS7200.msi" CI_DO_PNP=False CI_INSTALL_DETECTED_PRINTER=No /qb-!I also tried the 1033 transform file with the line below and that also seemed to work.PS7200.msi" TRANSFORMS=1033.mstI tried setup.exe /A to get an admin install but it wouldn't do it, it just installs normally???An admin install or a way to modify the transform file would be my preference.I will try the transform editor from the office resource kit tools to edit the original transform file or create a new one next.If I installed the msi first I believe I didn't get the reg values written for the update in run once and the run (suits me).I cann't be sure as uninstall leaves parts behind so its not a clean install anymore.eg if I uninstall and reinstall the setup it picks up I have a 7200 series printer without installing the msi again.I have done all this testing on my laptop without connecting the printer.It hasn't asked me to either (again suit me). Link to comment Share on other sites More sharing options...
Bilou_Gateux Posted August 12, 2004 Author Share Posted August 12, 2004 If you don't want to install HP bloatware, i highly recommend to use the web download rather than the original CD.For the HP DeskJet 3600 series CD install adds this software :HP Memories discHP Photo and Imaging DirectorHP print screen utilityand probably other things without any separate uninstall utility...Nethertheless, another problem with the downloadable install.The drivers are not copied in the right path : i can find them in the root of the %systemdrive% instead of C:\Program Files\Hewlett-Packard\hpz\glue which is the right path...My last recommendation is to not install anything and create an self extracting archive to copy only needed files (driver) to the path mentionned before and add this path to the DevicePath in registry.After unattended Windows installation, we may install the printer by 1st plug the usb cable and power on the printer, 2nd power on the box and just click OK to accept installation of new detected hardware. Link to comment Share on other sites More sharing options...
mazin Posted August 15, 2004 Share Posted August 15, 2004 GSI_InitiatePnP is in "CustomAction" Table. While in Orca, highlight "CustomAction" table, highlight "GSI_InitiatePnP", press Ctrl+Shift+X, then "OK". This deletes the whole row. Save the changes."Property" table contains some properties that can be overriden via command line:Property ----------------------- Default ValueARPNOMODIFY -------------------- 1ARPNOREPAIR -------------------- 1ARPREADME ---------------------- 0CI_DO_PNP ---------------------- TrueCI_INSTALL_DETECTED_PRINTER ---- YesCI_LAUNCHTESTPAGE -------------- 1RDT_INSTALL_SWUT --------------- TRUE________________ the info above is from the orig MSI __________________However, Orca is sufficient if you want to add conditions to any future release of MSI.Hope this helps. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now