How to create installer with Inno Setup
Hello,
Is it possible to create an installer package with Inno Setup or similar software for a Ps extension?
I have successfully created it with Inno Setup, the extension folder is installing in C:\Users\{username}\AppData\Roaming\Adobe\CEP\extensions and it creates a Start Menu folder with uninstall option.
The good thing is that the extension will work upon installing but only with debugging mode enabled.
The bad thing is if I digitally sign the extension, upon starting Photoshop it trhows error that it is not properlly signed, thus cannot use the extension. My conclusion is when the installer creates the unins000.dat and unins000.exe, I have to delete those files so the extension can work properly. Can this be somehow overriden without enabling the debugging mode in Photoshop and keeping the uninstalling option?
This is the code I use in Inno Setup to create the extension installer:
#define MyAppName "shuffler"
#define StartMenuApp "Shuffler"
#define MyAppVersion "v1.0"
#define MyAppPublisher "Shuffler"
#define MyAppURL "https://www.no-domain.com/"
AppId={{98F49B0A-97FD-4049-BFD8-B72A73098872}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={userappdata}\Adobe\CEP\extensions\{#MyAppName}
DisableDirPage=yes
DefaultGroupName=Shuffler
DisableProgramGroupPage=yes
PrivilegesRequired=lowest
OutputBaseFilename=shuffler
SetupIconFile=C:\Users\{USERNAME}\Desktop\shuffler_setup\shuffler_icon.ico
Compression=lzma
SolidCompression=yes
WizardStyle=modern
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Files]
Source: "C:\Users\{USERNAME}\Desktop\shuffler_setup\shuffler_installer\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{group}\{cm:ProgramOnTheWeb,{#StartMenuApp}}"; Filename: "{#MyAppURL}"
Name: "{group}\{cm:UninstallProgram,{#StartMenuApp}}"; Filename: "{#UninstallApp}"
Thanks,
Damian
