Is it possible to create a folder under Windows Explorer "Libraries" ussing Inno setup installer? - inno-setup

I am using Inno installer and I would like to create a custom library that will appear as a folder under the Windows "Libraries" folder in Windows Explorer.
Can I do this using Inno installer and if so, how?

Related

Inno Setup: How to uninstall app when I click installer after same version app been installed?

I already read this thread, but it doesn't fit my need. I have a installer built by Inno Setup. When the app been installed, the user wants to "Right Click" on the installer and choose "Uninstall" to uninstall the app. Is that possible?

Installshield Include redistributable with program setup exe

Just got InstallShield Pro and I've created my setup singleimage executable.
I need to include the Visual C++ 2005 SP1 redistributable within the setup.
I've ticked the redistributable I want in the menu under 'Application Data'.
I've right clicked it and changed the 'Build Location' to 'extract from setup.exe'.
However, when I build my setup, it has a folder called 'ISSetupPrerequisites' which has the VC++ redistributable in it.
Is there anyway I can incorporate this in to a single exe with my installer?
If I remove that folder it downloads the redistributable from the internet.
Thanks
Yes. You can include the contents of the ISSetupPrerequisites folder inside the exe by changing their location in the setup.exe tab of the Releases view. You can change this on a .prq by .prq basis by right clicking a prerequisite in the Redistributables view and selecting a location there.
The 'Prerequisite' section of an InstallShield project includes modules which are external to the installation itself.
What you need to do is use the 'Merge Modules' feature (under Application Data => Objects) and select the relevant ones to include by your installer.
Another option is to manually add the redistributable exe in your Support dir, and call it during installation using InstallScript, like this:
LaunchAppAndWait("cmd","/c start /wait \"" + SUPPORTDIR ^ "vcredist.exe" +
"\" /q /norestart",LAAW_OPTION_WAIT | LAAW_OPTION_SHOW_HOURGLASS);
Note that if you're going to use this method in an InstallScript MSI project, you must call it during OnFirstUIBefore() or OnFirstUIAfter(), otherwise you will get an error regarding nested MSI installations.
I added a post build custom action aver the setup dialog success. Added vcredist_x86.exe to the install. And put /install as the command line - which is the only command line option that worked for me.
If I did it any other way the redist error-ed because two installs were going on.
In the View List under Media, click Releases.
Select the specific release.
Go to the Setup.exe tab.
For the InstallShield Prerequisites Location setting, select Extract From Setup.exe.

Visual Studio - InstallShield setup in a project with System.Data.SQLite

I have a C# class library that references System.Data.SQLite (from nuget). This is the structure of my bin folder after build:
MyProject.dll
System.Data.SQLite.dll
x86/SQLite.Interop.dll
x64/SQLite.Interop.dll
System.Data.SQLite needs the SQLite.Interop to run and the correct dll is found at run time. However, when I generate a setup with InstallShield that includes the project primary output, the x86 and x64 folders are not copied and my application fails to run.
There is any way to force Visual Studio to include x86 and x64 folders in the primary output?
There is any way to include the folders manually in the InstallShield with relative path?
My environment:
Visual Studio 2012 Professional
Install Shield 2013 Limited Edition (Free)
System.Data.SQLite 1.0.96
Yes, there is a way to add/deploy folders through InstallShield. Under the Files tabs you can add the files/folder. While adding these files you can set relative path as well in this. Just set a property with the path and use that property in your relative path. So where do want to copy these files (reference locations for DLL), you can add that folder structure through InstallShield and you can add files in that.
I just ran across the same problem using VS2013 / Installshield LE; I ended up opting for changing the NuGet package on my machine to NOT create the x86 folder for the SQLite.interop.dll under the build folder.
To do that, look in the "packages\System.Data.SQLite.Core.1.0.104.0\build" folder under your project directory. Then pick the subfolder pertinent to the version of .NET you're targeting, and open the "System.Data.SQLite.Core.targets" file in a text editor. You'll want to delete all references to "%(RecursiveDir)" EXCEPT in the "SQLite Interop Library Content Items" section. Save, clean, and rebuild - the interop dll should now be in the same folder as the main executable/etc, and Installshield should be able to automatically include it as a dependency.
If it doesn't show up in the right place, try editing a different .NET version's .target file until you hit the right one.

create Uninstaller with Installshield

I have created an installer with installshield and it is work. but I don't uninstall it.
How I can create an uninstaller for my project?
The uninstallation is created automatically, and you should be able to uninstall from windows control panel.
However, many apps need special handlers or code written in the installer to handle uninstallation. This is specific to your installer.

C# Window setup project

I am working on window setup and deployment project in .Net VS 2010.I have created a setup file.When we install setup build in .net a step comes where user is asked to select installation folder i.e. Installation Folder step.This step has default banner text "Select Installation Folder".Also browse text box has default header text "Folder".
Is it possible to change these default text?If so please suggest.
Please note that I have to change only these text mentioned above not the default path or location.
Abhinav
If you rightclick your installation project in VS2010 under the option "View" you can select the user interface. A new tab wil open with al the UI windows on it, you can change the text there.

Resources