; GMail Drive setup file Copyright 2004-2009 by Bjarke Viksoe <bjarke@viksoe.dk>
;
; *** WARNING: If you delete this file you will not be able to uninstall GMail Drive!

[Version]
Signature="$CHICAGO$"
SetupClass=BASE

[DefaultInstall]
CopyFiles=Boom.CopyFiles
AddReg=Boom.Install.AddRegEntries

[DefaultUninstall]
DelReg=Boom.Uninstall.DelRegEntries
DelFiles=Boom.CopyFiles, Boom.DelFiles

[SourceDisksNames]
42="%Title%","",1

[SourceDisksFiles]
GMailFS.dll=42
GMailFS.inf=42
GMailFS.chm=42

[Boom.CopyFiles]
GMailFS.dll,,,1
GMailFS.inf
GMailFS.chm

[Boom.DelFiles]
GMailFS.hlp
GMailFS.cnt

[DestinationDirs]
Boom.CopyFiles=11,%SubDir%     ; send to System\%SubDir%
Boom.DelFiles=11,%SubDir%      ; send to System\%SubDir%

[Boom.Install.AddRegEntries]
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup,%Title%,,"rundll32.exe %11%\%SubDir%\%ExeFile%,Install"
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\%ShortName%,"DisplayName",,"%Title%"
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\%ShortName%,"UninstallString",,"rundll32.exe %11%\%SubDir%\%ExeFile%,Uninstall %11%\%SubDir%\%InfFile%"
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\%ShortName%,"Publisher",,"%Publisher%"
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\%ShortName%,"URLUpdateInfo",,"%URL%"

[Boom.Uninstall.DelRegEntries]
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\%ShortName%
HKCU,Software\Software\viksoe.dk\GMailFS

[Strings]
Title = "GMail Drive Shell Extension"
Publisher = "viksoe.dk"
URL = "http://www.viksoe.dk/gmail/"
ShortName = "GMailFS"
SubDir = "ShellExt"
ExeFile = "GMailFS.dll"
InfFile = "GMailFS.inf"
