jetman Posted April 11, 2004 Share Posted April 11, 2004 It's been a slow process (three days), but I have a great unattended XP CD. Now I'd like to add one more goodie. I've searched high-and-low and can't find out how to automagically install the SendTo PowerToy. I found a single webpage on the microsoft.com website: http://www.microsoft.com/resources/documentation/ie/6/all/reskit/en-us/part4/c17ie6rk.mspxBut the syntax of their cmds don't work for this file. Normally, one simply right-clicks the SENDTOX.INF to install it. These basic instructions are all over the 'Net, but nothing on doing this programatically.Has anyone mastered this syntax ? TIA....Jet Link to comment Share on other sites More sharing options...
Alanoll Posted April 11, 2004 Share Posted April 11, 2004 there should be some section with the INF file about installing....it contains the actual commands. Like AddReg or DelReg or something.RunDll32.exe setupapi,InstallHinfSection DefaultInstall 128 ..\Unattend\RegEdits.infReplace DefaultInstall with the section from your INF, and ..\Unattend\Regedits.inf with the path to your INF file. Link to comment Share on other sites More sharing options...
jetman Posted April 11, 2004 Author Share Posted April 11, 2004 there should be some section with the INF file about installing....it contains the actual commands. Like AddReg or DelReg or something.RunDll32.exe setupapi,InstallHinfSection DefaultInstall 128 ..\Unattend\RegEdits.infReplace DefaultInstall with the section from your INF, and ..\Unattend\Regedits.inf with the path to your INF file.Alan: AHA ! MSOFT didn't mention the SETUPAPI.DLL in their instuctions ! That was the ciritical omission ! DefaultInstall works fine. Thank you ! Jet Link to comment Share on other sites More sharing options...
zoolap Posted August 3, 2004 Share Posted August 3, 2004 In the sendtox inf originally it is:HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup,%ISTX%,,"RUNDLL32.EXE %11%\%SubDir%\SENDTOX.DLL,Install %11%\%SubDir%\SENDTOX.INF"the %ISTX% bit opens a window which you have to manually close (no good for unattended). I managed to get this working at some point, but now icons are not installed in sendto folder. I changed the AddReg bit to the following:"RUNDLL32.EXE %11%\%SubDir%\SENDTOX.DLL,Install %11%\%SubDir%\SENDTOX.INF"Please could someone post the full syntax for sendtox exactly as it should be?I assume what has been given so far is to go in batch file rather than "inf file".Thanks. Link to comment Share on other sites More sharing options...
neo_3333 Posted August 4, 2004 Share Posted August 4, 2004 Where did you find this SendTo PowerToy, jetman ? Link to comment Share on other sites More sharing options...
zoolap Posted August 4, 2004 Share Posted August 4, 2004 I use the sendtox found in win95 powertoys and downloaded from Microsoft.http://www.microsoft.com/windows95/downloa...set/default.asp Link to comment Share on other sites More sharing options...
craggus2000 Posted March 4, 2005 Share Posted March 4, 2005 Guys, take a look here:http://www.msfn.org/board/index.php?showtopic=23426Just a suggestion... 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