mirror of
https://github.com/indetectables-net/toolkit.git
synced 2025-06-21 18:30:51 +00:00
Installer code changes
This commit is contained in:
parent
3fe35ca367
commit
6086c2b095
12
bin/choco/installChocolatey.cmd
Normal file
12
bin/choco/installChocolatey.cmd
Normal file
@ -0,0 +1,12 @@
|
||||
@echo off
|
||||
|
||||
SET DIR=%~dp0%
|
||||
|
||||
::download install.ps1
|
||||
%systemroot%\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "((new-object net.webclient).DownloadFile('https://community.chocolatey.org/install.ps1','%DIR%install.ps1'))"
|
||||
|
||||
::run installer
|
||||
%systemroot%\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "& '%DIR%install.ps1' %*"
|
||||
|
||||
:: sleep...
|
||||
%systemroot%\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "Start-Sleep -s 5"
|
51
bin/installer/sections/extras.iss
Normal file
51
bin/installer/sections/extras.iss
Normal file
@ -0,0 +1,51 @@
|
||||
; Add SendTo+ to sendTo folder
|
||||
[Components]
|
||||
Name: "extras\sendto"; Description: "Add toolkit menu to ""Send To"""; Types: full compact;
|
||||
|
||||
[Icons]
|
||||
; x64
|
||||
Name: "{userappdata}\Microsoft\Windows\SendTo\{#MyAppName}"; Filename: "{#MyAppBinsFolder}\sendto\sendto_x64.exe"; WorkingDir: "{#MyAppBinsFolder}\sendto\"; IconFilename: "{#MyAppBinsFolder}\sendto\toolkit.ico"; Components: "extras\sendto"; Check: Is64BitInstallMode;
|
||||
|
||||
; x32
|
||||
Name: "{userappdata}\Microsoft\Windows\SendTo\{#MyAppName}"; Filename: "{#MyAppBinsFolder}\sendto\sendto_x86.exe"; WorkingDir: "{#MyAppBinsFolder}\sendto\"; IconFilename: "{#MyAppBinsFolder}\sendto\toolkit.ico"; Components: "extras\sendto"; Check: not Is64BitInstallMode;
|
||||
|
||||
|
||||
|
||||
; Add SendTo+ to context menu
|
||||
[Components]
|
||||
Name: "extras\contextmenu"; Description: "Add toolkit menu to context menu"; Types: full compact;
|
||||
|
||||
; this code need to run with admin priv!
|
||||
[Registry]
|
||||
Root: "HKCR"; Subkey: "*\shell\IndetectablesToolkit"; ValueType: none; ValueName: ""; ValueData: ""; Components: "extras\contextmenu"; Flags: uninsdeletekey;
|
||||
Root: "HKCR"; Subkey: "*\shell\IndetectablesToolkit"; ValueType: string; ValueName: ""; ValueData: "Indetectables Toolkit"; Components: "extras\contextmenu"; Flags: uninsdeletekey;
|
||||
Root: "HKCR"; Subkey: "*\shell\IndetectablesToolkit"; ValueType: string; ValueName: "Icon"; ValueData: "{#MyAppBinsFolder}\sendto\toolkit.ico"; Components: "extras\contextmenu"; Flags: uninsdeletekey;
|
||||
;Root: "HKCR"; Subkey: "*\shell\IndetectablesToolkit"; ValueType: string; ValueName: "SeparatorBefore"; ValueData: ""; Components: "extras\contextmenu"; Flags: uninsdeletekey;
|
||||
;Root: "HKCR"; Subkey: "*\shell\IndetectablesToolkit"; ValueType: string; ValueName: "SeparatorAfter"; ValueData: ""; Components: "extras\contextmenu"; Flags: uninsdeletekey;
|
||||
|
||||
; x64
|
||||
Root: "HKCR"; Subkey: "*\shell\IndetectablesToolkit\command"; ValueType: string; ValueName: ""; ValueData: """{#MyAppBinsFolder}\hstart\hstart64.exe"" /SHELL /D=""{#MyAppBinsFolder}\sendto"" """"{#MyAppBinsFolder}\sendto\sendto_x64.exe"" ""%1"""""; Components: "extras\contextmenu"; Flags: uninsdeletekey; Check: Is64BitInstallMode;
|
||||
|
||||
; x32
|
||||
Root: "HKCR"; Subkey: "*\shell\IndetectablesToolkit\command"; ValueType: string; ValueName: ""; ValueData: """{#MyAppBinsFolder}\hstart\hstart.exe"" /SHELL /D=""{#MyAppBinsFolder}\sendto"" """"{#MyAppBinsFolder}\sendto\sendto_x86.exe"" ""%1"""""; Components: "extras\contextmenu"; Flags: uninsdeletekey; Check: not Is64BitInstallMode;
|
||||
|
||||
|
||||
|
||||
; Install Choco
|
||||
[Components]
|
||||
Name: "extras\choco"; Description: "Install Chocolatey package manager"; ExtraDiskSpaceRequired: 16777216; Types: full compact;
|
||||
|
||||
[Files]
|
||||
Source: "{#MySrcDir}\bin\choco\*"; DestDir: "{#MyAppBinsFolder}\choco"; Components: "extras\choco"; Flags: ignoreversion recursesubdirs createallsubdirs;
|
||||
|
||||
[Run]
|
||||
Filename: "{#MyAppBinsFolder}\choco\installChocolatey.cmd"; Components: "extras\choco or extras\javase"; Flags: waituntilidle;
|
||||
|
||||
|
||||
|
||||
; Install Java
|
||||
[Components]
|
||||
Name: "extras\javase"; Description: "Install Java 8 Runtime Environment (via Chocolatey)"; ExtraDiskSpaceRequired: 220200960; Types: full compact;
|
||||
|
||||
[Run]
|
||||
Filename: "{sd}\ProgramData\chocolatey\bin\choco.exe"; Parameters: "install jre8"; Components: "extras\javase"; Flags: waituntilterminated;
|
@ -12,12 +12,12 @@ Name: "{userdesktop}\{#MyAppName}\Toolkit Updater"; Filename: "{#MyAppBinsFolder
|
||||
|
||||
; Fix default update config
|
||||
[INI]
|
||||
Filename: {#MyAppBinsFolder}\updater\tools.ini; Section: Updater; Key: disable_clean; String: True
|
||||
Filename: {#MyAppBinsFolder}\updater\tools.ini; Section: Updater; Key: disable_repack; String: True
|
||||
Filename: {#MyAppBinsFolder}\updater\tools.ini; Section: Updater; Key: disable_clean; String: True; Components: "updater\main";
|
||||
Filename: {#MyAppBinsFolder}\updater\tools.ini; Section: Updater; Key: disable_repack; String: True; Components: "updater\main";
|
||||
|
||||
; Clean dont selected tools in tools.ini
|
||||
[Run]
|
||||
Filename: "{#MyAppBinsFolder}\auto-config-tools\auto-config-tools.exe"; Parameters: "/FOLDER={#MyAppBinsFolder}\updater"; Flags: runhidden;
|
||||
Filename: "{#MyAppBinsFolder}\auto-config-tools\auto-config-tools.exe"; Parameters: "/FOLDER={#MyAppBinsFolder}\updater"; Components: "updater\main"; Flags: runhidden;
|
||||
|
||||
|
||||
|
||||
@ -26,8 +26,8 @@ Filename: "{#MyAppBinsFolder}\auto-config-tools\auto-config-tools.exe"; Paramete
|
||||
Name: "updater\task"; Description: "Add Updater Task Schedule"; Types: full compact;
|
||||
|
||||
[Run]
|
||||
Filename: "{sys}\schtasks.exe"; Parameters: "/Delete /TN IndetectablesToolkit_Updater /F"; Flags: runhidden;
|
||||
Filename: "{sys}\schtasks.exe"; Parameters: "/CREATE /SC WEEKLY /TN IndetectablesToolkit_Updater /TR ""'{#MyAppBinsFolder}\hstart\hstart.exe' /NOCONSOLE '{#MyAppBinsFolder}\updater\updater.exe'"""; Flags: runhidden;
|
||||
Filename: "{sys}\schtasks.exe"; Parameters: "/Delete /TN IndetectablesToolkit_Updater /F"; Components: "updater\task"; Flags: runhidden;
|
||||
Filename: "{sys}\schtasks.exe"; Parameters: "/CREATE /SC WEEKLY /TN IndetectablesToolkit_Updater /TR ""'{#MyAppBinsFolder}\hstart\hstart.exe' /NOCONSOLE '{#MyAppBinsFolder}\updater\updater.exe'"""; Components: "updater\task"; Flags: runhidden;
|
||||
|
||||
[UninstallRun]
|
||||
Filename: "{#MyAppBinsFolder}\hstart\hstart.exe"; Parameters: "/ELEVATE ""{sys}\schtasks.exe /Delete /TN IndetectablesToolkit_Updater /F"""; Flags: runhidden
|
||||
Filename: "{#MyAppBinsFolder}\hstart\hstart.exe"; Parameters: "/ELEVATE ""{sys}\schtasks.exe /Delete /TN IndetectablesToolkit_Updater /F"""; Components: "updater\task"; Flags: runhidden;
|
||||
|
@ -13,6 +13,7 @@
|
||||
AppId={{1FF89DD9-2D8E-4959-B670-2344285F456B}
|
||||
AppName={#MyAppName}
|
||||
AppVersion={#MyAppVersion}
|
||||
VersionInfoVersion={#MyAppVersion}
|
||||
AppVerName={#MyAppName} - {#MyAppVersion}
|
||||
AppPublisher={#MyAppPublisher}
|
||||
AppPublisherURL={#MyAppURL}
|
||||
@ -34,44 +35,48 @@ Name: "english"; MessagesFile: "compiler:Default.isl"
|
||||
Name: "spanish"; MessagesFile: "compiler:Languages\Spanish.isl"
|
||||
|
||||
[Components]
|
||||
Name: "Analysis"; Description: "Analysis tools"; Types: full;
|
||||
Name: "analysis"; Description: "Analysis tools"; Types: full;
|
||||
#include "sections\analysis.iss"
|
||||
|
||||
[Components]
|
||||
Name: "Decompilers"; Description: "Decompilers"; Types: full;
|
||||
Name: "decompilers"; Description: "Decompilers"; Types: full;
|
||||
#include "sections\decompilers.iss"
|
||||
|
||||
[Components]
|
||||
Name: "Dissasembler"; Description: "Dissasembler"; Types: full;
|
||||
Name: "dissasembler"; Description: "Dissasembler"; Types: full;
|
||||
#include "sections\dissasembler.iss"
|
||||
|
||||
[Components]
|
||||
Name: "HEXEditor"; Description: "Hex editors"; Types: full;
|
||||
Name: "hexeditor"; Description: "Hex editors"; Types: full;
|
||||
#include "sections\hex-editor.iss"
|
||||
|
||||
[Components]
|
||||
Name: "Monitor"; Description: "Monitor tools"; Types: full;
|
||||
Name: "monitor"; Description: "Monitor tools"; Types: full;
|
||||
#include "sections\monitor.iss"
|
||||
|
||||
[Components]
|
||||
Name: "Other"; Description: "Other tools"; Types: full;
|
||||
Name: "other"; Description: "Other tools"; Types: full;
|
||||
#include "sections\other.iss"
|
||||
|
||||
[Components]
|
||||
Name: "RootkitsDetector"; Description: "Rootkits Detector"; Types: full;
|
||||
Name: "rootkitsdetector"; Description: "Rootkits Detector"; Types: full;
|
||||
#include "sections\rootkits-detector.iss"
|
||||
|
||||
[Components]
|
||||
Name: "UnPacking"; Description: "UnPacking"; Types: full;
|
||||
Name: "unpacking"; Description: "UnPacking"; Types: full;
|
||||
#include "sections\unpacking.iss"
|
||||
|
||||
[Components]
|
||||
Name: "Updater"; Description: "Tools auto updater"; Types: full;
|
||||
Name: "updater"; Description: "Tools auto updater"; Types: full;
|
||||
#include "sections\updater.iss"
|
||||
|
||||
[Components]
|
||||
Name: "extras"; Description: "Extras"; Types: full;
|
||||
#include "sections\extras.iss"
|
||||
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; Extras
|
||||
; Misc
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
; Add docs
|
||||
@ -85,35 +90,22 @@ Name: "{userdesktop}\{#MyAppName}\Explore all tools"; Filename: "{#MyAppToolsFol
|
||||
Name: "{group}\{#MyAppName}\Explore all tools"; Filename: "{#MyAppToolsFolder}";
|
||||
|
||||
|
||||
; SendTo+ shortcuts
|
||||
; hstart
|
||||
[Files]
|
||||
Source: "{#MySrcDir}\bin\hstart\*"; Destdir: "{#MyAppBinsFolder}\hstart\";
|
||||
|
||||
|
||||
; SendTo+
|
||||
[Files]
|
||||
Source: "{#MySrcDir}\bin\sendto\*"; Destdir: "{#MyAppBinsFolder}\sendto\";
|
||||
Source: "{#MySrcDir}\bin\hstart\*"; Destdir: "{#MyAppBinsFolder}\hstart\";
|
||||
|
||||
[Icons]
|
||||
; x64
|
||||
Name: "{userappdata}\Microsoft\Windows\SendTo\{#MyAppName}"; Filename: "{#MyAppBinsFolder}\sendto\sendto_x64.exe"; WorkingDir: "{#MyAppBinsFolder}\sendto\"; IconFilename: "{#MyAppBinsFolder}\sendto\toolkit.ico"; Check: Is64BitInstallMode
|
||||
Name: "{userdesktop}\{#MyAppName}\Menu"; Filename: "{#MyAppBinsFolder}\sendto\sendto_x64.exe"; WorkingDir: "{#MyAppBinsFolder}\sendto\"; IconFilename: "{#MyAppBinsFolder}\sendto\toolkit.ico"; Check: Is64BitInstallMode
|
||||
|
||||
; x32
|
||||
Name: "{userappdata}\Microsoft\Windows\SendTo\{#MyAppName}"; Filename: "{#MyAppBinsFolder}\sendto\sendto_x86.exe"; WorkingDir: "{#MyAppBinsFolder}\sendto\"; IconFilename: "{#MyAppBinsFolder}\sendto\toolkit.ico"; Check: not Is64BitInstallMode
|
||||
Name: "{userdesktop}\{#MyAppName}\Menu"; Filename: "{#MyAppBinsFolder}\sendto\sendto_x86.exe"; WorkingDir: "{#MyAppBinsFolder}\sendto\"; IconFilename: "{#MyAppBinsFolder}\sendto\toolkit.ico"; Check: not Is64BitInstallMode
|
||||
|
||||
; Add SendTo+ to right click menu
|
||||
; this code need to run with admin priv!
|
||||
[Registry]
|
||||
Root: "HKCR"; Subkey: "*\shell\IndetectablesToolkit"; ValueType: none; ValueName: ""; ValueData: ""; Flags: uninsdeletekey
|
||||
Root: "HKCR"; Subkey: "*\shell\IndetectablesToolkit"; ValueType: string; ValueName: ""; ValueData: "Indetectables Toolkit"; Flags: uninsdeletekey
|
||||
Root: "HKCR"; Subkey: "*\shell\IndetectablesToolkit"; ValueType: string; ValueName: "Icon"; ValueData: "{#MyAppBinsFolder}\sendto\toolkit.ico"; Flags: uninsdeletekey
|
||||
;Root: "HKCR"; Subkey: "*\shell\IndetectablesToolkit"; ValueType: string; ValueName: "SeparatorBefore"; ValueData: ""; Flags: uninsdeletekey
|
||||
;Root: "HKCR"; Subkey: "*\shell\IndetectablesToolkit"; ValueType: string; ValueName: "SeparatorAfter"; ValueData: ""; Flags: uninsdeletekey
|
||||
|
||||
; x64
|
||||
Root: "HKCR"; Subkey: "*\shell\IndetectablesToolkit\command"; ValueType: string; ValueName: ""; ValueData: """{#MyAppBinsFolder}\hstart\hstart64.exe"" /SHELL /D=""{#MyAppBinsFolder}\sendto"" """"{#MyAppBinsFolder}\sendto\sendto_x64.exe"" ""%1"""""; Flags: uninsdeletekey; Check: Is64BitInstallMode
|
||||
|
||||
; x32
|
||||
Root: "HKCR"; Subkey: "*\shell\IndetectablesToolkit\command"; ValueType: string; ValueName: ""; ValueData: """{#MyAppBinsFolder}\hstart\hstart.exe"" /SHELL /D=""{#MyAppBinsFolder}\sendto"" """"{#MyAppBinsFolder}\sendto\sendto_x86.exe"" ""%1"""""; Flags: uninsdeletekey; Check: not Is64BitInstallMode
|
||||
|
||||
|
||||
; Force delete all files
|
||||
[UninstallDelete]
|
||||
|
Loading…
x
Reference in New Issue
Block a user