source: 2015/24/EemeliK/publish.htm @ 7114

Revision 7114, 9.0 KB checked in by otjojunt, 4 years ago (diff)
Line 
1<HTML>
2  <HEAD>
3    <TITLE>Tuplapotti</TITLE>
4    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8" />
5    <STYLE TYPE="text/css">
6<!--
7BODY{margin-top:20px; margin-left:20px; margin-right:20px; color:#000000; font-family:Tahoma; background-color:white}
8A:link {font-weight:normal; color:#000066; text-decoration:none}
9A:visited {font-weight:normal; color:#000066; text-decoration:none}
10A:active {font-weight:normal; text-decoration:none}
11A:hover {font-weight:normal; color:#FF6600; text-decoration:none}
12P {margin-top:0px; margin-bottom:12px; color:#000000; font-family:Tahoma}
13PRE {border-right:#f0f0e0 1px solid; padding-right:5px; border-top:#f0f0e0 1px solid; margin-top:-5px; padding-left:5px; font-size:x-small; padding-bottom:5px; border-left:#f0f0e0 1px solid; padding-top:5px; border-bottom:#f0f0e0 1px solid; font-family:Courier New; background-color:#e5e5cc}
14TD {font-size:12px; color:#000000; font-family:Tahoma}
15H2 {border-top: #003366 1px solid; margin-top:25px; font-weight:bold; font-size:1.5em; margin-bottom:10px; margin-left:-15px; color:#003366}
16H3 {margin-top:10px; font-size: 1.1em; margin-bottom: 10px; margin-left: -15px; color: #000000}
17UL {margin-top:10px; margin-left:20px}
18OL {margin-top:10px; margin-left:20px}
19LI {margin-top:10px; color: #000000}
20FONT.value {font-weight:bold; color:darkblue}
21FONT.key {font-weight: bold; color: darkgreen}
22.divTag {border:1px; border-style:solid; background-color:#FFFFFF; text-decoration:none; height:auto; width:auto; background-color:#cecece}
23.BannerColumn {background-color:#000000}
24.Banner {border:0; padding:0; height:8px; margin-top:0px; color:#ffffff; filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=1,StartColorStr='#1c5280',EndColorStr='#FFFFFF');}
25.BannerTextCompany {font:bold; font-size:18pt; color:#cecece; font-family:Tahoma; height:0px; margin-top:0; margin-left:8px; margin-bottom:0; padding:0px; white-space:nowrap; filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=2,OffY=2,Color='black',Positive='true');}
26.BannerTextApplication {font:bold; font-size:18pt; font-family:Tahoma; height:0px; margin-top:0; margin-left:8px; margin-bottom:0; padding:0px; white-space:nowrap; filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=2,OffY=2,Color='black',Positive='true');}
27.BannerText {font:bold; font-size:18pt; font-family:Tahoma; height:0px; margin-top:0; margin-left:8px; margin-bottom:0; padding:0px; filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=2,OffY=2,Color='black',Positive='true');}
28.BannerSubhead {border:0; padding:0; height:16px; margin-top:0px; margin-left:10px; color:#ffffff; filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=1,StartColorStr='#4B3E1A',EndColorStr='#FFFFFF');}
29.BannerSubheadText {font:bold; height:11px; font-size:11px; font-family:Tahoma; margin-top:1; margin-left:10; filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=2,OffY=2,Color='black',Positive='true');}
30.FooterRule {border:0; padding:0; height:1px; margin:0px; color:#ffffff; filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=1,StartColorStr='#4B3E1A',EndColorStr='#FFFFFF');}
31.FooterText {font-size:11px; font-weight:normal; text-decoration:none; font-family:Tahoma; margin-top:10; margin-left:0px; margin-bottom:2; padding:0px; color:#999999; white-space:nowrap}
32.FooterText A:link {font-weight:normal; color:#999999; text-decoration:underline}
33.FooterText A:visited {font-weight:normal; color:#999999; text-decoration:underline}
34.FooterText A:active {font-weight:normal; color:#999999; text-decoration:underline}
35.FooterText A:hover {font-weight:normal; color:#FF6600; text-decoration:underline}
36.ClickOnceInfoText {font-size:11px; font-weight:normal; text-decoration:none; font-family:Tahoma; margin-top:0; margin-right:2px; margin-bottom:0; padding:0px; color:#000000}
37.InstallTextStyle {font:bold; font-size:14pt; font-family:Tahoma; a:#FF0000; text-decoration:None}
38.DetailsStyle {margin-left:30px}
39.ItemStyle {margin-left:-15px; font-weight:bold}
40.StartColorStr {background-color:#4B3E1A}
41.JustThisApp A:link {font-weight:normal; color:#000066; text-decoration:underline}
42.JustThisApp A:visited {font-weight:normal; color:#000066; text-decoration:underline}
43.JustThisApp A:active {font-weight:normal; text-decoration:underline}
44.JustThisApp A:hover {font-weight:normal; color:#FF6600; text-decoration:underline}
45-->
46
47</STYLE>
48
49<SCRIPT LANGUAGE="JavaScript">
50<!--
51runtimeVersion = "4.5.2";
52checkClient = false;
53directLink = "Tuplapotti.application";
54
55
56function Initialize()
57{
58  if (HasRuntimeVersion(runtimeVersion, false) || (checkClient && HasRuntimeVersion(runtimeVersion, checkClient)))
59  {
60    InstallButton.href = directLink;
61    BootstrapperSection.style.display = "none";
62  }
63}
64function HasRuntimeVersion(v, c)
65{
66  var va = GetVersion(v);
67  var i;
68  var a = navigator.userAgent.match(/\.NET CLR [0-9.]+/g);
69  if(va[0]==4)
70    a = navigator.userAgent.match(/\.NET[0-9.]+E/g);
71  if (c)
72  {
73    a = navigator.userAgent.match(/\.NET Client [0-9.]+/g);
74    if (va[0]==4)
75       a = navigator.userAgent.match(/\.NET[0-9.]+C/g);
76  }
77  if (a != null)
78    for (i = 0; i < a.length; ++i)
79      if (CompareVersions(va, GetVersion(a[i])) <= 0)
80                                return true;
81  return false;
82}
83function GetVersion(v)
84{
85  var a = v.match(/([0-9]+)\.([0-9]+)\.([0-9]+)/i);
86  if(a==null)
87     a = v.match(/([0-9]+)\.([0-9]+)/i);
88  return a.slice(1);
89}
90function CompareVersions(v1, v2)
91{
92   if(v1.length>v2.length)
93   {
94      v2[v2.length]=0;
95   } 
96   else if(v1.length<v2.length)
97   {
98      v1[v1.length]=0;
99   }
100
101  for (i = 0; i < v1.length; ++i)
102  {
103    var n1 = new Number(v1[i]);
104    var n2 = new Number(v2[i]);
105    if (n1 < n2)
106      return -1;
107    if (n1 > n2)
108      return 1;
109  }
110  return 0;
111}
112
113-->
114</SCRIPT>
115
116</HEAD>
117  <BODY ONLOAD="Initialize()">
118    <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="2" BORDER="0">
119
120<!-- Begin Banner -->
121<TR><TD><TABLE CELLPADDING="2" CELLSPACING="0" BORDER="0" BGCOLOR="#cecece" WIDTH="100%"><TR><TD><TABLE BGCOLOR="#1c5280" WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR><TD CLASS="Banner" /></TR><TR><TD CLASS="Banner"><SPAN CLASS="BannerTextCompany">University of Jyvaskyla</SPAN></TD></TR><TR><TD CLASS="Banner"><SPAN CLASS="BannerTextApplication">Tuplapotti</SPAN></TD></TR><TR><TD CLASS="Banner" ALIGN="RIGHT" /></TR></TABLE></TD></TR></TABLE></TD></TR>
122<!-- End Banner -->
123
124
125<!-- Begin Dialog -->
126<TR><TD ALIGN="LEFT"><TABLE CELLPADDING="2" CELLSPACING="0" BORDER="0" WIDTH="540"><TR><TD WIDTH="496">
127
128<!-- Begin AppInfo -->
129<TABLE><TR><TD COLSPAN="3">&nbsp;</TD></TR><TR><TD><B>Name:</B></TD><TD WIDTH="5"><SPACER TYPE="block" WIDTH="10" /></TD><TD>Tuplapotti</TD></TR><TR><TD COLSPAN="3">&nbsp;</TD></TR><TR><TD><B>Version:</B></TD><TD WIDTH="5"><SPACER TYPE="block" WIDTH="10" /></TD><TD>1.0.0.0</TD></TR><TR><TD COLSPAN="3">&nbsp;</TD></TR><TR><TD><B>Publisher:</B></TD><TD WIDTH="5"><SPACER TYPE="block" WIDTH="10" /></TD><TD>University of Jyvaskyla</TD></TR><tr><td colspan="3">&nbsp;</td></tr></TABLE>
130<!-- End AppInfo -->
131
132
133<!-- Begin Prerequisites -->
134<TABLE ID="BootstrapperSection" BORDER="0"><TR><TD COLSPAN="2">The following prerequisites are required:</TD></TR><TR><TD WIDTH="10">&nbsp;</TD><TD><UL>
135<LI>Microsoft .NET Framework 4.5.2 (x86 and x64)</LI>
136</UL></TD></TR><TR><TD COLSPAN="2">
137If these components are already installed, you can <SPAN CLASS="JustThisApp"><A HREF="Tuplapotti.application">launch</A></SPAN> the application now. Otherwise, click the button below to install the prerequisites and run the application.
138</TD></TR><TR><TD COLSPAN="2">&nbsp;</TD></TR></TABLE>
139<!-- End Prerequisites -->
140
141
142</TD></TR></TABLE>
143<!-- Begin Buttons -->
144<TR><TD ALIGN="LEFT"><TABLE CELLPADDING="2" CELLSPACING="0" BORDER="0" WIDTH="540" STYLE="cursor:hand" ONCLICK="window.navigate(InstallButton.href)"><TR><TD ALIGN="LEFT"><TABLE CELLPADDING="1" BGCOLOR="#333333" CELLSPACING="0" BORDER="0"><TR><TD><TABLE CELLPADDING="1" BGCOLOR="#cecece" CELLSPACING="0" BORDER="0"><TR><TD><TABLE CELLPADDING="1" BGCOLOR="#efefef" CELLSPACING="0" BORDER="0"><TR><TD WIDTH="20"><SPACER TYPE="block" WIDTH="20" HEIGHT="1" /></TD><TD><A ID="InstallButton" HREF="setup.exe">Install</A></TD><TD width="20"><SPACER TYPE="block" WIDTH="20" HEIGHT="1" /></TD></TR></TABLE></TD></TR></TABLE></TD></TR></TABLE></TD><TD WIDTH="15%" ALIGN="right" /></TR></TABLE></TD></TR>
145<!-- End Buttons -->
146</TD></TR>
147<!-- End Dialog -->
148
149
150
151<!-- Spacer Row -->
152<TR><TD>&nbsp;</TD></TR>
153
154<TR><TD>
155<!-- Begin Footer -->
156<TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0" BGCOLOR="#ffffff"><TR><TD HEIGHT="5"><SPACER TYPE="block" HEIGHT="5" /></TD></TR><TR><TD CLASS="FooterText" ALIGN="center"><A HREF="http://go.microsoft.com/fwlink/?LinkId=154571">ClickOnce and .NET Framework Resources</A>
157</TD></TR><TR><TD HEIGHT="5"><SPACER TYPE="block" HEIGHT="5" /></TD></TR><TR><TD HEIGHT="1" bgcolor="#cecece"><SPACER TYPE="block" HEIGHT="1" /></TD></TR></TABLE>
158<!-- End Footer -->
159</TD></TR>
160
161</TABLE>
162  </BODY>
163</HTML>
Note: See TracBrowser for help on using the repository browser.