diff --git a/win_inno_installscript.iss b/win_inno_installscript.iss index 19a5387..516d7b8 100644 --- a/win_inno_installscript.iss +++ b/win_inno_installscript.iss @@ -7,8 +7,6 @@ #define MyAppURL "https://github.com/dweymouth/supersonic" #define MyAppExeName "Supersonic.exe" -#define PathToSelf ExtractFileDir(__PATHFILENAME__) - [Setup] ; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications. ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) @@ -30,7 +28,7 @@ ArchitecturesAllowed=x64compatible ; the 64-bit view of the registry. ArchitecturesInstallIn64BitMode=x64compatible DisableProgramGroupPage=yes -LicenseFile="{#PathToSelf}\LICENSE" +LicenseFile=LICENSE ; Uncomment the following line to run in non administrative install mode (install for current user only.) ;PrivilegesRequired=lowest PrivilegesRequiredOverridesAllowed=dialog @@ -46,8 +44,8 @@ Name: "english"; MessagesFile: "compiler:Default.isl" Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked [Files] -Source: "{#PathToSelf}\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion -Source: "{#PathToSelf}\libmpv-2.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion +Source: "libmpv-2.dll"; DestDir: "{app}"; Flags: ignoreversion ; NOTE: Don't use "Flags: ignoreversion" on any shared system files [Icons]