Added Run / Run at startup options to setup
This commit is contained in:
parent
69a93f68d5
commit
0e27fec1e9
@ -17,7 +17,7 @@
|
|||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<OutputPath>$(localappdata)\MassiveKnob\Plugins\VoiceMeeter\</OutputPath>
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
|
@ -11,6 +11,7 @@ using SimpleInjector;
|
|||||||
|
|
||||||
namespace MassiveKnob
|
namespace MassiveKnob
|
||||||
{
|
{
|
||||||
|
// TODO (should have) global exception handler - AppDomain.CurrentDomain.UnhandledException
|
||||||
public static class Program
|
public static class Program
|
||||||
{
|
{
|
||||||
[STAThread]
|
[STAThread]
|
||||||
|
@ -41,6 +41,7 @@ Name: optionalplugins\voicemeeter; Description: "VoiceMeeter actions"; Types: fu
|
|||||||
|
|
||||||
[Tasks]
|
[Tasks]
|
||||||
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
||||||
|
Name: "runatstartup"; Description: "{cm:AutoStartProgram,{#AppName}}"; GroupDescription: "{cm:AutoStartProgramGroupDescription}"; Flags: unchecked
|
||||||
|
|
||||||
[Files]
|
[Files]
|
||||||
; Main application
|
; Main application
|
||||||
@ -73,8 +74,11 @@ Name: "{localappdata}\MassiveKnob\Plugins"
|
|||||||
Name: "{commonprograms}\{#AppName}"; Filename: "{app}\{#AppExeName}"
|
Name: "{commonprograms}\{#AppName}"; Filename: "{app}\{#AppExeName}"
|
||||||
Name: "{commondesktop}\{#AppName}"; Filename: "{app}\{#AppExeName}"; Tasks: desktopicon
|
Name: "{commondesktop}\{#AppName}"; Filename: "{app}\{#AppExeName}"; Tasks: desktopicon
|
||||||
|
|
||||||
|
[Registry]
|
||||||
|
Root: HKCU; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"; ValueType: string; ValueName: "MassiveKnob"; ValueData: "{app}\{#AppExeName}.exe"; Tasks: runatstartup;
|
||||||
|
|
||||||
[Run]
|
[Run]
|
||||||
;Filename: "{app}\{#AppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(AppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
|
Filename: "{app}\{#AppExeName}"; Description: "{cm:LaunchProgram,{#AppName}}"; Flags: nowait postinstall skipifsilent
|
||||||
|
|
||||||
[Code]
|
[Code]
|
||||||
// .NET version detection credit goes to:
|
// .NET version detection credit goes to:
|
||||||
|
Loading…
Reference in New Issue
Block a user