Message boards : BOINC Manager : Creating Custom Boinc client (boing gui manager) Installer for windows
Message board moderation
Author | Message |
---|---|
Send message Joined: 23 Oct 17 Posts: 17 |
We are using boinc for a project which is in test mode yet. I have made minor changes in client gui source code and have successfully configured and build using Visual Studio Community Addition 2013. I have followed this guide to configure and build boinc gui latest source code https://boinc.berkeley.edu/trac/wiki/CompileClient . Our project requires minute changes in boinc manager (as our projects is moreover like grid computing using institute machines) so now we need to create a Windows/Mac installer similar to those available at https://boinc.berkeley.edu/download_all.php. To create a installer for Windows I have followed this guide https://boinc.berkeley.edu/trac/wiki/AdminInstallerWin but this guide is a bit confusing for me, when I try these guidelines: If custom actions have changed, copy boinccas.dll from win_build/Build/x64/Release to win_build/installerv2/redist/Windows/x64 (and same for x86). Set up boinc_codesign directory (peer of boinc/): copy boinc.pfx and android_keystore (get these files from davea or Rom) Copy customdict.txt and customenv.cmd to boinc_depends_xxx/developr/David (or whatever your username is). Edit customdict.txt to point to where boinc_codesign dir is, e.g. BUILDCODESIGN=C:\users\David\documents\boinc_git\boinc_codesign (don't use spaces in path). Run Visual Studio shell: in start menu, Microsoft Visual Studio 2010 / Visual Studio Tools/ Visual Studio Command Prompt above points does not lead me to anywhere, and many files are not available in the configured root directory and if I try to move on using buildenv.cmd I get error codesign not possible contact the development team. Another query ? Once I have build can I use some other technique to create installer like InstallShield or some Visual Studio extensions? I just need a lead to make installer (using BOINC.ism file present in installerv2 directory) after I have build all the modules in release mode. Lastly it would be of great help if someone can highlight the modules that should be build before creating a installer, uptil now I have build, boinc, boincmgr, boinccmd, boincscr, boinctray,boincsvcctrl[/i] Thanking you in anticipation, let me know if I I have posted the thread in wrong domain so I redirect my query to right place. |
Send message Joined: 29 Aug 05 Posts: 15573 |
Hi and welcome to the BOINC forums, I asked David and he told me you'll need InstallShield, although you may get into trouble that the *.ism files don't work with a newer version of InstallShield. David still uses an older version. You can skip the code-signing steps. |
Send message Joined: 23 Oct 17 Posts: 17 |
I have tried it with many versions of Install Shield. I used Install Shield 2011 which is the correct version for installer. I could not figure how to skip code signing process, so I removed it from .ism file it works. But the exe being created creates some problem. It does not let you uninstall the boinc from machines correctly. Below is the error "The resource you are trying to find is on some other network", which is due to some wrong configuration of directories. But I skipped two lines from boinc.ism which were only about boinc code signing part. Can you please ask again where am I going wrong ? |
Send message Joined: 5 Oct 06 Posts: 5131 |
Installshield packages up all the required components into a boinc.msi file, and it's Microsoft's Windows Installer which performs both the installation and the uninstallation. It leaves traces of its work in the Windows registry. These are taken from a Windows 7 registry after a BOINC v7.12.1/x64 installation. [HKEY_CURRENT_USER\Software\Microsoft\Installer\Products\E86DD6DAB39F51D4AB35BFD20DC7868A\SourceList] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-21-1446909043-1926004228-2671199157-1001\Products\E86DD6DAB39F51D4AB35BFD20DC7868A\InstallProperties] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AD6DD68E-F93B-4D15-BA53-FB2DD07C68A8}]I suspect that your problem arises from the GUID strings: "InstallSource"="C:\\Windows\\Downloaded Installations\\{EB573524-9B18-4288-8ACA-7D0A716094A7}\\" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AD6DD68E-F93B-4D15-BA53-FB2DD07C68A8}] (the binary UninstallString shown above is the same GUID {AD6DD68E-F93B-4D15-BA53-FB2DD07C68A8} shown in the key name) These GUIDs will probably need to be generated afresh with every alteration of the msi file contents: you'll see {AD6DD68E-F93B-4D15-BA53-FB2DD07C68A8} as a modification to win_build/installerv2/BOINCx64.ism in https://github.com/BOINC/boinc/commit/bd12338dbd29083daa5a4b022592ca31ff68cd98. I can only suggest you search for references to uninstall GUIDs in the InstallShield documentation. |
Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.