Skip to content

Instantly share code, notes, and snippets.

@texhex
Created December 28, 2012 12:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save texhex/4397435 to your computer and use it in GitHub Desktop.
Save texhex/4397435 to your computer and use it in GitHub Desktop.
#include <ISPPBuiltins.iss>
#pragma option -v+
#pragma verboselevel 9
#define public DefaultDirName '{pf}\Foxit Software\Red PDF Icon'
[Setup]
AppName=Foxit Reader Red PDF Icon 1.1
AppVersion=1.1
AppId=Foxit_RedPDFIcon
VersionInfoVersion=2012.12.05.3
OutputBaseFilename=Foxit_RedPDFIcon
Uninstallable=No
DefaultDirName={#DefaultDirName}
AllowCancelDuringInstall=False
Compression=lzma2
SolidCompression=yes
DisableDirPage=yes
DisableProgramGroupPage=yes
ChangesAssociations=yes
[Files]
Source: "PDF_File.ico"; DestDir: "{#DefaultDirName}"; Flags: ignoreversion
[Registry]
Root: HKCR; Subkey: "FoxitReader.Document\DefaultIcon"; ValueType: string; ValueName: ; ValueData: "{#DefaultDirName}\PDF_File.ico";
#expr SaveToFile(AddBackslash(SourcePath) + "zz_Temp_Preprocessed.iss")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment