Hi,
I have prepared some templates under my own user.
Now I'd like to create an installer (InnoSetup) which installs these templates on the target machines of
my students. Since I have no experience with InnoSetup and only very little experience with Windows (I'm a Linux fan),
I'm in need for some help.
Many thanks,
Helmut.
[offtopic] help on installation of templates
-
- CodeLite Veteran
- Posts: 98
- Joined: Thu Feb 18, 2010 10:54 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: [offtopic] help on installation of templates
For Windows, you can use this InnoSetup script (edit it to fit your needs):
For Linux, prepare a .deb or rpm file (you will need to google for how its done) - you can assist codelite scripts' make_deb.sh for this purpose
Eran
Code: Select all
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
[Setup]
AppName=CodeLite
AppVerName=CodeLite
AppPublisherURL=http://codelite.sourceforge.net
AppSupportURL=http://codelite.sourceforge.net
AppUpdatesURL=http://codelite.sourceforge.net
DefaultDirName={pf}\CodeLite
DefaultGroupName=CodeLite
OutputDir=output
OutputBaseFilename=codelite
ChangesEnvironment=yes
FlatComponentsList=yes
Compression=lzma/ultra
SolidCompression=true
InternalCompressLevel=ultra
[Languages]
Name: "eng"; MessagesFile: "compiler:Default.isl"
[Components]
Name: "CodeliteTemplates"; Description: "codelite template files"; Types: full compact custom; Flags: fixed
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "\path\to\tempplate\*"; DestDir: "{pf}\CodeLite\templates\projects"; Flags: ignoreversion; Components: CodeliteTemplates
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Veteran
- Posts: 98
- Joined: Thu Feb 18, 2010 10:54 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: [offtopic] help on installation of templates
Many thanks!
Linux is easy - Windows is hard (unless it works out of the box)
Helmut.
Linux is easy - Windows is hard (unless it works out of the box)
Helmut.