Ken@fri Posted April 22, 2010 Posted April 22, 2010 (edited) Hi everybody!////////////////////////////// REQUEST #1 /////////////////////////////////////////I'm workin' on Nero 8.3.20.0 Lite/Micro true addon (english/french). One thing missing : i plan to check reg entries about nero previous versions(v7/v8).If ONE of these reg entries is found, a message will prompt user : "A previous version of Nero has been founded on your system. Please uninstall it before continuing.". This will abort addon installation.I'm tryin' to use CustomDestination directive to check Windows registry. But i'm little bit confused about its using.[install.Nero8Lite]11,,rundll32.exe,,,"advpack.dll,LaunchINFSection %01%\Nero8L.inf,Install"[install]BeginPrompt = ...CustomDestination = Nero.PreviousVersions.DetectedRunPreSetupCommands = Create.i386:1,MSVC++2005.Check:1,Nero8PreInstall.Check:1[Nero.PreviousVersions.Detected]49000=Nero7Lite.Check,22[Nero7Lite.Check]"HKLM","SOFTWARE\Nero\Installation\Families\Nero 7","","%Nero7Lite_FOUNDED%.",""[strings]Nero7Lite_FOUNDED="A previous version of Nero has been founded on your system. Please uninstall it before continuing"Durant my tests, this above prompt message is shown, even there's no regentries for NERO.////////////////////////////// REQUEST #2 /////////////////////////////////////////I'm also workin' on an addon for Nero 9.4.26.0b. And i'm lookink for how to check if .NET Framework 3.0 (Registry check) is installed or not.PLEASE YOUR HELP, LINKS & ADVICES WILL VERY APPRECIATED. THANX Edited April 22, 2010 by Ken@fri Quote
ricktendo Posted April 22, 2010 Posted April 22, 2010 This only works the other way around...if the program/reg-entry is NOT installed it will fail, only if it finds the registry entry will it installYes your second request is what this is used for, to check for a registry entry...if it finds .net 3.0 reg entry you specify ONLY then will it proceed Quote
Guest Posted April 22, 2010 Posted April 22, 2010 something likeRunpresetupcommands =Close.IDM:1[Close.IDM]"CMD /Q /C taskkill /f /t /im ""idman.exe""" Quote
Guest Posted April 23, 2010 Posted April 23, 2010 Thanks Dark.It's correctly :[install]CustomDestination=RessourceHacker.Detected[RessourceHacker.Detected]49000=RessourceHacker.Check,1[RessourceHacker.Check]"HKCR,"CLSID\{D14ED2E1-C75B-443c-BD7C-111111111194}","","% %.","" RessourceHacker_FOUNDED[strings]RessourceHacker_FOUNDED = "Une version Ressource Hacker a Quote
Ken@fri Posted April 23, 2010 Author Posted April 23, 2010 (edited) :welcome: :welcome: :welcome: @ ricktendo64, Alpha_95, DaRk MaDnEsSThanx 4 ur replies & contributions :thumbsup_anim: .I finally choose to use RunPreSetupCommands to solve my problem.Bye ! Edited April 23, 2010 by Ken@fri Quote
Ken@fri Posted April 23, 2010 Author Posted April 23, 2010 HKCR,"CLSID\{D14ED2E1-C75B-443c-BD7C-111111111110}HKCR,"CLSID\{D14ED2E1-C75B-443c-BD7C-111111111111}HKCR,"CLSID\{D14ED2E1-C75B-443c-BD7C-111111111112}HKCR,"CLSID\{D14ED2E1-C75B-443c-BD7C-111111111113}HKCR,"CLSID\{D14ED2E1-C75B-443c-BD7C-111111111114}HKCR,"CLSID\{D14ED2E1-C75B-443c-BD7C-111111111115}HKCR,"CLSID\{D14ED2E1-C75B-443c-BD7C-111111111116}HKCR,"CLSID\{D14ED2E1-C75B-443c-BD7C-111111111117}Hello Alpha_95 !Dans le mod Quote
Ken@fri Posted April 26, 2010 Author Posted April 26, 2010 (edited) Salut Alpha_95 :welcome: !Les entrées de ton soft pour affichage dans le Panneau de configuration peuvent être SIMPLEMENT supprimées AVANT L'INSTALL (avant réécriture éventuelle) :[DefaultInstall]RegisterDlls = Install.TON_APPLI[install.TON_APPLI]11,,rundll32.exe,,,"advpack.dll,LaunchINFSection %01%\TON_FICHIER_INF.inf,Install"[install]BeginPrompt = BeginInsPromptRunPreSetupCommands = Create.i386:1,PreInstall.Check:1CopyFiles = @TON_FICHIER_INF.inf,...AddReg = CPL.Entries.AddRegRunPostSetupCommands = Delete.i386[PreInstall.Check]DelReg = CPL.Entries.DelReg[CPL.Entries.DelReg]HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\D14ED2E1-C75B-443c-BD7C-111111111294"[CPL.Entries.AddReg]HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\D14ED2E1-C75B-443c-BD7C-111111111294"HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\D14ED2E1-C75B-443c-BD7C-111111111294",,,"Add My Prog to The Control Panel"Voici, par exemple, comment j'ajoute/supprime une icône pour Nero ControlCenter dans le Panneau de config (le GUID a été généré à l'aide du soft M$ cité + bas) :[NeroControlCenter.CPL]HKCR,"CLSID\{28E478E3-EC15-4531-9BF2-64603C35AE7A}"HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{28E478E3-EC15-4531-9BF2-64603C35AE7A}"HKCR,"CLSID\{28E478E3-EC15-4531-9BF2-64603C35AE7A}",,,"Nero ControlCenter"HKCR,"CLSID\{28E478E3-EC15-4531-9BF2-64603C35AE7A}","InfoTip",,"Maintenez Nero à jour !"HKCR,"CLSID\{28E478E3-EC15-4531-9BF2-64603C35AE7A}\DefaultIcon",,,"%16427%\%Nero_Web%\SetupX.exe"HKCR,"CLSID\{28E478E3-EC15-4531-9BF2-64603C35AE7A}\Shell\Open\command",,,"""%16427%\%Nero_Web%\SetupX.exe"" MODE=""update"""HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{28E478E3-EC15-4531-9BF2-64603C35AE7A}",,,"Ajoute Nero ControlCenter au Panneau de configuration."Si t'as d'autres questions ou souhaites approfondir, RDV sur le sous-forum FR de wincert. Créés-y un nouveau topic et fournis moi le lien par MP, ou on se retrouve sur le site de Moebius ?//////////////////////////////////////////////////////////////////////////////////////////////////////////I use Microsoft Exchange Server GUID Generator (GUIDGen) to generate GUID's.If u've more questions, please let's continue this discussion in french on Wincert's French sub-forum or on Moebius' site. OK? Thanx :thumbsup_anim: . Edited April 26, 2010 by Ken@fri Quote
Guest Posted May 7, 2010 Posted May 7, 2010 not sure but what about testing with the cmdsomething like ""%16422%\My_Prog\uninst.exe" /S" Quote
Ken@fri Posted May 8, 2010 Author Posted May 8, 2010 Try this:"""%16422%\Mon_Prog\uninst.exe"" /S" Quote
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.