Grazie a entrambi. Ho provato la rettifica togliendo l'H e digitando sia inf che Inf che INF, ma mi si è opposto questo brutale cartello: "Errore in SETUPAPI.DLL Voce mancante: InstallInfSection" (Mentre con l'H nessun cartello sventolava - ma anche nulla mutava.)
Il testo integrale di RdocEx.inf è:
; Application: RdocEx
; Version : 1.0
; Author : Mike Lin
; Copyright : Copyright © 1999 by Mike Lin
; Created by : INF-Tool Setup Program and INF File Generator
; from
http://Inner-Smile.com; Licence of : Mike Lin, 07733 Holmdel, NJ, USA
; ---------------------------------------------------------------------------
[Version]
Signature=$Chicago$
Provider=%Author%
SetupClass=BASE
Compatible=1
AdvancedINF=2.5,"You need a newer version of ADVPACK.DLL!"
Generator=INF-Tool v5.1/r
[Optional Components]
INFTool_1
[Optional Components.ntx86]
INFTool_1.ntx86
[AdvSetup]
HKLM,%RunOnce%Setup,"RdocEx...",,"RunDll32.exe "%01%"\advpack.dll,LaunchINFSection RDOCEX.INF,DefaultInstall2"
[AdvSetup.ntx86]
HKLM,%RunOnce%Setup,"RdocEx...",,"RunDll32.exe advpack.dll,LaunchINFSection RDOCEX.INF,DefaultInstall2.ntx86"
[Strings]
Product="RdocEx"
Version="1.0"
Author="Mike Lin"
Copyright="Copyright © 1999 by Mike Lin"
DiskName="RdocEx, Setup Disk #1"
Uninstall="Software\Microsoft\Windows\CurrentVersion\Uninstall\"
Runonce="SOFTWARE\Microsoft\Windows\CurrentVersion\Runonce\"
Setup="SOFTWARE\Microsoft\Windows\CurrentVersion\Setup"
[INFTool.Add.Reg.95]
HKLM,%Uninstall%%Product%
HKLM,%Uninstall%%Product%,"DisplayName",,"%Product%"
HKLM,%Uninstall%%Product%,UninstallString,,"RunDll32 advpack.dll,LaunchINFSection %17%\RDOCEX.INF, DefaultUninstall"
[INFTool.Add.Reg.ntx86]
HKLM,%Uninstall%%Product%
HKLM,%Uninstall%%Product%,"DisplayName",,"%Product%"
HKLM,%Uninstall%%Product%,UninstallString,,"RunDll32 advpack.dll,LaunchINFSection %17%\RDOCEX.INF, DefaultUninstall.ntx86"
[INFTool.AddINI]
win.ini,Desktop,Wallpaper,HKLM,%Setup%,2
win.ini,Desktop,TileWallpaper,HKLM,%Setup%,2
[SourceDisksNames]
1=%DiskName%,,0
[SourceDisksFiles]
RdocEx.dll=1,,32768
AdvPack.DLL=1
W95Inf16.DLL=1
W95Inf32.DLL=1
[DestGrp]
RdocEx.dll
[UninstGrp]
"RdocEx.dll"
[AdvPack]
AdvPack.DLL,,,16
W95Inf16.DLL,,,16
W95Inf32.DLL,,,16
[Add.Inf]
RDOCEX.INF
[DestinationDirs]
DestGrp=11,
UninstGrp=11,
AdvPack=11
Add.Inf=17
[INFRegOCX]
%11%\RdocEx.dll
[INFUnregOCX]
%11%\RdocEx.dll
[DefaultInstall]
Ini2Reg=INFTool.AddINI
AddReg=AdvSetup
[DefaultInstallX]
[DefaultInstall2]
AddReg=INFTool.Add.Reg.95
UpdateAutoBat=UpdateAutoBat
RegisterOCXs=INFRegOCX
Copyfiles=DestGrp,AdvPack,Add.Inf
BeginPrompt=InstallBegin
Uninstall=DefaultUninstall
[DefaultInstall.ntx86]
AddReg=AdvSetup.ntx86
[DefaultInstall2.ntx86]
AddReg=INFTool.Add.Reg.ntx86
RegisterOCXs=INFRegOCX
Copyfiles=DestGrp,AdvPack,Add.Inf
BeginPrompt=InstallBegin
Uninstall=DefaultUninstall.ntx86
[INFTool_1]
OptionDesc=%Product%
Tip=%info%
InstallType=0
AddReg=AdvSetup
[INFTool_1.ntx86]
OptionDesc=%Product%
Tip=%info%
InstallType=0
AddReg=AdvSetup.ntx86
[InstallBegin]
Title="RdocEx"
[DefaultUninstall]
BeginPrompt=BeginUPromptSection
EndPrompt=EndUPromptSection
DelReg=INFTool.Add.Reg.95
UnregisterOCXs=INFUnregOCX
DelFiles=UninstGrp
Cleanup=1
[DefaultUninstall.ntx86]
BeginPrompt=BeginUPromptSection
EndPrompt=EndUPromptSection
DelReg=INFTool.Add.Reg.ntx86
UnregisterOCXs=INFUnregOCX
DelFiles=UninstGrp
Cleanup=1
[BeginUPromptSection]
Prompt="Are you sure you want to remove RdocEx?"
ButtonType=YESNO
Title=%Product% Uninstall
[EndUPromptSection]
Prompt="RdocEx was successfully removed from your computer."
[UpdateAutoBat]
PrefixPath=99
RemOldPath=99
TmpDir=99