Relative Content

Tag Archive for inno-setup

Inno Setup replaced files not taking on the new date/time

When installing a file, Inno Setup doesn’t seem to take on the new date/time of the file being replaced. The log indicates the file was replaced, but the date/time is the same as the old date/time. Shouldn’t the replaced file have the same date/time of the new file? In essence, I don’t know if the file has actually been replaced.

Is it possible to somehow create a short alias to variable

In my function I want to create a shorthand for variable to shorten the code but
if I understand it correctly, PascalScript used in Inno Setup doesn’t support neither pointers nor references, am I right? Are there any other ways to do that? This is the example of what I want to achive (using Pascal pointers):

Inno setup install one file or another

I have an script to install my application, but I want to add a checkbox that when the user check it install one thing or another. This is what I have:

Why is InnoSetup Script not copying an executable file that will be run at the beginning of installation process?

As per the documentation I am putting the executable in the files section so that it gets copied to {tmp} folder and run during the installation (at the beginning). However the file is never copied. I tested with different files like a simple txt file, different source and destination paths and it’s never copied. Only error I receive is during runtime, “file does not exist” and not much information. I also tried without the external flag and it was still the same.

Inno setup Installer Icon not changing

I am building the installer of my application with Inno setup. But I have the problem that the installer.exe dont have any icon (uses the default) even though I specify one with SetupIconFile. Here is the full script:

The privileges with Inno Setup to interact with the database

Salut à tous !
J’ai déployé une base de données mysql et une application Java-javafx en s’inspirant des scripts de Martin qui m’a vraiment beaucoup aidé, Dans le script j’ai intégré juste une ligne de script qui permettait à créer la base de données et ses tables, le script fonctionne très bien après installation la base de données est créée également mais lors de l’exécution de mon application Java elle n’arrive pas à se connecter avec la base de données pourtant tous les paramètres sont bien respectés mais bizarrement si je crée la même base de données manuellement avec ces mêmes paramètres mon application fonctionne très bien.