Deploying Secure Update Wizard (Windows Only)
Sentinel Hardware Keys Developer’s Guide
205
For API-protected Applications
For API-protected applications, you need to call the UpdateWizard API func-
tion on the application startup. You also need to install the following files at
the location where the application executables resides:
■
UpdateWizard.exe
: The Secure Update Wizard executable.
■
.cab
: The compressed file for the template.
■
UPWITF.dll
: A DLL that exports the UpdateWizard API. You can
obtain its copy from the following location in your Sentinel Keys SDK
installation:
<installdir>\Secure Update\Update Wizard\INTF
.
UpdateWizard API Function
Format
unsigned short UpdateWizard (SPP_UPDATE_WIZARD_INFO p_UpdInfo);
Parameter
Return Values
If successful, the function returns SP_SUCCESS. If an error occurs, the func-
tion returns one of the following error codes:
Name
Direction
Type
Description
p_UpdInfo
IN
SPP_UPDATE_WIZARD_INFO
Contains the Update
Wizard configuration.
Points to the
SPP_UPDATE_WIZARD
_INFO structure.
Error Code
(Decimal)
Description
0
SP_SUCCESS
Success.
501
SP_ERR_KEY_NOT_FOUND
The Valid hardware key not found. The Update Code is not meant for this key.
Содержание Sentinel
Страница 1: ...1 2 0...
Страница 6: ...vi Sentinel Hardware Keys Developer s Guide...
Страница 12: ...Contents xii Sentinel Hardware Keys Developer s Guide...
Страница 20: ......
Страница 58: ...Chapter 2 Sentinel Keys SDK Components 40 Sentinel Hardware Keys Developer s Guide...
Страница 80: ...Chapter 3 Planning Application Protection and Licensing Strategy 62 Sentinel Hardware Keys Developer s Guide...
Страница 82: ......
Страница 108: ...Chapter 4 Protecting Applications Using Shell 90 Sentinel Hardware Keys Developer s Guide...
Страница 180: ......
Страница 196: ...Chapter 8 License Grouping 178 Sentinel Hardware Keys Developer s Guide...
Страница 212: ...Chapter 9 Programming Sentinel Hardware Keys 194 Sentinel Hardware Keys Developer s Guide...
Страница 214: ......
Страница 236: ...Chapter 10 Redistributables for Customers and Distributors 218 Sentinel Hardware Keys Developer s Guide...
Страница 252: ...Appendix A Troubleshooting 234 Sentinel Hardware Keys Developer s Guide...
Страница 282: ...Index 264 Sentinel Hardware Keys Developer s Guide...