Commit graph

339 commits

Author SHA1 Message Date
Stephen Birarda
0e4fb51d09 force cleanup section to be first 2016-08-29 13:13:35 -07:00
Stephen Birarda
c4ec02c4bf add removal of resources folder during install process 2016-08-29 13:13:35 -07:00
Marko Kudjerski
17ce80ed69 sign executables with SHA256 2016-06-24 19:28:31 -07:00
Ryan Huffman
37469f16c8 Fix string interpolation in installer 2016-04-18 10:31:12 -07:00
Ryan Huffman
a4b7e54e4d Update installer to use variables for display names 2016-04-18 10:16:06 -07:00
Ryan Huffman
f72a760151 Fix application names in installer prompt 2016-04-18 09:54:39 -07:00
Stephen Birarda
f29647b519 use HF shortcuts for setup options 2016-03-30 13:56:57 -07:00
Stephen Birarda
0a8072164d be less redundant in prompt for running applications 2016-03-30 13:44:16 -07:00
Stephen Birarda
8be3931bbf repair shortcut name for desktop interface 2016-03-30 13:20:31 -07:00
Stephen Birarda
02d93e2a11 cleanup fixes for old shortcuts in NSIS script 2016-03-30 13:09:36 -07:00
Stephen Birarda
bd3d08db3b prepend Interface with High Fidelity in setup options 2016-03-30 13:00:23 -07:00
Stephen Birarda
a200e56f92 remove old startup menu item for Server Console 2016-03-30 12:52:11 -07:00
Stephen Birarda
05163367e1 delete old start menu items from before rename 2016-03-30 12:49:55 -07:00
Stephen Birarda
4940639e11 clear old desktop shortcuts from before rename 2016-03-30 12:48:11 -07:00
Stephen Birarda
2d1c4243f5 prepend desktop shortcuts with High Fidelity 2016-03-30 12:47:18 -07:00
Stephen Birarda
2ea0309955 change setup options and prompts to close running applications 2016-03-30 12:08:56 -07:00
Stephen Birarda
0c45ed038c attempt rename to change casing of Raleway font 2016-03-09 12:58:23 -08:00
Stephen Birarda
bdc2ac73f6 manually remove Raleway font that has incorrect casing 2016-03-09 12:30:09 -08:00
Stephen Birarda
9f377a5ad5 separate reading of post install options from handling 2016-02-25 12:53:28 -08:00
Stephen Birarda
c1776e7f55 move button text changes out of onInit 2016-02-25 10:22:42 -08:00
Stephen Birarda
2d0d73116a call handling of post install options once install complete 2016-02-25 10:20:07 -08:00
Stephen Birarda
30b1341dbb change the close button text to finish 2016-02-25 10:15:59 -08:00
Stephen Birarda
c01ba7714c title changes for setup options 2016-02-25 10:11:47 -08:00
Stephen Birarda
a44c34dd0b change buttons in post install options for new placement 2016-02-25 10:02:12 -08:00
Stephen Birarda
2a2760b708 put the post install options before the actual install 2016-02-25 09:43:02 -08:00
Stephen Birarda
0a413904a0 use non PR-specific names for close prompt 2016-01-26 12:09:45 -08:00
Stephen Birarda
6daeefef68 remove the correct startup shortcut during uninstall 2016-01-26 12:08:26 -08:00
Stephen Birarda
4115d52d91 default shortcut options off for PR builds 2016-01-26 11:46:37 -08:00
Stephen Birarda
068de5203c use specific shortcut names for PR builds 2016-01-26 11:40:50 -08:00
Stephen Birarda
79a2b7f213 make sure shell var context is correct for AppData 2016-01-26 11:17:54 -08:00
Stephen Birarda
e4110ea401 install for all users, EXCEPT the startup menu item 2016-01-25 17:22:39 -08:00
Stephen Birarda
f4ece26271 use install dir written to registry as potential default 2016-01-25 16:20:44 -08:00
Stephen Birarda
57f9d82efa remove shortcuts from custom start menu location 2016-01-25 16:13:39 -08:00
Stephen Birarda
c7228ce020 ensure current user context for uninstaller 2016-01-25 15:59:17 -08:00
Stephen Birarda
9d4b529223 remove any old admin desktop/sm shortcuts 2016-01-25 15:57:42 -08:00
Stephen Birarda
eabafa800c clarify application close behaviour 2016-01-25 15:51:47 -08:00
Stephen Birarda
aeb097664e remove InstallOptionsPage from list of pages 2016-01-25 15:38:57 -08:00
Stephen Birarda
150a8d388c allow user to close running exec and continue 2016-01-25 15:37:11 -08:00
Stephen Birarda
aa2d19a611 remove two unused utility functions 2016-01-25 15:32:23 -08:00
Stephen Birarda
f393c5eeda remove CMake templated code for path changes 2016-01-25 15:28:44 -08:00
Stephen Birarda
6934594bb9 always use current context, ignore CPack InstallOptions 2016-01-25 15:20:51 -08:00
Stephen Birarda
83827b6d24 add startup shortcut in current users context 2016-01-25 14:57:39 -08:00
Stephen Birarda
85729ce4b6 fix for double slashes in desktop shortcut and startup shortcut 2016-01-25 11:30:18 -08:00
Stephen Birarda
95f9f7e6d6 remove old installer files while running new install 2016-01-22 16:51:52 -08:00
Stephen Birarda
4e76f3ccc4 use RMDir for removal of old SC dirs 2016-01-22 15:55:58 -08:00
Stephen Birarda
6951f1aed7 tweak server console deletion requirements 2016-01-22 15:55:58 -08:00
Stephen Birarda
921d4dccd7 remove anything previously installed by old server-console 2016-01-22 15:55:58 -08:00
Stephen Birarda
971603bd57 make shortcuts to server-console point to right place 2016-01-22 15:55:58 -08:00
Stephen Birarda
0d47e812c8 fix typo in NSIS variable 2016-01-20 18:20:13 -08:00
Stephen Birarda
6daa34f164 fix component variable in NSIS template 2016-01-20 18:11:22 -08:00
Stephen Birarda
13d6ec0b28 make the post install options read correct 2016-01-20 16:54:31 -08:00
Stephen Birarda
3e013833c8 fix redundant app display name in alert 2016-01-19 13:28:30 -08:00
Stephen Birarda
56f6ef434d remove define of UniqueID 2016-01-19 13:16:55 -08:00
Stephen Birarda
a69b2fabd3 don't prompt to attempt process close 2016-01-19 13:13:43 -08:00
Stephen Birarda
e8525e4886 cleanup messages, clear errors before copy 2016-01-19 09:58:07 -08:00
Stephen Birarda
be6606cefd fix for error check during PR copy 2016-01-19 09:49:13 -08:00
Stephen Birarda
7b1fc8d65c repair call to strcpy for dir variable 2016-01-19 09:45:26 -08:00
Stephen Birarda
04a5dbed7d set shell context to user prior to app data copy 2016-01-19 09:42:00 -08:00
Stephen Birarda
42a6f9daa1 hard code the matching app data path 2016-01-19 09:33:06 -08:00
Stephen Birarda
6ee0258251 add an error message for app data create 2016-01-19 08:57:33 -08:00
Stephen Birarda
d7c5036a42 fix release type check for prod copy 2016-01-18 18:26:15 -08:00
Stephen Birarda
1deaebd544 check the copy box by default 2016-01-18 18:25:02 -08:00
Stephen Birarda
2094a75294 use correct var from packaging properties for copy 2016-01-18 18:18:06 -08:00
Stephen Birarda
5e6910edbb complete copy of production settings to PR 2016-01-18 18:14:48 -08:00
Stephen Birarda
fb5d26b282 add PR_BUILD to shared CPack properties 2016-01-18 18:02:27 -08:00
Stephen Birarda
7c3d8be80f change wording to pr post install option 2016-01-18 17:59:14 -08:00
Stephen Birarda
21a0d7cd4b add checkbox to post install options for PR copy 2016-01-18 17:58:27 -08:00
Stephen Birarda
03f2b5ec64 repair nsProcess unload macro call for uninstaller 2016-01-18 17:12:16 -08:00
Stephen Birarda
31805be6af undefine the UniqueID label helper in macro 2016-01-18 17:06:31 -08:00
Stephen Birarda
84c2387c02 repairs for usage of MessageBox 2016-01-18 17:03:46 -08:00
Stephen Birarda
51c476f521 make message box for closing app multiline 2016-01-18 16:59:28 -08:00
Stephen Birarda
9b20d07886 prompt for closure of running applications 2016-01-18 16:54:09 -08:00
Stephen Birarda
7d8fc6f702 check for running apps during install 2016-01-18 16:26:53 -08:00
Stephen Birarda
96c3adaa19 use nsProcess to check if process is running 2016-01-18 16:17:48 -08:00
Stephen Birarda
e2ee3da9d1 fix comparison for FindProc call 2016-01-18 16:00:37 -08:00
Stephen Birarda
8e9b7bc37b use variable for console display name 2016-01-18 15:56:44 -08:00
Stephen Birarda
c924be57fc use FindProcDLL plug-in to check if running 2016-01-18 15:54:50 -08:00
Stephen Birarda
4fb5a142f7 check during uninstall for running applications 2016-01-18 15:50:44 -08:00
Stephen Birarda
a83c3a3385 write to registry when sections not selected 2016-01-18 15:23:51 -08:00
Stephen Birarda
b7998935b0 install a json file with build info beside console 2016-01-18 14:56:06 -08:00
Stephen Birarda
2311627599 set installer to be DPI aware 2016-01-18 14:20:33 -08:00
Stephen Birarda
81426c05f4 add WinVer header for nsis dpi tests 2016-01-18 12:08:43 -08:00
Stephen Birarda
da1a72ed19 manually set installer/uninstaller dpi aware 2016-01-18 11:59:16 -08:00
Stephen Birarda
66a15e8f82 make the installer DPI aware 2016-01-18 11:49:56 -08:00
Stephen Birarda
6e8b54bc65 remove the branding tag in installer 2016-01-15 15:41:34 -08:00
Stephen Birarda
cf5b6198fd use install command to manually place ssleay library 2016-01-15 15:41:34 -08:00
Stephen Birarda
29b5076da4 set a variable in template to boolean 2016-01-15 15:41:34 -08:00
Stephen Birarda
05e48528bd make sure SSL_EAY_LIBRARY_* is set when used 2016-01-15 15:41:34 -08:00
Stephen Birarda
bb9f7856f4 use cmake generator expression to fixup correct ssleay 2016-01-15 15:41:34 -08:00
Stephen Birarda
e19b61bcbf fixup the only used ssleay library 2016-01-15 15:41:34 -08:00
Stephen Birarda
c1a9a7f4c1 add ssleay copy for win AC/DS/Interface 2016-01-15 15:41:34 -08:00
Stephen Birarda
e474a60971 include InstallOptions for MUI2 2016-01-15 15:41:34 -08:00
Stephen Birarda
ccf459454d fix install options setup for MUI2 2016-01-15 15:41:34 -08:00
Stephen Birarda
34da13c148 test of next version of nsis modern ui 2016-01-15 15:41:34 -08:00
Stephen Birarda
5730772f6b disable install button with neither component selected 2016-01-15 15:41:34 -08:00
Stephen Birarda
0098fe27df don't uninstall a previously installed section from the installer 2016-01-15 15:41:34 -08:00
Stephen Birarda
124e0fb61f remove the add/remove icon during uninstall 2016-01-15 15:41:34 -08:00
Stephen Birarda
95acd2cfc3 drop in add remove icon during core install 2016-01-15 15:41:34 -08:00
Stephen Birarda
9ce0f6a0b1 add a header image for uninstaller 2016-01-15 15:41:34 -08:00
Stephen Birarda
d34c3bdc1c add custom header image for installer 2016-01-15 15:41:34 -08:00
Stephen Birarda
3e9f124209 update packaging parameters for suggested jenkins setup 2016-01-15 15:41:34 -08:00
Stephen Birarda
0b118a8e98 replace ApplicationVersion with BuildInfo 2016-01-15 15:41:34 -08:00
Stephen Birarda
69ceb9fa98 use string comparison for cleaner registry checking 2016-01-15 15:41:34 -08:00
Stephen Birarda
fef0c31fad fix handling of not-present post install options 2016-01-15 15:41:34 -08:00
Stephen Birarda
7a6c37aa2f read checkbox states from registry 2016-01-15 15:41:34 -08:00
Stephen Birarda
3c3ef094bb use macro to write post install options 2016-01-15 15:41:34 -08:00
Stephen Birarda
a1a92cf3a9 change registry location for post install options 2016-01-15 15:41:34 -08:00
Stephen Birarda
8e3f18b628 require append of @CPACK_PACKAGE_INSTALL_REGISTRY_KEY@ to root 2016-01-15 15:41:34 -08:00
Stephen Birarda
a0647756b5 delete the post-install options info from registry on uninstall 2016-01-15 15:41:34 -08:00
Stephen Birarda
a47cf35b32 write post install option choices to registry 2016-01-15 15:41:34 -08:00
Stephen Birarda
f4817032ec make uninstaller name a cmake/cpack variable 2016-01-15 15:41:34 -08:00
Stephen Birarda
2619c351e8 constantize the uninstaller name 2016-01-15 15:41:34 -08:00
Stephen Birarda
24ef51c40b use EXEDIR to check if uninstaller is in temp 2016-01-15 15:41:34 -08:00
Stephen Birarda
24903ad161 add the StrContains macro 2016-01-15 15:41:34 -08:00
Stephen Birarda
c002332f9c copy uninstaller to temp directory for correct naming 2016-01-15 15:41:34 -08:00
Stephen Birarda
4e03a06ff9 set package name prior to uninstaller creation 2016-01-15 15:41:34 -08:00
Stephen Birarda
7f92312d06 reference new elevated uninstaller for file command 2016-01-15 15:41:34 -08:00
Stephen Birarda
e6b106e152 move UAC include outside inner defines 2016-01-15 15:41:34 -08:00
Stephen Birarda
6bccdc81b4 use the UAC plugin to elevate uninstaller 2016-01-15 15:41:34 -08:00
Stephen Birarda
0a0b152f97 attempt to specify user only level for temp installer 2016-01-15 15:41:34 -08:00
Stephen Birarda
265879cacf request admin elevation for uninstaller as well 2016-01-15 15:41:34 -08:00
Stephen Birarda
75a8ab56bc attempt to sign in inner invocation 2016-01-15 15:41:34 -08:00
Stephen Birarda
ed56dd7303 call makensis with RunAsInvoker 2016-01-15 15:41:34 -08:00
Stephen Birarda
9972e2b096 attempt to use RunAsInvoker for inner/outer uninstaller 2016-01-15 15:41:34 -08:00
Stephen Birarda
c064a31b77 use ExecWait so it is performed as admin 2016-01-15 15:41:34 -08:00
Stephen Birarda
c0095e57d9 run elevated prior to running temp installer 2016-01-15 15:41:34 -08:00
Stephen Birarda
e1ebb5ae5d use execute in place of system 2016-01-15 15:41:34 -08:00
Stephen Birarda
fceb916787 request admin prior to system call 2016-01-15 15:41:34 -08:00
Stephen Birarda
d8a0b28655 allow execution of command to use env 2016-01-15 15:41:34 -08:00
Stephen Birarda
35211049a0 fix for env variable referencing for signtool 2016-01-15 15:41:34 -08:00
Stephen Birarda
89e8cd16d3 use quotes in nsis template for signtool path 2016-01-15 15:41:34 -08:00
Stephen Birarda
b9ccef6c2c use string replace to escape signtool path 2016-01-15 15:41:34 -08:00
Stephen Birarda
256347f6ef use direct comparison instead of define check 2016-01-15 15:41:34 -08:00
Stephen Birarda
a17ac026cc use compile time command for conditional signing 2016-01-15 15:41:34 -08:00
Stephen Birarda
f8ca9e64a9 pass the signtool executable to nsis 2016-01-15 15:41:34 -08:00
Stephen Birarda
7f08d77b36 move uninstaller signing to onInit 2016-01-15 15:41:34 -08:00
Stephen Birarda
6b796a26b0 replace name of script for inner invocation 2016-01-15 15:41:34 -08:00
Stephen Birarda
3cc8457a98 only call signtool on uninstaller for production build 2016-01-15 15:41:34 -08:00
Stephen Birarda
d6f50b66d6 add the inner/outer paradigm for signed uninstaller 2016-01-15 15:41:34 -08:00
Stephen Birarda
fec7b77577 leave the disabled cancel button for spacing 2016-01-15 15:41:34 -08:00
Stephen Birarda
ef0d3b11e9 use explicit text for finish button 2016-01-15 15:41:34 -08:00
Stephen Birarda
47dbd9d850 hide back and cancel buttons on finish page 2016-01-15 15:41:34 -08:00
Stephen Birarda
7ce36a69a0 change close button text before nsDialog create 2016-01-15 15:41:34 -08:00
Stephen Birarda
db5935c275 try to change button text at very end 2016-01-15 15:41:34 -08:00
Stephen Birarda
f830c9ce25 launch interface or console post-install if requested 2016-01-15 15:41:34 -08:00
Stephen Birarda
fa71136880 drop post install options label size to 10 2016-01-15 15:41:34 -08:00
Stephen Birarda
fe220ca658 attempted fix for finish button text change 2016-01-15 15:41:34 -08:00
Stephen Birarda
399cc5c4d4 tweak options label font and close button text 2016-01-15 15:41:34 -08:00
Stephen Birarda
8d8c3426d2 delete startup shortcut for server console during uninstall 2016-01-15 15:41:34 -08:00
Stephen Birarda
a5ea0777c2 make the options label bold 2016-01-15 15:41:34 -08:00
Stephen Birarda
98284862f0 explicitly set text for post install dialog button 2016-01-15 15:41:34 -08:00
Stephen Birarda
b1b99479cc add missing SERVER_STARTUP_STATE variable 2016-01-15 15:41:34 -08:00
Stephen Birarda
26933573c2 handle desktop shortcut for console, startup item 2016-01-15 15:41:34 -08:00
Stephen Birarda
92d4cc6fc1 add a label above post install options 2016-01-15 15:41:34 -08:00
Stephen Birarda
ca2b3c323d create interface desktop shortcut if required 2016-01-15 15:41:34 -08:00
Stephen Birarda
fd3b665add make the confirmation page the finish page 2016-01-15 15:41:34 -08:00
Stephen Birarda
f041479f42 default some checkboxes to checked 2016-01-15 15:41:34 -08:00
Stephen Birarda
269937fe7f add conditional options to post install dialog 2016-01-15 15:41:34 -08:00
Stephen Birarda
a6c8c62d36 make sure nsDialog file is included 2016-01-15 15:41:34 -08:00
Stephen Birarda
288b044a0f use nsDialogs for custom post install options 2016-01-15 15:41:34 -08:00
Stephen Birarda
dd0f541759 move call to ReserveFile to right spot 2016-01-15 15:41:34 -08:00
Stephen Birarda
c9ecf35d82 rename template file used for post install options 2016-01-15 15:41:34 -08:00
Stephen Birarda
58cc86bc5b add a file for NSIS post install options 2016-01-15 15:41:34 -08:00
Stephen Birarda
9f2fbc37bb only remove protocol handler if installed 2016-01-15 15:41:34 -08:00
Stephen Birarda
929976e781 use new console exec name var from properties 2016-01-15 15:41:34 -08:00
Stephen Birarda
53eb66418a fix for falsity of build types 2016-01-15 15:41:34 -08:00
Stephen Birarda
a2904cdc7b use a CPackProperties file for custom installer variables 2016-01-15 15:41:34 -08:00
Stephen Birarda
b4002d5f42 conditional reg entries for prod build only 2016-01-15 15:41:34 -08:00
Stephen Birarda
0cdc78bdbe remove High Fidelity protocol during uninstall 2016-01-15 15:41:34 -08:00
Stephen Birarda
f844573566 name hifi:// links the High Fidelity Protocol 2016-01-15 15:41:34 -08:00
Stephen Birarda
7739749220 add URL handler registration for Interface 2016-01-15 15:41:34 -08:00
Stephen Birarda
b8966de85e simplified shortcut creation for nsis installer 2016-01-15 15:41:34 -08:00
Stephen Birarda
7f1c66f529 replace interface icon name with icon index 2016-01-15 15:41:34 -08:00
Stephen Birarda
25d9a1869a handle skipped parameters in CreateShortcut call 2016-01-15 15:41:34 -08:00
Stephen Birarda
ae67da4bcb use absolute path to interface icon 2016-01-15 15:41:34 -08:00
Stephen Birarda
301124ba3c fix reference to rc template and icon prefix 2016-01-15 15:41:34 -08:00
Stephen Birarda
f8f0b99a46 add icon to interface exec, icons in start menu 2016-01-15 15:41:34 -08:00
Stephen Birarda
6f7663fbae add conditional handling for server-console shortcut 2016-01-15 15:41:34 -08:00
Stephen Birarda
70077591df correct intepolation for defines in NSIS 2016-01-15 15:41:34 -08:00
Stephen Birarda
9c8a05fad9 use string variables for interface shortcut setup 2016-01-15 15:41:34 -08:00
Stephen Birarda
a6006af7be use variables in NSIS script for names 2016-01-15 15:41:34 -08:00
Stephen Birarda
9621773082 add back the NSIS.template.in file 2016-01-15 15:41:34 -08:00
Stephen Birarda
e3ef18ae6e customize Interface output name for PR/dev/prod 2016-01-15 15:41:34 -08:00
Stephen Birarda
f87d8885f4 rename interface bundle for production and pr build 2016-01-15 15:41:34 -08:00
Leonardo Murillo
766f0dbd32 Have stack manager use bundled stack 2015-11-27 14:04:33 -06:00
Brad Davis
0c60538952 Ensure that dependencies of runtime plugins are included in the DLL copy 2015-11-06 16:57:30 -08:00
Brad Hefta-Gaub
13e805ac15 replace copy_resolved_item_into_bundle with a version that doesn't report warnings for a status case 2015-11-01 13:18:53 -08:00
Stephen Birarda
8be707f63f rename add paths macro for fixup_bundle 2015-02-23 13:24:21 -08:00
Stephen Birarda
bc9481051b use configure_file to pass lib_paths to fixup_bundle 2015-02-17 16:30:39 -08:00