Alpha_95 Posted April 21, 2010 Share Posted April 21, 2010 (edited) Hellothe problem is that the shortcuts are not created (start menu and control panel).After reboot the PC when running the inf file, I have the settings incorrect error ... I use to test WA install addons.Inf file:[Version]Signature=$Windows NT$[DefaultInstall]RegisterDLLs=Install.MI[install.MI]11,,rundll32.exe,,,"advpack.dll,LaunchINFSection %1%\MediaInfo.inf,Install"[install]AddReg=MI.Reg,MediaInfo.cpl,uninstall.AddregProfileItems=MI.Shortcut,MI.url.Shortcut,MI.chm.Shortcut,MI.Readme.ShortcutRunPostSetupCommands=RunPostSetupCommands.install[DestinationDirs]INF=17MI.Files=16422,MediaInfoPlugin.Files=16422,"MediaInfo\Plugin"Custom.Files=16422,"MediaInfo\Plugin\Custom"Language.Files=16422,"MediaInfo\Plugin\Language"Sheet.Files=16422,"MediaInfo\Plugin\Sheet"Tree.Files=16422,"MediaInfo\Plugin\Tree"PNF.File=17DefaultDestDir=17[sourceDisksFiles]License.html=1MediaInfo.url=1MediaInfo.dll=1MediaInfo.exe=1MediaInfo_InfoTip.dll=1ReadMe.txt=1History.txt=1MediaInfo.cfg=1en.Example.csv=1en.Example_HTML.csv=1Example.csv=3Example_HTML.csv=1fr.Example.csv=1it.Esempio.csv=1it.Esempio_HTML.csv=1Table by fields, compact (HTML).csv=1Table by fields, short (HTML).csv=1Table by fields, standard (HTML).csv=1Table by fields, verbose (HTML).csv=1Table by streams, compact (HTML).csv=1Table by streams, short (HTML).csv=1Table by streams, standard (HTML).csv=1Table by streams, verbose (HTML).csv=1XML.csv=1zzz_Contrib - Dusil (HTML).csv=1fr.csv=1en.csv=1Export example.csv=1MediaInfo.inf=2[MI.Files]License.htmlMediaInfo.urlMediaInfo.dllMediaInfo.exeMediaInfo_InfoTip.dllReadMe.txtHistory.txt[Plugin.Files]MediaInfo.cfg[Custom.Files]en.Example.csven.Example_HTML.csvExample.csvExample_HTML.csvfr.Example.csvit.Esempio.csvit.Esempio_HTML.csvTable by fields, compact (HTML).csvTable by fields, short (HTML).csvTable by fields, standard (HTML).csvTable by fields, verbose (HTML).csvTable by streams, compact (HTML).csvTable by streams, short (HTML).csvTable by streams, standard (HTML).csvTable by streams, verbose (HTML).csvXML.csvzzz_Contrib - Dusil (HTML).csv[Language.Files]fr.csven.csv[sheet.Files]Export example.csvExample.csv[Tree.Files]Example.csv[MI.Reg]HKLM,"SOFTWARE\Classes\Folder\shell\MediaInfo",,0x10HKLM,"SOFTWARE\Classes\Folder\shell\MediaInfo\Command",,0x0,"""%16422%\MediaInfo\MediaInfo.exe"" ""%%1""";HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\MediaInfo.exe",,0x0,"%16422%\MediaInfo\MediaInfo.exe"HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MediaInfo","DisplayIcon",0x0,"%16422%\MediaInfo\MediaInfo.exe"HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MediaInfo","DisplayName",0x0,"MediaInfo 0.7.31"HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MediaInfo","DisplayVersion",0x0,"0.7.31"HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MediaInfo","NSIS:Language",0x0,"1036"HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MediaInfo","Publisher",0x0,"MediaArea.net"HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MediaInfo","URLInfoAbout",0x0,"http://mediainfo.sourceforge.net"[uninstall.Addreg]HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MediaInfo","UninstallString",0,"rundll32.exe advpack.dll,LaunchINFSection MediaInfo.inf,Uninstallshellext"HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MediaInfo","DisplayIcon",0x0,"%16422%\MediaInfo\MediaInfo.exe"HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MediaInfo","DisplayName",0x0,"MediaInfo 0.7.31"HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MediaInfo","DisplayVersion",0x0,"0.7.31"HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MediaInfo","NSIS:Language",0x0,"1036"HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MediaInfo","Publisher",0x0,"MediaArea.net"HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MediaInfo","URLInfoAbout",0x0,"http://mediainfo.sourceforge.net"HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MediaInfo","NoModify",0x10001,01,00,00,00HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MediaInfo","NoRepair",0x10001,01,00,00,00[MediaInfo.cpl]HKCR,"CLSID\{D14ED2E1-C75B-443c-BD7C-111111111197}"HKCR,"CLSID\{D14ED2E1-C75B-443c-BD7C-111111111197}",,,"MediaInfo"HKCR,"CLSID\{D14ED2E1-C75B-443c-BD7C-111111111197}","InfoTip",,"MediaInfo fournit des informations techniques et des m Edited April 22, 2010 by Alpha_95 Quote Link to comment Share on other sites More sharing options...
ricktendo Posted April 21, 2010 Share Posted April 21, 2010 This is breaking your installHKU,"S-1-5-21-1659004503-796845957-1801674531-1004\*You also cant use that because this is unique to each install, its different every time...Is it not enough to register MediaInfo_InfoTip.dll? Quote Link to comment Share on other sites More sharing options...
Alpha_95 Posted April 21, 2010 Author Share Posted April 21, 2010 The key HKU,"S-1-5-21-1659004503-796845957-1801674531-1004\* are not to be integrated.if I understand you well? (They are different in each new installation?)?HKU may be in HKCU? (because it is the right click menu on a file)Is it not enough to register MediaInfo_InfoTip.dll? This is not correct the register ? Quote Link to comment Share on other sites More sharing options...
ricktendo Posted April 21, 2010 Share Posted April 21, 2010 Yes your RunOnce (should be RunOnceEx if you use a subdir dont it?) RegisterDLL looks correct, what Im asking is if you just register the DLL and NOT add the HKU,"S-1-5-21-1659004503-796845957-1801674531-1004\* registry entries will the program work just fine without it? Quote Link to comment Share on other sites More sharing options...
Alpha_95 Posted April 21, 2010 Author Share Posted April 21, 2010 I deleted the key RunOnce, but I just let this one:HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce","Reboot",,"rundll32.exe advpack.dll,LaunchINFSection MediaInfo.inf,DelRegSection2"replaced by:HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnceEx","Reboot",,"rundll32.exe advpack.dll,LaunchINFSection MediaInfo.inf,DelRegSection2"I do not think it will prevent the proper functioning of the program but when you make a right click on the file, it will no longer choose to open it with MediaInfo ... Quote Link to comment Share on other sites More sharing options...
ricktendo Posted April 21, 2010 Share Posted April 21, 2010 No you got me wrong...when you use RunOnceEx you need to add a \SubDir or it will not work.HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnceEx\AnySubDir","Reboot",,"rundll32.exe advpack.dll,LaunchINFSection MediaInfo.inf,DelRegSection2"I was not too sure about your RunOnce\SubDir thats what I was wondering about Quote Link to comment Share on other sites More sharing options...
Alpha_95 Posted April 21, 2010 Author Share Posted April 21, 2010 Ok thankscan make you one to associate files to the right click? Quote Link to comment Share on other sites More sharing options...
ricktendo Posted April 21, 2010 Share Posted April 21, 2010 Sorry, dont have any ideas other than usingHKLM,"Software\Classes\* Quote Link to comment Share on other sites More sharing options...
Alpha_95 Posted April 22, 2010 Author Share Posted April 22, 2010 (edited) Updated code in the first post. The problem is always the same ...MediaInfo is created in the start menu but the directory is empty ... The icon in the Control Panel is missing ... Edited April 22, 2010 by Alpha_95 Quote Link to comment Share on other sites More sharing options...
ricktendo Posted April 22, 2010 Share Posted April 22, 2010 Did you delete the AddReg?Also you may want to have a look at these two shortcuts[MI.url.Shortcut]Name ="Site Web De MediaInfo",8,23SubDir ="MediaInfo"CmdLine =16422,"MediaInfo","Site Web De MediaInfo"WorkingDir=16422,"MediaInfo"InfoTip ="Site web de MediaInfo."[MI.chm.Shortcut]Name ="License",8,23SubDir ="MediaInfo"CmdLine =16422,"MediaInfo","License.html"WorkingDir=16422,"MediaInfo"InfoTip ="License de MediaInfo."Look in my Sidebar addon and you will see how to make URL files with ProfileItems[BBC6.AddURL]Name =radio_BBC 6music,0x00000008,38URL =http://www.bbc.co.uk/6music/ram/6music_hi.asxSubDir =%WMPST%IconPath=11,,url.dllNotice instead of CmdLine= it uses URL=, also notice that I tell it to use the first icon in url.dll (you can leave out InfoTip and WorkingDir for these types of shortcuts)The second shortcut to the .html file I am not too sure about, if it does not seem to want to create you need to add IconPath= and IconIndex= to specify a iconBut first fix your URL shortcut see if that solves the problem...come back if the .html shortcut does not want to be created Quote Link to comment Share on other sites More sharing options...
Alpha_95 Posted April 22, 2010 Author Share Posted April 22, 2010 (edited) I corrected the error, it came File Tasks.txt I changed and I thought no more ... :oops:Thank you for your help ricktendo64 Edited April 22, 2010 by Alpha_95 Quote Link to comment Share on other sites More sharing options...
Alpha_95 Posted April 24, 2010 Author Share Posted April 24, 2010 (edited) Shorcut url is good, Shorcut IcoFx.exe doens't create :Tasks.txt:Name=IcoFXCreator=Owned67Version=1.6.4 FR et ENDescription=IcoFX est un Edited April 24, 2010 by Alpha_95 Quote Link to comment Share on other sites More sharing options...
ricktendo Posted April 25, 2010 Share Posted April 25, 2010 The EXE shortcut is fine, the URL shortcut may be breaking it Quote Link to comment Share on other sites More sharing options...
Alpha_95 Posted April 25, 2010 Author Share Posted April 25, 2010 (edited) why ?because they have the same name ?edit : yes...Solved Edited April 25, 2010 by Alpha_95 Quote Link to comment Share on other sites More sharing options...
ricktendo Posted April 25, 2010 Share Posted April 25, 2010 You are doing the URL shortcut wrong, do it this way[IcoFX.url.Shortcut]Name =IcoFX,0x00000008,23URL =http://icofx.roSubDir ="IcoFX 1.6"IconPath =11,,url.dllOr you can do it your way but rename it to what the program uses "IcoFX on the Web" Quote Link to comment Share on other sites More sharing options...
Alpha_95 Posted April 25, 2010 Author Share Posted April 25, 2010 yes, renaming was the solution, thank you to you for your help!One question, when a file. Ocx or. Dll (RegDllView Entry System 2) is recorded twice, how?Directory :%ProgramFiles%\Fichiers communs\Blueberry Software\BBFileTransfer.dll%ProgramFiles%\Fichiers communs\Blueberry Software\ActiveBand.ocx"regsvr32.exe /s ""%16422%\BB FlashBack Pro\ActiveBand.ocx""""regsvr32.exe /s ""%16422%\BB FlashBack Pro\BBFileTransfer.dll"""Enough or I have to run a second time? Quote Link to comment Share on other sites More sharing options...
ricktendo Posted April 25, 2010 Share Posted April 25, 2010 I dont follow Quote Link to comment Share on other sites More sharing options...
Alpha_95 Posted April 25, 2010 Author Share Posted April 25, 2010 (edited) When a file .Dll or .ocx or .ac is registered, it runs:"regsvr32.exe /s ""%16427%\MyProg\MyFile.dll"""but it is recorded two, how we should proceed?[solved] Edited April 26, 2010 by Alpha_95 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.