Jump to content

Geej

Member
  • Posts

    635
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Singapore

Everything posted by Geej

  1. This is a sample usage that create Windows Movie Maker and calculator on current user's desktop and quick launch using shortcut.exe. First you create a text file with .cmd extension (say Myshortcut.cmd) into the same folder as shortcut.exe Copy and paste the code into Myshortcut.cmd. Then test run it. You can compare it's shortcut properties against the original shortcut (from the Start Menu) @echo off Title Creating custom shortcut ::cwnd.exe /hide @||:: cwnd.exe is an external optional console tool to hide the console box while this script is running. ::http://www.ryanvm.net/forum/viewtopic.php?t=5017 shortcut.exe /F:"%AppData%\Microsoft\Internet Explorer\Quick Launch\Windows Movie Maker.lnk" /A:C /T:"%programfiles%\Movie Maker\moviemk.exe" /R:3 /w:%%HOMEDRIVE%%%%HOMEPATH%% /D:"Capture and edit digital media on your computer and then share your saved movies by e-mail, the Internet, recordable CD, or on a DV video tape." shortcut.exe /F:"%userprofile%\desktop\Windows Movie Maker.lnk" /A:C /T:"%programfiles%\Movie Maker\moviemk.exe" /R:3 shortcut.exe /F:"%AppData%\Microsoft\Internet Explorer\Quick Launch\Calculator.lnk" /A:C /T:"%systemroot%\system32\calc.exe" /R:1 /D:"Performs basic arithmetic tasks with an on-screen calculator." shortcut.exe /F:"%userprofile%\desktop\Calculator.lnk" /A:C /T:"%systemroot%\system32\calc.exe" /R:1 I hope you can figure out the syntax for your custom shortcut base on this sample. As to how you are going to integrate this shortcut stuff into your unattended windows, I do not know what tool you use for unattended stuff as you did not provide any information, hence I'm not able to suggest/help over this part.
  2. Try Shortcut v1.11 (Shortcut.exe) [it's at the end of page] It's a console tool
  3. I dun know the solution but try to follow up on the error code 0x80070643 that was shown at the bottom left of the screenshot. Googling it shown some possibilities/solution as below http://support.microsoft.com/kb/976982 http://social.msdn.microsoft.com/Forums/eu/netfxsetup/thread/4b5e5e41-e626-46f7-bf00-bb70ed4af2bf
  4. You said your shortcut is not working. Perhaps you can explain how you do it so we can have a better idea your approach. if possible provide current code/script for your shortcut I also presume you are using nlite for your unattended stuff.
  5. Your post seems to refer to a problem faced rather than a general solution (from the title). General solution: Use Add/remove panel If "general solution" does not clean up properly, then your approach is one way to it. But using regedit->find is generally slow Some quick alternative tools: MyUninstaller RegScanner Perhaps ccleaner can also scan for registry problem inlcuding thing like that. Some other utilities also can do it like Revo uninstaller Edit: fix hyperlink
  6. Hi Mimo Could you also include in your script (HFSLIP_POST_KB2564958.cmd) the info if KB2564958 is slipped? HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KB2564958 HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Hotfix\KB2564958 Without the registry info, I feel it is incomplete. Also Automatic update might query the registry to determine what hotfix is currently installed. Cheers
  7. Perhaps something like #1 ?
  8. Add your info to #1, thanks For all various hash utilities out there, each has it's own strength and weakness. Perhaps just pick one that suits you
  9. There is no mention it is "XP and higher" from their website. Even softpedia says "Windows All". I presumed you have tested in w2k (using the original installer of course) and it doesn't work or else care to share why you said "only for Windows XP and higher...". BTW, do you know how high it goes? I'm curious too. Febooti Hash & CRC doesn't seems it can compare hash. Or have I miss it?
  10. (even my 6-yr old daughter love it!)
  11. Homepage HashTab provides OS extensions to calculate file hashes. HashTab supports many hash algorithms such as MD5, SHA1, SHA2, RipeMD, HAVAL and Whirlpool. HashTab is supported as a Windows shell extension. HashTab provides an easy way to verify file integrity and authenticity. Tens of thousands have downloaded HashTab! Once you have installed HashTab, just right click on any file, select Properties and you will see a new "File Hashes" tab. "File Hashes" displays all the configured hashes for the file. You can customize which hashes are calculated and displayed. You can hash other files for comparison. You can also paste in hash text so you don't go cross-eyed trying to compare hashes. HashTab supports the following hash functions: Adler32, CRC32, MD2, MD4, MD5, RIPEMD(128,256,320), SHA-1,256,384,512, Tiger, and Whirlpool. Coming soon, MD6, eDonkey/eMule Hashtab - free for personal private use. Program is XP and higher. Addon is for XP-32 bit only. (There are other File Hash Utilities suggested by members) HashTab51023_inf_addon.cab Size: 296.51 Kb (303,624 bytes) MD5: 35D872FA5BA17A4D544E5E03FC01DA2F
  12. I remember there is this tool toogleQL.exe which can run from the command line. But it is hard to find this file,even googling it. I found it here (see the link toggleQL.exe in a zip file )
  13. Maybe try using pushd and popd to simplify the path ECHO. ECHO Installing Office 2003 Professional ECHO Please wait... pushd "f:\Desktop Support\XPCD\$OEM$\$1\install\Applications\Office2003" Start /wait msiexec.exe /i PRO11.MSI TRANSFORMS="Unattended.MST" popd
  14. tomasz86 is right, MS inf sometime also contains bugs. KB2564958 when parsed by HFSLIP, seems to miss [ProductInstall.GlobalRegistryChanges.Install] section. Below is KB2564958 when parsed by HFSLIP You will notice [DefaultInstall] AddReg=Product.Add.Reg that [Product.Add.Reg] is missing after that. Hence KB2564958 will failed to register the dll. With or w/o sub character, if you modify accordingly in my 2nd post, it will also work. HFSLP238.INF
  15. F5 is a window thing, not really an IBM thing. Just like to point out an alternative utility, DesktopOK It doesn't save info in reg. It saves in .ini file and you can save multiple position type if you wish. It does not have command line that restore quickly. But I made an unattended addon which includes an autoitscript to automatically restore your position quickly. (addon here)
  16. Thanks for the info. I just make a small workaround using KB2564958's update.inf Rename update.inf to KB2564958RegUpdate.inf Comment out Line 1 to line 51 Then replace line 53 (which is [ProductInstall.GlobalRegistryChanges.Install] ) with below 3 lines. [Version] Signature = "$Windows NT$" [DefaultInstall] Put KB2564958RegUpdate.inf in HFSVCPACK folder This will register the dlls as well as add an info entry to Uninstall & Hotfix info as defined in the inf to the registry. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KB2564958 HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Hotfix\KB2564958 There is a missing %HOTFIX% in [strings] section I just add HOTFIX = "Hotfix" in the [strings] section
  17. Don't think such command exists. (Maybe someone may correct me if I am wrong) (Alternatively try taking out quickstore via some script after installing.) Cheers
  18. PROBLEMCHYLD, it would be more useful if you were to indicate which line is giving you problem and what os it is running on. Off my head, shelli~1 and ttfcache looks like folder. Perhaps you could replace del with rd. %24% is use by inf, not sure if cmd shell will parse the variable correctly if run via batch. Try replace with %systemdrive% (better still, change the entire rundll.exe ... to rd /q ...) If path contain space, double quote it
  19. I dun really know, just try rename MCTSFXConfig.txt to config.txt Cheers!
  20. Thanks for the link, jassenna. Usually command line pdf tools are trialware but this one is free and even got x64 version. Great. Took a test drive for it's pdfimages.exe and it works great. Program is small and it is portable. Here is my humble and functional batch program for extracting images from pdf and remove some .jpg that are smaller than 1000 bytes. Usage is Drag and drop on the batch. Put this batch in same folder as pdfimages.exe @echo off ::Test a sample pdf source. http://cdn04.foxitsoftware.com/pub/foxit/manual/en_us/FoxitReader51_Manual.pdf :: Extract images only from pdf file :: Usage: Drag and drop only the PDF file onto this script :: Delete small jpg files less than 1000 byte :: Open in Windows Explorer for quick review after run :: Tested in XP 32-bit only Title Extracting image from pdf cd /d %~dp0 If not exist pdfimages.exe ( color 0C && Echo pdfimages.exe does not exist! You need it to run this script. && pause && exit) IF %1.==. ( color 0C && Echo. && Echo= Usage error! Please drag and drop your pdf file onto this script. echo Exit now and try again. echo. Echo Press any key to exit . . . echo. && pause>NUL && exit ) If exist %1 (Echo Extracting image from echo %1 . . . echo. Echo Extracting images ^(may take a while ...^) pdfimages -j %1 . del *.ppm del *.pbm For /F "usebackq" %%A in (`dir /b *.jpg`) do (if %%~zA LSS 1000 del "%%A") && :: Remove file that is less than 1000 bytes Start "" /max .) && ::Optional command. See below comment. :: Since I use xplorer2-lite as my main file manager in details view, :: I just launch Explorer to review quickly jpg files in thumbnails view. BatchviaDragDropExtractImage.cmd
  21. Tripredacus, I tried Inkscape as suggested. It loads the pdf file very slow (at least 10 sec on a 30 pages of my PDF file, at 2.3MB). Program allow to load only 1 page on the program GUI. Extract only individual images. Can't do any batch image extract. Might be useful for editing the layout of a page as I can shift the content (image) around. Can't really extract image in batch. Nevertheless, I google harder. Found an old freeware version, PDF Image Extraction Wizard 1.2 that does just what I need. (up to Xp only) For user with newer OS, I also stumble on Fusion PDF Image Extractor (requires .NET 4.0). I am not testing it as I don't want / install .Net 4 Framework on XP. Cheers !
  22. Kali, just to answer your queries in #14 •Why is .ini file necessary and how to make it? A1) .ini is just a text file. You manually create it using any text editor. Every nlite-addon requires a .ini file so that slipstreamer can add it to XP during slipstreaming. There can be any 2 types of .ini. One: sysoc type Two: svcpack type Or a combination of both in one .ini Just download any inf or svcpack type addon to see it and learn from it. •What is "%~dpn0.exe" and NUL in your reg script- add %ROE% /v 1 /t Reg_sz /d "%~dpn0.exe" /f>NUL A1) Current drive+path+name of current script (curretn script is 0) + append .exe string to it. jaclaz also has an explanation for this. A2) >NUL just hide the output from view on the console. So you will see only a black console without any output status. NULL is a device. (Read under Redirection) •How to make reg script for .inf file? I know reg Command in dos and I have knowledge about add reg command. •How to make .inf file to install a software? My last two questions are not topic related. So I am sorry to disturb you. But I am very interested to know. A1) Look at inf tutorial-pinned topics. To convert .reg to .inf, you basically need reg2inf utility
  23. Thanks for the suggestion, dencorso. Have tried it using item 10 of Free PDF Tools "10. Convert PDF to Images" It does the same as extracting the whole 30-pages pdf file as 30 individual images which is the same as Quick PDF Tools. (i.e including text). It does not extract image only.
  24. I got 30 pages from a PDF file. Contain text and images. Print screen + crop is not productive for multiple pages. Hence need some automation. Just want the images, not the text.
  25. Hi, anyone know of free progam that can extract image from pdf file? (No convert pdf to image) (FYI, Quick PDF Tools can convert whole page of pdf to image.) Currently, I only know this program but it is not free. Edit: I tried Some PDF Images Extract. But got dll error when launching the program. (in XP). I tried to resolved but couldn't. Hence looking for alternative.
×
×
  • Create New...