Inno Setup Comiler - Rename the Uninstal file lazarus / 21-General ---------------------------------------------------------------------- 1HuntnMan · 2026-03-27 14:01 I am using Inno Setup Compiler 6.7.1 to create an Install app to install a finished app. Testing and have it working properly but reading what I think is suppose to work, doesn't work.  In the [Setup] section of my Inno [Setup] section I defined: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i UninstallDi splayIcon={app}\ContactsMgt.icoUninstallDisplayName={app}\UnInstallCon tactsMgt.iss  But when the Inno script or Inno ContactsMgtSetup.exe runs it creates the correct directory and installs the required files for the app but it creates 2 files named unins000.dat and unins000.exe.  How do I change my Inno to make these 2 files UnInstallContactsMgt.exe and .dat? ---------------------------------------------------------------------- Thaddy · 2026-03-27 14:06 Hm, long time since I used it, but uninstall.dat is the recording of the install process and the exe can read that and roll it back. I don't think that has changed, but I may be wrong: You need BOTH. That is because you can not write a generic uninstall without knowing how, where and what is installed. If that can be combined in a single exe? Yes, if the uninstall data can be compiled as a resource. Dunno if that is an option for InnoSetup. It is technically possible, but then InnoSetup has to implement it. It would however tie it to a single machine, single install, so I wonder why you would want that: such an uninstall executable would likely work on one single and exclusive machine only. ---------------------------------------------------------------------- mtrsoft · 2026-03-28 04:15 It is my understanding that the name of the uninstall executable and data files cannot be renamed. The "DisplayName..." constant defines what will appear in the Control Panel when selecting a program to uninstall. To be absolutely sure ask your question on the InnoSetup forum at: https://groups.google.com/forum/#!forum/innosetup ---------------------------------------------------------------------- 1HuntnMan · 2026-03-30 16:34 Yup, I figured that out, don't think you can rename those 2 files from what I've been reading.  I tested on a smaller app that I did quite a few years ago. This works the way I designed nicely, sharing if anyone wants to take a look... Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i ; -- ContactsMgt.iss --; Copy/Install ContactsMgt.exe, DataBase Schema and also create the application icon.; SEE THE DOCUMENTATION FOR DETAILS ON CREATING THE .ISS SCRIPT FILES!; Install the ContacsMgt.exe, ContactsMgt.ico into C:\Contacts for Windows\ and also the; SQLite3 database file (ContactsDB.sqlite3), report files and documentation into the; same directory - drive:\Contacts for Windows\ #define MyAppName "Contacts for Windows"#define MyAppVersion "2.1.1.5"#define MyAppCopyright "(c) 2024-2026 NewFound Photo Art"#define MyAppPublisher "NewFound Photo Art, LLC"#define MyDefaultDirName "\Contacts for Windows"#define MyAppExeName "ContactsMgt.exe"#define StatusMsg "Installing Contacts for Windows..." [Setup]; AppID={{YOUR- GUID-HERE}}AppId={{D6F0F3E7-6C42-4E6D-A2A8-7E7C7D8C1234}; AppName=Contacts for WindowsAppName={#MyAppName}; AppVersion=2.1.1.5AppVersion={#MyAppVersion}; AppCopyright=(c) 2024-2026 NewFound Photo ArtAppCopyright={#MyAppCopyright}; AppPublisher=NewFound Photo Art, LLCAppPublisher={#MyAppPublisher}CreateAppDir=yesWizardStyle=modern; DefaultDirName=\Contacts for Windows - Install into root\Contacts for WindowsDefaultDirName={#MyDefaultDirName}; DefaultGroupName=Contacts for WindowsDefaultGroupName={#MyAppName}; Uninstall display nameUninstallDisplayName={#MyAppName}; Uninstall iconUninstallDisplayIcon={app}\ContactsMgt.ico; Uninstall log file name ...Inno should create shortcutsUninstallFilesDir={app}\UninstallU ninstallLogMode=appendCompression=lzmaSolidCompression=yes; "ArchitecturesInstallIn64BitMode=x64os" requests that the install be; done in "64-bit mode" on x64, meaning it should use the native; 64-bit Program Files directory and the 64-bit view of the registry.; On all other architectures it will install in "32-bit mode".ArchitecturesInstallIn64BitMode=x64compatible; Installer output directoryOutputDir=Installer ContactsMgtOutputBaseFilename=ContactsMgtSetup; AppID; AppID={{PUT- YOUR-GUID-HERE}}  [Files]Source: "ContactsMgt.exe"; DestDir: "{app}"Source: "ContactsDB.sqlite3"; DestDir: "{app}"Source: "sqlite3.dll"; DestDir: "{app}"Source: "ContactsMgt.ico"; DestDir: "{app}"Source: "CntkAdressRpt.lrf"; DestDir: "{app}"Source: "CntksPhEmailRpt.lrf"; DestDir: "{app}"; Source: "Contacts for Windows.lnk"; DestDir: "{app}"Source: "Contacts for Windows Documentation.doc"; DestDir: "{app}"Source: "Database Schema Contacts Mgt.doc"; DestDir: "{app}"Source: "ReadMe1st.txt"; DestDir: "{app}" [Tasks]Name: "desktopicon"; Description: "Create a desktop icon"; GroupDescription: "Additional icons"; Flags: unchecked [Icons]Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; IconFilename: "{app}\ContactsMgt.ico"Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; IconFilename: "{app}\ContactsMgt.ico"; Tasks: desktopicon