Some installers I come across give me the choice of installing the app "just for me" or "for "anyone who uses this computer".
How can I get my Inno Setup script to present the user with this choice, so that I can then change what the installer does according to how they answer?
Go to Menu, Project, then Compile to compile and create the setup file. This will create a complete installer. Run the Setup and your application will be installed correctly. Innosetup offers an awesome alternative to create great looking Installers for free.
In [Files] section, you install your giotto. ico to the application folder (you may want to install the icon only when the desktopicon task is selected). In [Icons] section, you create the desktop icon using the installed giotto. ico (when the desktopicon task is selected).
There's a lot of ways to interpret the answer to the "just me" vs. "all users" question. Just a few aspects off the top of my head:
The most common approach appears to be to simply control whether shortcuts (start menu, desktop, quicklaunch) are placed in the current user's profile or in the "All users" profile (which I personally find rather silly - what if I want more than one user - but not all - to use the app?).
Is the app itself installed into the user profile (Google Chrome-style) or to {programfiles}
?
Are settings stored in the current user's profile or the All Users profile? Or maybe even directly inside the program folder (don't!)?
If you want to know how to create a wizard page with radio buttons to control this, check the section on using Custom Wizard pages in the InnoSetup help file. Look for the CreateInputOptionPage
function and then use the returned TInputOptionWizardPage
's Add
method to add the radio buttons.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With