small change
This commit is contained in:
parent
d860d438be
commit
16d5a2d16e
4 changed files with 4 additions and 7 deletions
|
|
@ -3,7 +3,7 @@
|
|||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
|
||||
<?define eDosStation_TargetDir=$(var.eDosStation.TargetDir)?>
|
||||
<?define syncEdosLocal_TargetDir=$(var.syncEdosLocal.TargetDir)?>
|
||||
<Product Id="*" Name="eDosStation" Language="1033" Version="2.3.0.0" Manufacturer="SCK CEN Luc Vandenbroucke" UpgradeCode="24e037ca-edbb-49d5-85d4-3a93dd7d10d8">
|
||||
<Product Id="*" Name="eDosStation" Language="1033" Version="2.4.0.0" Manufacturer="SCK CEN Luc Vandenbroucke" UpgradeCode="24e037ca-edbb-49d5-85d4-3a93dd7d10d8">
|
||||
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" Comments="EPD lees software en synchronisatie tussen local en remote database" InstallPrivileges="elevated" Platform="x86" Description="eDosStation 1.6.1" />
|
||||
<Media Id="1" EmbedCab="yes" Cabinet="cab" />
|
||||
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@ namespace eDosStation
|
|||
try
|
||||
{
|
||||
if (localConnection == null || string.IsNullOrEmpty(localConnection.ConnectionString)) localConnection = new SqlConnection(currentConStr);
|
||||
|
||||
localConnection.Open();
|
||||
rv = true;
|
||||
}
|
||||
|
|
@ -325,7 +324,6 @@ namespace eDosStation
|
|||
|
||||
//if (!string.IsNullOrWhiteSpace(Code)) cmd.Parameters.AddWithValue("Badge", Code);
|
||||
checkCon(true);
|
||||
cmd.Connection = localConnection;
|
||||
var rs = cmd.ExecuteReader(System.Data.CommandBehavior.SingleRow);
|
||||
if (rs.HasRows && rs.Read())
|
||||
{
|
||||
|
|
|
|||
|
|
@ -435,8 +435,7 @@ namespace eDosStation
|
|||
{
|
||||
dispatcherTimer.Stop();
|
||||
dispatcherTimer.Tick -= SwitchToTask;
|
||||
if (_User.AllOk == true)
|
||||
AskTask();
|
||||
if (_User.AllOk == true) Dispatcher.InvokeAsync(AskTask, DispatcherPriority.Background);
|
||||
else Close();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -51,5 +51,5 @@ using System.Windows;
|
|||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("2.3.0.0")]
|
||||
[assembly: AssemblyFileVersion("2.3.0.0")]
|
||||
[assembly: AssemblyVersion("2.4.0.0")]
|
||||
[assembly: AssemblyFileVersion("2.4.0.0")]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue