FAQ
| This is a
LIVE
service |
Changelog
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
ucam_wpkg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Yusuf Hamied Department of Chemistry
COs
ucam_wpkg
Commits
d357be51
Commit
d357be51
authored
5 years ago
by
Dr Adam Thorn
Browse files
Options
Downloads
Patches
Plain Diff
origin: check if installer iss answer file exists
parent
788a5ecc
No related branches found
Branches containing commit
No related tags found
1 merge request
!7
Origin2020
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/origin.xml
+11
-1
11 additions, 1 deletion
packages/origin.xml
with
11 additions
and
1 deletion
packages/origin.xml
+
11
−
1
View file @
d357be51
...
@@ -6,11 +6,21 @@
...
@@ -6,11 +6,21 @@
<variable
name=
"version"
value=
"9.7"
/>
<variable
name=
"version"
value=
"9.7"
/>
<variable
name=
"short_vers"
value=
"97"
/>
<variable
name=
"short_vers"
value=
"97"
/>
<variable
name=
"origin_install_iss"
value=
"%WPKGINSTITUTION%-config\origin\%year%\install.iss"
/>
<check
type=
"uninstall"
condition=
"exists"
path=
"Origin %year%"
/>
<check
type=
"uninstall"
condition=
"exists"
path=
"Origin %year%"
/>
<install
cmd=
'cmd /c "echo %origin_install_iss% not found & exit 1" '
>
<condition>
<check
type=
"logical"
condition=
"not"
>
<check
type=
"file"
condition=
"exists"
path=
"%origin_install_iss%"
/>
</check>
</condition>
</install>
<!-- N.B. the setup.iss is in %WPKGINSTITUTION%-config because it has serial numbers, licensing info etc.
<!-- N.B. the setup.iss is in %WPKGINSTITUTION%-config because it has serial numbers, licensing info etc.
But we keep uninstall.iss in the commonual %WPKGSOFTWARE% because it effectively just says "delete everything" -->
But we keep uninstall.iss in the commonual %WPKGSOFTWARE% because it effectively just says "delete everything" -->
<install
cmd=
'%WPKGSOFTWARE%\origin\%year%\setup.exe /s /f1
%WPKGINSTITUTION%-config\origin\%year%\
install
.
iss /f2"%WPKGLOGDIR%\origin%short_vers%_install.log"'
/>
<install
cmd=
'%WPKGSOFTWARE%\origin\%year%\setup.exe /s /f1
"%origin_
install
_
iss
%"
/f2"%WPKGLOGDIR%\origin%short_vers%_install.log"'
/>
<install
cmd=
'cmd /c mkdir "%allusersprofile%\originlab\%short_vers%\license\"'
><exit
code=
"1"
/></install>
<install
cmd=
'cmd /c mkdir "%allusersprofile%\originlab\%short_vers%\license\"'
><exit
code=
"1"
/></install>
<install
cmd=
'cmd /c copy /y "%WPKGINSTITUTION%-config\origin\use_server.lic" "%allusersprofile%\originlab\%short_vers%\license\" '
/>
<install
cmd=
'cmd /c copy /y "%WPKGINSTITUTION%-config\origin\use_server.lic" "%allusersprofile%\originlab\%short_vers%\license\" '
/>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment