Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 



Sign in to follow this  
jetman

How About Installing The SENDTO PowerToy ?

Recommended Posts

jetman    0

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.mspx

But 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

Share this post


Link to post
Share on other sites

Alanoll    0

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.inf

Replace DefaultInstall with the section from your INF, and ..\Unattend\Regedits.inf with the path to your INF file.

Share this post


Link to post
Share on other sites
jetman    0
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.inf

Replace 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

Share this post


Link to post
Share on other sites
zoolap    0

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.

Share this post


Link to post
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

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×