Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLMC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
21
Issues
21
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VideoLAN
VLMC
Commits
73ac3f9c
Commit
73ac3f9c
authored
Jul 28, 2011
by
Rohit Yadav
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nsis: Give user choice to install frei0r plugins and qt translation in the installer.
parent
13d3d905
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
nsis/installer.nsi
nsis/installer.nsi
+9
-1
No files found.
nsis/installer.nsi
View file @
73ac3f9c
...
@@ -76,7 +76,6 @@ Section "@PROJECT_NAME_SHORT@ (required)"
...
@@ -76,7 +76,6 @@ Section "@PROJECT_NAME_SHORT@ (required)"
File "@CMAKE_SOURCE_DIR@/TRANSLATORS"
File "@CMAKE_SOURCE_DIR@/TRANSLATORS"
File "@CMAKE_SOURCE_DIR@/NEWS"
File "@CMAKE_SOURCE_DIR@/NEWS"
File /r "plugins"
File /r "plugins"
File /r "effects"
; Write the installation path into the registry
; Write the installation path into the registry
WriteRegStr HKLM "Software\@PROJECT_NAME_SHORT@" "Install_Dir" "$INSTDIR"
WriteRegStr HKLM "Software\@PROJECT_NAME_SHORT@" "Install_Dir" "$INSTDIR"
...
@@ -97,6 +96,13 @@ Section "@PROJECT_NAME_SHORT@ (required)"
...
@@ -97,6 +96,13 @@ Section "@PROJECT_NAME_SHORT@ (required)"
SectionEnd
SectionEnd
Section "Frei0r effects & Qt translations"
; Set output path to the installation directory.
SetOutPath $INSTDIR
File /r "effects"
File /r "ts"
SectionEnd
Section "Start Menu Shortcuts"
Section "Start Menu Shortcuts"
CreateDirectory "$SMPROGRAMS\@PROJECT_NAME_LONG@"
CreateDirectory "$SMPROGRAMS\@PROJECT_NAME_LONG@"
...
@@ -140,8 +146,10 @@ Section "Uninstall"
...
@@ -140,8 +146,10 @@ Section "Uninstall"
Delete "$INSTDIR\NEWS"
Delete "$INSTDIR\NEWS"
Delete "$INSTDIR\plugins\*.*"
Delete "$INSTDIR\plugins\*.*"
Delete "$INSTDIR\effects\*.*"
Delete "$INSTDIR\effects\*.*"
Delete "$INSTDIR\ts\*.*"
RMDir "$INSTDIR\plugins"
RMDir "$INSTDIR\plugins"
RMDir "$INSTDIR\effects"
RMDir "$INSTDIR\effects"
RMDir "$INSTDIR\ts"
; Remove shortcuts, if any
; Remove shortcuts, if any
Delete "$SMPROGRAMS\@PROJECT_NAME_LONG@\*.*"
Delete "$SMPROGRAMS\@PROJECT_NAME_LONG@\*.*"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment