MAVERICKS CHOICE Posted June 20, 2005 Share Posted June 20, 2005 Howdy havin a small prob with installin Damnfo viewer in Ua. I have been using a posted Autoit script to install & works ok outside of Ua. It does install however but I can't seem to get around the occasional last screen that says"Do you want NFO to be your default viewer Yes or No" You obviously need to press yes or the viewer does not work?Script attached.Run ("setup.exe")WinWaitActive("**** NFO Viewer v2.10 Setup")send ("{ENTER}"); License AgreementWinWaitActive("**** NFO Viewer v2.10 Setup")send ("{TAB 2}")Send ("{UP}")WinWaitActive("**** NFO Viewer v2.10 Setup")send ("{ENTER}"); EULAWinWaitActive("**** NFO Viewer v2.10 Setup")send ("{ENTER}"); locationWinWaitActive("**** NFO Viewer v2.10 Setup")send ("{ENTER}"); languageWinWaitActive("**** NFO Viewer v2.10 Setup","Installation complete!")sleep (2000)send ("{ENTER}"); Runsleep (1000)winclose("**** NFO Viewer v2.10")sleep (500)winclose("**** NFO Viewer v2.10")EXITI have used the Damnfo.msi installs but doesn't appear to work properly.Any light appreciated Link to comment Share on other sites More sharing options...
digitalfrost Posted June 20, 2005 Share Posted June 20, 2005 I can't help you with your AutoIt Script, but I wrote a .inf file that installs **** NFO Viewer. Create a WinRAR SFX wich extracts the whole "**** NFO Viewer" folder to %ProgramFiles%, name it ****.exeThen, run this .inf file using "rundll32 setupapi,InstallHinfSection DefaultInstall 128 \blablabla\****.inf"[Version]Signature=$Windows NT$[DefaultInstall]AddReg=ExtractDAMNAddReg=FileAssocAddReg=SettingsAddReg=HKLM[ExtractDAMN]HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce","****",,"%01%\****.exe"[FileAssoc]HKCR,".diz",,,"****.NFO.Viewer.File"HKCR,".nfo",,,"****.NFO.Viewer.File"HKCR,"****.NFO.Viewer.File",,,"**** NFO Viewer file"HKCR,"****.NFO.Viewer.File\DefaultIcon",,,"%16422%\**** NFO Viewer\**** NFO Viewer.exe,1"HKCR,"****.NFO.Viewer.File\shell",,,"open"HKCR,"****.NFO.Viewer.File\shell\open",,,"Open in &**** NFO Viewer"HKCR,"****.NFO.Viewer.File\shell\open\command",,,"""%16422%\**** NFO Viewer\**** NFO Viewer.exe"" ""%1"""HKCR,"Applications\**** NFO Viewer.exe\shell",,,"open"HKCR,"Applications\**** NFO Viewer.exe\shell","FriendlyCache",,"**** NFO Viewer"HKCR,"Applications\**** NFO Viewer.exe\shell\open",,,"Open in &**** NFO Viewer"HKCR,"Applications\**** NFO Viewer.exe\shell\open\command",,,"""%16422%\**** NFO Viewer\**** NFO Viewer.exe"" ""%1"""[Settings]HKCU,"Software\****\**** NFO Viewer","CheckDefaultViewer",0x00010001,00,00,00,00HKCU,"Software\****\**** NFO Viewer","ReuseWindow",0x00010001,01,00,00,00HKCU,"Software\****\**** NFO Viewer","AlwaysOnTop",0x00010001,00,00,00,00HKCU,"Software\****\**** NFO Viewer\NFO","FontName",,"[built-in] Lucida Concole"HKCU,"Software\****\**** NFO Viewer\NFO","FontData",1,98,00,00,01HKCU,"Software\****\**** NFO Viewer\NFO","Window",0x00010001,23,00,00,00HKCU,"Software\****\**** NFO Viewer\NFO","BackgroundColor",1,48,3d,8b,00HKCU,"Software\****\**** NFO Viewer\NFO","TextColor",1,c0,c0,c0,00HKCU,"Software\****\**** NFO Viewer\NFO","HyperLinkColor",1,f5,f5,f5,00HKCU,"Software\****\**** NFO Viewer\NFO","HyperLinkHoverColor",1,dc,dc,dc,00HKCU,"Software\****\**** NFO Viewer\NFO","Text",0x00010001,00,04,00,00[HKLM]HKLM,"SOFTWARE\****\**** NFO Viewer",,,"%16422%\**** NFO Viewer" Link to comment Share on other sites More sharing options...
MAVERICKS CHOICE Posted June 20, 2005 Author Share Posted June 20, 2005 Thanks for your response dude another good example or alternative for me.I just toyed with my current reg of **** nfo & made a sfx of the current prog files. Guess either method should work ok, need to test. Thanks again. Link to comment Share on other sites More sharing options...
larson Posted June 21, 2005 Share Posted June 21, 2005 (edited) Not to undermine anyone, but wouldn't it just be simpler to make Notepad the default handler for .NFOs?HKCR,".NFO",,,"NFO_file"HKCR,"NFO_file\shell\open\command",,0x00020000,"%11%\NOTEPAD.EXE%1"HKLM,"SOFTWARE\Classes\.NFO",,,"NFO_file"HKLM,"SOFTWARE\Classes\NFO_file\shell\open\command",,0x00020000,"%11%\NOTEPAD.EXE%1"EDIT: I exported the path from the Registry and forgot to change %SystemRoot%\system32 to %11%. Oops. Edited June 21, 2005 by larson Link to comment Share on other sites More sharing options...
digitalfrost Posted June 21, 2005 Share Posted June 21, 2005 Notepad doesn't correctly display the ASCII art, I think thats the whole point of using nfo viewer. Link to comment Share on other sites More sharing options...
Lost Soul Posted June 21, 2005 Share Posted June 21, 2005 i think the easiest method is to just import the registry strings and make a sfx of te nfo folder Link to comment Share on other sites More sharing options...
MAVERICKS CHOICE Posted June 21, 2005 Author Share Posted June 21, 2005 OK made some progress have it installing ua without a hitch or without the nag screen poppin up. But after first use it still asks re the default viewer bla bla bla. Thats after exporting & using the key in my new installation? Link to comment Share on other sites More sharing options...
Dumpy Dooby Posted June 21, 2005 Share Posted June 21, 2005 msi install works just fine for me. *shrug* 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