beaker
Content Type
Profiles
Forums
Events
Posts posted by beaker
-
-
I think Arie is right; I think he's talking about renaming "My Computer" to the machine name... If so, here's what I run from a batch file to accomplish this (it's very similar to what you put above, it just automates it):
REM *** Rename "My Computer" to machine name ***
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}" /V "" /D %COMPUTERNAME% /F0 -
regedit.exe
0 -
nickfit, I would strongly recommend creating a html-based slideshow rather than a PowerPoint one. Installing something to a user's PC "without any input required from them" is a dangerous area to get into. What if the user already has PowerPoint installled and now ppt files are associated with the viewer? Just one person's feedback...
0 -
An example of moving a shortcut:
MOVE /Y "%USERPROFILE%\Start Menu\Programs\Internet Explorer.lnk" "%ALLUSERSPROFILE%\Start Menu\Communications\Internet Explorer.lnk"
Examples of deleting a shortcut:
DEL /F /Q "%ALLUSERSPROFILE%\Start Menu\Set Program Access and Defaults.lnk"
DEL /F /Q "%ALLUSERSPROFILE%\Start Menu\Windows Update.lnk"
DEL /F /Q "%USERPROFILE%\Start Menu\Programs\Remote Assistance.lnk"0 -
Do a search for "shortcut.exe" This holds the answer you seek.
0 -
Nope, not what I was looking for... I'm looking to automate this:
I'm guessing I'll need to hext edit the shortcut and see what's diffeent about the target.It can be done by right-clicking "My Computer" and selecting "Create Shortcut", my question is how can this be accomplished via command-line or some other automated fashion?0 -
I'm using shortcut.exe to create shortcuts to other applications with no problem. What I'd really like to do is create a shortcut that replicate is what happens when you double-click "My Computer". It can be done by right-clicking "My Computer" and selecting "Create Shortcut", my question is how can this be accomplished via command-line or some other automated fashion?
0 -
I have also posted about this issue, but on another forum. The post has a solution included, but unfortunately it'as a hack. Hopefully, nuhi will have a permanent solution soon.
0 -
This is how I'm renaming My Computer currently in a *.cmd file:
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}" /V "" /D %COMPUTERNAME% /FThis is just the machine name itself, but I'm sure you could create a variable with the value of "{SPACE}on{SPACE}" and append the three items together. What have you tried so far?
0 -
Do a search for "Office Shrink" It's a different process, but it works well.
0 -
Sorry to hijack the thread, but I was wondering if you can silently install winrar to a custom directory?
[EDIT]Potential solution here: http://www.msfn.org/board/index.php?showtopic=91931[/EDIT]
0 -
Shark, the versions I found (from the link in your sig) were from December 15th. Is there another place to download from? I searched the whole thread and I didn't find any links... Thanks!
0 -
Do a search for "fontinst." You'll find what you seek.
0 -
My personal favorite is the use of "deltree" to delete individual files it's sooooooo much more powerful than "del"
I agree with the point that it's just an opinion. I would rather write a batch file using something I know is automatically available via the commandline than downloading extra files. Of course this is just my opinion.
0 -
http://www.virtualplastic.net/
So as not to appear not forth-coming, I'm involved in this site
0 -
Use this guide and create a line in your command lines file.
http://support.microsoft.com/default.aspx?...kb;en-us;308582
0 -
brian, I'm glad it works for you!
timeless, your welcome. Yes, I pointed the player to hinzen's site for song download/upload. I'm not sure if you're saying I stole work, but trust me, if I'd known he posted an inf file I would have used it to save time. About 3 years ago, he and I experiemented with the settings required to work in XP (the certificate information). I used those settings that we created as a base for the inf. You might want to get your facts together before dismissing other's work.
[EDIT] timeless, on re-reading your post, I might have mis-judged what you were saying. If I mis-read, I apologize. Chalk it off to be just waking up and being grumpy
0 -
All right, I've combined all the reg settings into the inf file itself. I've verified that the Internet, Database and Help functionality are all working with this install. Please let me know if this works or doesn't work for you.
The files you need are:
cdnet.dll
cdopt.dll
cdplay.dll
deluxecd.exe
deluxcd.hlp
deluxcd.chm
I don't know that it's necessary, but I used makecab on each of them, so I have:
cdnet.dl_
cdopt.dl_
cdplay.dl_
deluxecd.ex_
deluxcd.hl_
deluxcd.ch_
Here is the content of the inf file. It looks like there are three lines that the text wraps on in the [AddRegSettings] section. If you can't get this to work, please let me know and I'll upload my copy.
[Version]
Signature="$Windows NT$"
Provider="%beaker%"
DriverVer=04/14/1998,4.10.0.1900
[DefaultInstall]
CopyFiles=Software.SourceFiles,Software.HelpFiles
RegisterDlls=Software.RegDLLs
AddReg = AddRegSettings
[Software.SourceFiles]
cdnet.dll
cdopt.dll
cdplay.dll
deluxecd.exe
[Software.HelpFiles]
deluxcd.hlp
deluxcd.chm
[DestinationDirs]
DefaultDestDir=11
Software.HelpFiles=10,Help
[Software.RegDLLs]
11,, cdnet.dll, 0x00000001
11,, cdopt.dll, 0x00000001
11,, cdplay.dll, 0x00000001
[AddRegSettings]
;reg-root, [subkey], [value-entry-name], [flags], [value]
HKCR,"AudioCD\shell\open\command","",,"%11%\deluxecd.exe /play %1"
HKCR,"cdafile\shell\open\command","",,"%11%\deluxecd.exe /play %1"
HKCR,"CLSID\{E5927147-521E-11D1-9B97-00C04FA3B60E}","",,"CDPlayer Class"
HKCR,"CLSID\{E5927147-521E-11D1-9B97-00C04FA3B60E}\InprocServer32","",,"%11%\CDPLAY.DLL"
HKCR,"CLSID\{E5927147-521E-11D1-9B97-00C04FA3B60F}","",,"CDNet"
HKCR,"CLSID\{E5927147-521E-11D1-9B97-00C04FA3B60F}\InprocServer32","",,"%11%\CDNET.DLL"
HKCR,"CLSID\{E5927147-521E-11D1-9B97-00C04FA3B610}","",,"CDOpt"
HKCR,"CLSID\{E5927147-521E-11D1-9B97-00C04FA3B610}\InprocServer32","",,"%11%\CDOPT.DLL"
HKCR,"CLSID\{E5927147-521E-11D1-9B97-00C04FA3B610}\InprocServer32","ThreadingModel",,"Apartment"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Applets\DeluxeCD\Providers\Provider0000","ProviderURL",,"http://www.threeTIX.net/cgi-bin/query.php?certificate=363484E6313B7B286523DEC7A0415F4F3AAD2924B49F4C2D&"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Applets\DeluxeCD\Providers\Provider0000","ProviderName",,"threeTIX"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Applets\DeluxeCD\Providers\Provider0000","ProviderHome",,"http://www.threeTIX.net"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Applets\DeluxeCD\Providers\Provider0000","ProviderUpload",,"http://www.threeTIX.net/cgi-bin/upload.php?"
HKLM,"Software\Microsoft\Active Setup\Installed Components\PerUser_CDPlayer_Inis","Version",,"4,10,1,1"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Applets\DeluxeCD\Settings","CurrentProvider",,"http://www.threeTIX.net/cgi-bin/query.php?certificate=363484E6313B7B286523DEC7A0415F4F3AAD2924B49F4C2D&"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Applets\DeluxeCD\Settings","StartPlay",0x00010001,0x00000000
HKLM,"Software\Microsoft\Windows\CurrentVersion\Applets\DeluxeCD\Settings","ExitStop",0x00010001,0x00000001
HKLM,"Software\Microsoft\Windows\CurrentVersion\Applets\DeluxeCD\Settings","DispMode",0x00010001,0x00000004
HKLM,"Software\Microsoft\Windows\CurrentVersion\Applets\DeluxeCD\Settings","TopMost",0x00010001,0x00000001
HKLM,"Software\Microsoft\Windows\CurrentVersion\Applets\DeluxeCD\Settings","Tray",0x00010001,0x00000000
HKLM,"Software\Microsoft\Windows\CurrentVersion\Applets\DeluxeCD\Settings","IntroTime",0x00010001,0x0000000a
HKLM,"Software\Microsoft\Windows\CurrentVersion\Applets\DeluxeCD\Settings","PlayMode",0x00010001,0x00008ca5
HKLM,"Software\Microsoft\Windows\CurrentVersion\Applets\DeluxeCD\Settings","DownloadEnabled",0x00010001,0x00000001
HKLM,"Software\Microsoft\Windows\CurrentVersion\Applets\DeluxeCD\Settings","DownloadPrompt",0x00010001,0x00000001
HKLM,"Software\Microsoft\Windows\CurrentVersion\Applets\DeluxeCD\Settings","BatchEnabled",0x00010001,0x00000001
HKLM,"Software\Microsoft\Windows\CurrentVersion\Applets\DeluxeCD\Settings","ByArtist",0x00010001,0x00000001
HKLM,"Software\Microsoft\Windows\CurrentVersion\Applets\DeluxeCD\Settings","WindowX",0x00010001,0x00000078
HKLM,"Software\Microsoft\Windows\CurrentVersion\Applets\DeluxeCD\Settings","WindowY",0x00010001,0x00000044
HKLM,"Software\Microsoft\Windows\CurrentVersion\Applets\DeluxeCD\Settings","ViewMode",0x00010001,0x00000000
HKLM,"Software\ODBC\ODBC.INI\ODBC Data Sources","DeluxeCD",,"Microsoft Access Driver (*.mdb)"
HKLM,"Software\ODBC\ODBC.INI\DeluxeCD","Driver",,"%11%\odbcjt32.dll"
HKLM,"Software\ODBC\ODBC.INI\DeluxeCD","DBQ",,"DeluxeCD.mdb"
HKLM,"Software\ODBC\ODBC.INI\DeluxeCD","DefaultDir",,"C:\WinXP"
HKLM,"Software\ODBC\ODBC.INI\DeluxeCD","DriverId",0x00010001,0x00000019
HKLM,"Software\ODBC\ODBC.INI\DeluxeCD","SafeTransactions",0x00010001,0x00000000
HKLM,"Software\ODBC\ODBC.INI\DeluxeCD","UID",,""
HKLM,"Software\ODBC\ODBC.INI\DeluxeCD\Engines\Jet","ImplicitCommitSync",,"Yes"
HKLM,"Software\ODBC\ODBC.INI\DeluxeCD\Engines\Jet","Threads",0x00010001,0x00000003
HKLM,"Software\ODBC\ODBC.INI\DeluxeCD\Engines\Jet","UserCommitSync",,"Yes"0 -
bristols, working on a write-up now. More in a bit...
timeless, you might want to work on your installer a bit. It doesn't unregister the dlls upon uninstallation. Also, none of the internet options are working. I didn't try the database functionality, I was afraid it would wreak havoc on my current database. The warez feel of the install was a bit troubling...complete with the add for a site an a file.nfo stating "another quality product" I think I'll stick with the inf/reg method.
0 -
bristols, I don't want to violate any licensing agreements by posting MS files. I'll post the settings and installation files I've created tonight.
timeless, I'm curious to see what you've done for comparison. I can't download anything at work, but I'll look tonight.
0 -
timeless, I'll send you the install files (minus the MS stuff). I'll send you a file list of what you'll need.
0 -
brian, check your mail... Please let me know if it works!
0 -
I'm at my parents now this weekend, so I can't post anything. I can post something when I return home. To let you know ahead of time, I won't include the actual MS files, but I will post the inf/reg files.
0 -
And install the Deluxe CD Player too! I made an install for that to work in XP, I think it's the best MS CD Player.
0
Prevent DOS Cmd windows from closing on exit?
in Windows XP
Posted
cmd /k START /wait setup.exe
if your setup executable is called setup.exe