diff --git a/WpkgInstaller/WpkgInstaller.cs b/WpkgInstaller/WpkgInstaller.cs index 05a73c5b690c8cb4f478392352984b4ef9958de7..dcf38650256bc4a4495afd62fd0b294bfcf73962 100755 --- a/WpkgInstaller/WpkgInstaller.cs +++ b/WpkgInstaller/WpkgInstaller.cs @@ -60,7 +60,7 @@ namespace WpkgInstaller dwWaitHint = 100000 }; SetServiceStatus(ServiceHandle, ref serviceStatus); - + RunWpkgSync(); serviceStatus.dwCurrentState = ServiceState.SERVICE_RUNNING; SetServiceStatus(ServiceHandle, ref serviceStatus); diff --git a/WpkgInstaller/WpkgInstaller.csproj b/WpkgInstaller/WpkgInstaller.csproj index dbfefd7ef82152c7d23c092ea43b6178b31afbc3..e5ac14161f0dd18312a7d666ff080012b27d11a7 100755 --- a/WpkgInstaller/WpkgInstaller.csproj +++ b/WpkgInstaller/WpkgInstaller.csproj @@ -32,6 +32,28 @@ <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"> + <DebugSymbols>true</DebugSymbols> + <OutputPath>bin\x64\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <DebugType>full</DebugType> + <PlatformTarget>x64</PlatformTarget> + <LangVersion>7.3</LangVersion> + <ErrorReport>prompt</ErrorReport> + <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> + <Prefer32Bit>true</Prefer32Bit> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"> + <OutputPath>bin\x64\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <Optimize>true</Optimize> + <DebugType>pdbonly</DebugType> + <PlatformTarget>x64</PlatformTarget> + <LangVersion>7.3</LangVersion> + <ErrorReport>prompt</ErrorReport> + <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> + <Prefer32Bit>true</Prefer32Bit> + </PropertyGroup> <ItemGroup> <Reference Include="System" /> <Reference Include="System.Configuration.Install" /> diff --git a/WpkgNotifier.sln b/WpkgNotifier.sln index 7fd60767d8ed07ff3110ec15704b9740fb8f19b5..7ad6ac371dbdddba9f022d2e5939c00fa77b7344 100755 --- a/WpkgNotifier.sln +++ b/WpkgNotifier.sln @@ -8,13 +8,19 @@ EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 Release|Any CPU = Release|Any CPU + Release|x64 = Release|x64 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {16D87187-0A41-4790-B0C4-464BBC953D48}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {16D87187-0A41-4790-B0C4-464BBC953D48}.Debug|Any CPU.Build.0 = Debug|Any CPU + {16D87187-0A41-4790-B0C4-464BBC953D48}.Debug|x64.ActiveCfg = Debug|x64 + {16D87187-0A41-4790-B0C4-464BBC953D48}.Debug|x64.Build.0 = Debug|x64 {16D87187-0A41-4790-B0C4-464BBC953D48}.Release|Any CPU.ActiveCfg = Release|Any CPU {16D87187-0A41-4790-B0C4-464BBC953D48}.Release|Any CPU.Build.0 = Release|Any CPU + {16D87187-0A41-4790-B0C4-464BBC953D48}.Release|x64.ActiveCfg = Release|x64 + {16D87187-0A41-4790-B0C4-464BBC953D48}.Release|x64.Build.0 = Release|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE