-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Leave dokan running during update if it's not changing
- Loading branch information
Steve Sanders
committed
Jan 29, 2016
1 parent
b11c8c4
commit 00ed29c
Showing
4 changed files
with
77 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,12 @@ echo %BUILDVER% | |
for /f "tokens=3" %%i in ('%1 -version') do set SEMVER=%%i | ||
echo %SEMVER% | ||
|
||
for /f %%i in ('PowerShell "(Get-Item %Folder%..\..\..\..\dokan-dev\dokany\Win32\Win10Release\dokan.sys).VersionInfo.FileVersion"') do set DOKANVER=%%i | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
zanderz
Contributor
|
||
echo %DOKANVER% | ||
IF %DOKANVER%=="" ( | ||
EXIT /B 1 | ||
) | ||
|
||
:: Other alternate time servers: | ||
:: http://timestamp.verisign.com/scripts/timstamp.dll | ||
:: http://timestamp.globalsign.com/scripts/timestamp.dll | ||
|
@@ -31,7 +37,7 @@ SignTool.exe sign /a /tr http://timestamp.digicert.com %Folder%..\..\desktop\rel | |
IF %ERRORLEVEL% NEQ 0 ( | ||
EXIT /B 1 | ||
) | ||
"%ProgramFiles(x86)%\Inno Setup 5\iscc.exe" /DMyExePathName=%1 /DMyAppVersion=%BUILDVER% /DMySemVersion=%SEMVER% "/sSignCommand=signtool.exe sign /tr http://timestamp.digicert.com $f" setup_windows_gui.iss | ||
"%ProgramFiles(x86)%\Inno Setup 5\iscc.exe" /DMyExePathName=%1 /DMyAppVersion=%BUILDVER% /DMySemVersion=%SEMVER% /DNewDokanVersion=%DOKANVER% "/sSignCommand=signtool.exe sign /tr http://timestamp.digicert.com $f" setup_windows_gui.iss | ||
|
||
:: Afterwards, do: | ||
:: powershell Get-FileHash -Algorithm sha256 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Is the
\Win10Release
correct here? Or does the correct version vary depending on the Windows version running on the install machine?