{"id":1262,"date":"2010-03-01T06:44:19","date_gmt":"2010-03-01T10:44:19","guid":{"rendered":"http:\/\/w4kaz.com\/qth\/?p=1262"},"modified":"2015-07-12T21:38:31","modified_gmt":"2015-07-13T01:38:31","slug":"installing-writelog-under-windows-7-uac","status":"publish","type":"post","link":"http:\/\/w4kaz.com\/qth\/?p=1262","title":{"rendered":"Installing Writelog Under Windows 7 UAC"},"content":{"rendered":"<p><span style=\"color: #cf3c3c;\"><strong>OBSOLETE:\u00c2\u00a0<\/strong> Versions after version 11 are much better. \u00c2\u00a0Disregard if using a version of Writelog after 2011. [w4kaz, 20150101]<\/span><\/p>\n<p><strong><em>ENVIRONMENT:<\/em><\/strong> The following applies to an install of Writelog on a Windows 7 64 bit platform with User Account Control enabled.\u00c2\u00a0 Probably works for any Windows 7 version.\u00c2\u00a0 It may also apply to Vista, but that version of Windows has not found its way into my hands, so experiment at your own speed.\u00c2\u00a0 All installs were done under the administrators account, and testing of the application done in a limited user account.\u00c2\u00a0 No special permissions were granted to the limited user, nor to any of the directories.<\/p>\n<p><strong><em>BACKGROUND:<\/em><\/strong> The new BlogBox is not used down in the KazShack dungeon, but\u00c2\u00a0 is the day-to-day computer.\u00c2\u00a0 After a contest, I move the log file up to the main computer and use an install of WriteLog on that box to spew out the Cabrillo, and ADIF backup, and the reports.\u00c2\u00a0 For my own nefarious reasons, I chose to set the new BlogBox up with an administrative user, and do all of the day-to-day activities within a limited user account.<\/p>\n<p>WriteLog is still backwards compatible with older versions of windows, and runs well even on systems with limited resources.\u00c2\u00a0 That is something that is a useful feature, as it allows a wide\u00c2\u00a0 choice of hardware platforms to be pressed into service.\u00c2\u00a0 Plus, I just damn well like WriteLog better than anything else.<\/p>\n<p>But since Writelog was designed before the day of user accounts there are some adjustments that need to be made to get it working in Windows 7.<\/p>\n<p><strong><em>THE INSTALL:<\/em><\/strong> One approach used by many is to disable User Account Control[UAC] and run the system as the administrator.\u00c2\u00a0 That&#8217;s a judgment call.\u00c2\u00a0 Diametrically opposed to the goal here&#8230;but used with success by many.<\/p>\n<p>Another approach that seemed to work is to install it under an account with\u00c2\u00a0 administrator privileges.\u00c2\u00a0 But that also falls short of the goal, which is to get it going under a limited user account.\u00c2\u00a0 When installed as the administrator, the user accounts were able to run the program, but not able to save the configuration settings.<\/p>\n<p>The approach that seemed to work is to install WriteLog into its own directory[I named it c:\\writelog_install_home].<\/p>\n<p>The install went without a hitch.\u00c2\u00a0 The real trick is simply to find where everything is right after the install.\u00c2\u00a0 The important part is locating the &#8220;writelog.ini&#8221; configuration file.\u00c2\u00a0 For whatever reason the RedmondGeeks in Windows 7 [and maybe Vista] have an environment variable [&#8220;appdata&#8221;] that is used for hiding certain bits of data under UAC.\u00c2\u00a0 The term &#8220;hiding&#8221; is used deliberately since the directory referenced by the environment variable is indeed hidden.<\/p>\n<p><em><strong>Finding STUFF:<\/strong><\/em><\/p>\n<ul>\n<li>start a command prompt window, and type &#8220;set&#8221; with no other parameters.\u00c2\u00a0 that will display all of the environment variables. The pertinent one is &#8220;appdata&#8221;<\/li>\n<li>In the file explorer, under &#8220;organize&#8221; &#8211;&gt; &#8220;Folder and search options&#8221; &#8211;&gt; &#8220;View&#8221; -&gt; &#8220;Hidden files and folder&#8221;\u00c2\u00a0 check &#8220;Show files, folders and drives&#8221;<\/li>\n<li>In Windows 7 user info\/program data is generally is stored in &#8220;C:\\users\\xxxxxx&#8221;, where xxxxxx is whatever your user name might be.<\/li>\n<li>Writelog creates a directory in the &#8220;c:\\users\\xxxxxx\\documents&#8221; directory[i.e., &#8220;My Documents&#8221; under the logged on user account] for its data files, wav files, contest &#8220;ini&#8221; files, etc.<\/li>\n<\/ul>\n<p>The basic install is all pretty easy once you locate the files.\u00c2\u00a0 The critical file is the configuration file, &#8220;writelog.ini&#8221;. In this sort of install there are actually two copies of writelog.ini.\u00c2\u00a0 One copy is in C:\\windows.\u00c2\u00a0 That copy is an abbreviated version, which has what I expect are the bare minimum bits of info required by WriteLog to run.\u00c2\u00a0 <em>[<strong>NOTE<\/strong>:After installing the program several times it is possible this copy in C:\\windows could just be cruft left in place from a previous install.]<\/em> It seems likely that &#8220;writelog.ini&#8221; is used to initialize the program.\u00c2\u00a0 Probably best to ignore that copy of Writelog.ini, and leave it undisturbed.\u00c2\u00a0 You will need to have admin privileges to edit it.<\/p>\n<p>The second copy is stored under the c:\\users\\xxxxxx\\appdata directory in the sub directory \\VirtualStore\\Windows.\u00c2\u00a0 The full path in my install was &#8220;c:\\users\\w4kaz\\appdata\\VirtualStore\\Windows\\writelog.ini&#8221;.\u00c2\u00a0 THIS is the file used to store config settings for the logged on user, and it is here that customizations should be added.<\/p>\n<p>The user copy is created for each user individually and uniquely. That copy is the version that can be customized as required for the particular situation.\u00c2\u00a0 A lot of WriteLog users have custom versions of their config file for different situations.\u00c2\u00a0 Rather than maintain numerous copies of the file, it might also be appropriate to define a separate user for each situation.\u00c2\u00a0 Then all of the copying\/management of config files could be avoided by simply logging on to the appropriate user.<\/p>\n<p>That&#8217;s enough to get the program functional as far as opening logs, exporting reports and files.\u00c2\u00a0 Testing connectivity is to peripherals is more difficult, since the shack is not in the same location and there are no USB dongles yet in use in the KazShack.<\/p>\n<p>The defaulted directories were as follows, after the user had opened the program, and done a &#8220;save config&#8221;:<\/p>\n<p style=\"padding-left: 30px;\"><span style=\"font-family: courier new,courier;\">[Install]<br \/>\nDirectory=C:\\Program Files (x86)\\WriteLog\\<\/span><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"font-family: courier new,courier;\">[Configuration]<br \/>\nWaveFileLocation=C:\\Users\\w4kaz\\Documents\\WriteLog\\WaveFiles\\<br \/>\nRecordingLocation=C:\\Users\\w4kaz\\Documents\\WriteLog\\AudioRecording\\<br \/>\nDataFiles=C:\\Users\\w4kaz\\Documents\\WriteLog<\/span><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"font-family: courier new,courier;\">[Multipliers]<br \/>\nLocation=C:\\WriteLog_install_home\\Programs\\<\/span><\/p>\n<p>Wave files and data files are defaulted to the user&#8217;s documents folder.\u00c2\u00a0 Customize those as needed.<\/p>\n<p>The only real curiosity is that the user writelog.ini install directory was not updated in the final install to reflect the actual install directory.\u00c2\u00a0 Its probably best to update that entry to reflect the actual installation directory.<\/p>\n<p>Installed in this manner I have not yet run into anything that required administrator privileges, or that Writelog be &#8220;run as administrator&#8221;.\u00c2\u00a0 But admittedly, I have not yet tested\u00c2\u00a0 keying CW, .wav file audio, or rig control.\u00c2\u00a0 The BlogBox is not the computer used for contest logging, nor do I use any USB dongles at this point.\u00c2\u00a0 In the end, admin privileges may indeed be required for full featured usage that bangs away on the com ports, but in a limited use it is not required.\u00c2\u00a0 Best guess is that LPT keying probably is more complicated, if possible at all, and that a Winkeyer would probably work easily via USB.<\/p>\n<p><em><strong>CAVEAT:<\/strong><\/em> After I was satisfied the main program was functional, I went through the Writelog directory and executed each of the utility programs.\u00c2\u00a0 The\u00c2\u00a0 <em><em>&#8220;tuning indicator and audio snapshot&#8221; <\/em><\/em>program received an error window trying to edit the system registry.\u00c2\u00a0 That program is for use with RTTY, a mode I am not using, so it is not clear to me that the program has actually failed.\u00c2\u00a0 After acknowledging the error, the program appears to load and be ready for action.<\/p>\n<p><em><strong>UPGRADES:<\/strong><\/em> For these tests, Writelog v10.70c was used for the full install.\u00c2\u00a0 Upgrades 10.71 through 10.75 were then applied via the administrator, with no problems encountered.\u00c2\u00a0 The program ran for both the administrator and the limited user accounts.<\/p>\n<p>And dats da fax, jack&#8230;..<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OBSOLETE:\u00c2 Versions after version 11 are much better. \u00c2 Disregard if using a version of Writelog after 2011. [w4kaz, 20150101]<\/p>\n<p>ENVIRONMENT: The following applies to an install of Writelog on a Windows 7 64 bit platform with User Account Control enabled.\u00c2 Probably works for any Windows 7 version.\u00c2 It may also apply to Vista, but that version of Windows has not found its way into my hands, so experiment at your own speed.\u00c2 All installs were done under the administrators account, and testing of the application done in a limited user account.\u00c2 No special permissions were granted to the limited user, nor to any of the directories.<\/p>\n<p>BACKGROUND: The new BlogBox is not used down in the KazShack dungeon, but\u00c2 is the day-to-day computer.\u00c2 After a contest, I move the log file up to the main computer and use an install of WriteLog on that box to spew out the Cabrillo, and ADIF backup, and the reports.\u00c2 For my own nefarious reasons, I chose to set the new BlogBox up with an administrative user, and do all of the day-to-day activities within a limited user account.<\/p>\n<p>WriteLog is still backwards compatible with older versions of windows, and runs well even on systems with limited resources.\u00c2 That is something that is a useful feature, as it allows a wide\u00c2 choice of hardware platforms to be pressed into service.\u00c2 Plus, I just damn well like WriteLog better than anything else.<\/p>\n<p>But since Writelog was designed before the day of user accounts there [&#8230;]<\/p>\n<p>Continue reading <a href=\"http:\/\/w4kaz.com\/qth\/?p=1262\">Installing Writelog Under Windows 7 UAC<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[14,10],"tags":[],"_links":{"self":[{"href":"http:\/\/w4kaz.com\/qth\/index.php?rest_route=\/wp\/v2\/posts\/1262"}],"collection":[{"href":"http:\/\/w4kaz.com\/qth\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/w4kaz.com\/qth\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/w4kaz.com\/qth\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/w4kaz.com\/qth\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1262"}],"version-history":[{"count":19,"href":"http:\/\/w4kaz.com\/qth\/index.php?rest_route=\/wp\/v2\/posts\/1262\/revisions"}],"predecessor-version":[{"id":2715,"href":"http:\/\/w4kaz.com\/qth\/index.php?rest_route=\/wp\/v2\/posts\/1262\/revisions\/2715"}],"wp:attachment":[{"href":"http:\/\/w4kaz.com\/qth\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1262"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/w4kaz.com\/qth\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1262"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/w4kaz.com\/qth\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}