←March→
| Sun |
Mon |
Tue |
Wed |
Thu |
Fri |
Sat |
| |
1 |
2 |
3 |
4 |
5 |
6 |
| 7 |
8 |
9 |
10 |
11 |
12 |
13 |
| 14 |
15 |
16 |
17 |
18 |
19 |
20 |
| 21 |
22 |
23 |
24 |
25 |
26 |
27 |
| 28 |
29 |
30 |
31 |
|
|
|
|
|
Mon, Mar 15, 2010 8:36 pm
Windows NT Backup Restore Utility for Windows 7 and for Windows Server 2008 R2
If you have a backup made with the backup utility, NTBackup, that comes with
Windows XP, but want to restore files from the backup on a Windows 7 system you
have to download the
Windows NT Backup Restore Utility for Windows 7 and for Windows Server 2008 R2
from Microsoft. The Windows NT Removable Storage Manager (RSM) is no
longer included in Windows 7 or in Windows Server 2008 R2, but this utility
will allow you to restore files in a Windows
.bkf backup file made with
the backup utility on Windows XP and Windows Server 2003 to
computers that are running Windows 7 and Microsoft Windows Server 2008 R2.
There are versions of the Update for Windows 7 (KB974674) utility for 32-bit
and 64-bit versions of Windows 7 as well as for all supported x64-based versions
of Windows Server 2008 R2 and all supported IA-64-based versions of Windows
Server 2008 R2.
The utility is distributed as an
.MSU file, e.g.
Windows6.1-KB974674-x86.msu for the 32-bit
version for Windows XP. An .msu file is a Microsoft Update Stanalone Package
file.
References:
-
Windows NT Backup - Restore in Win 7?
Date: June 5, 2009
Microsoft TechNet:
Resources for IT Professionals
-
Description of the Windows
NT Backup Restore Utility for Windows 7 and for Windows Server 2008 R2
Article ID: 974674
Last Review: January 27, 2010
Revision: 2.0
Microsoft Support
[/os/windows/win7/Backup]
permanent link
Sun, Mar 14, 2010 3:22 pm
Changing the Location of the Data File for Sierra Hallmark Studio Deluxe
By default, the data file used to store calendar events for
Sierra Hallmark Studio Deluxe 1.0 is located in the directory
c:\program files\Sierra\CardStudio\Data. The file that holds
the event data is
PLANR32.DAT. You will also see
backpage.cc1 and
PLANR32.BAK in the same directory. The location of
the file is stored in the
Windows registry
at
HKEY_LOCAL_MACHINE\SOFTWARE\Sierra OnLine\Hallmark Card
Studio\Deluxe\1\Paths\DataPath.
c:\>reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Sierra OnLine\Hallmark Card Studio\De
luxe\1\Paths" /v DataPath
HKEY_LOCAL_MACHINE\SOFTWARE\Sierra OnLine\Hallmark Card Studio\Deluxe\1\Paths
DataPath REG_SZ c:\program files\Sierra\CardStudio\Data
You can change the location by editing the registry with
regedit or by
using the reg
add command. E.g., if you wanted to have Card Studio Deluxe store
events at a shared network location where multiple computers running the
software could use the same data, you could alter the registry to point
to that location. E.g., to point to a shared directory
\\Server\Sierra\CardStudio\Data, you could use the
following:
c:\>reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Sierra OnLine\Hallmark Card Studio\Delu
xe\1\Paths" /v DataPath /t REG_SZ /d \\Server\Sierra\CardStudio\Data /f
The operation completed successfully.
References:
-
Sierra's Hallmark Card Studio Deluxe Data Location
MoonPoint Support
[/os/windows/software/graphics/sierra]
permanent link
Sun, Mar 14, 2010 12:57 pm
DC++ 0.75 Silent Install
DC++ is an open source client
for Windows for the
Direct Connect /
Advanced Direct
Connect network.
Direct Connect allows you to share files over the Internet without restrictions
or limits. The client is completely free of advertisements and has a nice, easy
to use interface. Firewall and router support is integrated and it is easy and
convenient to use functionality like multi-hub connections, auto-connections
and resuming of downloads.
The software is licensed under
GNU GPL 2.
DCPlusPlus 0.75 uses the Nullsoft
Install System (NSIS) v2.31. Since it uses NSIS, you can perform a
silent
installation by using the /S option. It will install in
C:\Program Files\DC++ by default, but you can perform a silent
install and still select the destination location by using the
/D=directory option. E.g., to install the software in
C:\Program Files\P2P\DC++, you could use the following:
DCPlusPlus-0.75.exe /S /D=%PROGRAMFILES%\P2P\DC++
Note: you have to use a capital "S" for the silent installation and the
/D must appear at the end of the line. Also, don't use quotes even
if the directory path has spaces in it, e.g., if you aren't using the variable
%PROGRAMFILES%, which equates to C:\Program Files
on most systems (you can see its value by issuing the command
echo %PROGRAMFILES% at a command line). And, if you don't use
%PROGRAMFILES%, you need to use the drive location also, e.g.,
C:\Program Files. Any interventing directories that don't exist
will be created.
When you first run DC++ after the installation, you may be prompted to allow
DC++ network communications.
You can uninstall the software by running uninstall.exe from
the directory where you installed the software, e.g.
%PROGRAMFILES%\P2P\DC++\uninstall.exe /S. You can use the
/S for a silent uninstall, but you will still see a window
asking "Also remove queue and settings?"
A package file for a silent install using
WPKG, is shown below:
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id="DC++"
name="DC++"
revision="0750"
priority="1"
reboot="false">
<check type="uninstall" condition="exists" path="DC++ 0.750"/>
<install cmd='%SOFTWARE%\P2P\DCPlusPlus-0.75.exe /S /D=%PROGRAMFILES%\P2P\DC++"'/>
<remove cmd='"%PROGRAMFILES%\P2P\DC++\uninstall.exe" /S'/>
</package>
</packages>
References:
- DC++
-
Direct
Connect (file sharing)
Wikipedia, the free encyclopedia
-
Advanced Direct
Connect network
Wikipedia, the free encyclopedia
-
Nullsoft Scriptable Install System
Wikipedia, the free encyclopedia
-
WPKG | Open Source Software Deployment and
Distribution
[/os/windows/software/wpkg]
permanent link
Sat, Mar 13, 2010 5:43 pm
Firefox and SQLite
Starting in Firefox 3, bookmarks and browsing history are stored in the
places.sqlite file,
located in the
Firefox profile folder. On a Windows 7 system, the file will be in
a directory similar to
C:\Users\AcctName\AppData\Roaming\Mozilla\Firefox\Profiles\q3wdrb9w.default.
AcctName will be the name for the particular account.
The
\q3wdrb9w.default is a specific example; you would see a
sequence of 8 numbers and letters that is unique to a particular profile on
that system followed by
.default. Note: you will have to turn on
the display of hidden files and folders to see the directory (see
Show hidden files for instructions on how to do this for
Windows 7).
Places.sqlite is used in Firefox 3 instead of the older
bookmarks.html and
history.dat files (the older
files are left in the profile folder for backward compatibility).
I opened a places.sqlite file with
SQLite. Note: Firefox must be closed
when you try opening the file or you will get the error message "Error:
database is locked".
C:\Users\Administrator\Downloads>sqlite3 C:\Users\Administrator\AppData\Roaming\
Mozilla\Firefox\Profiles\q3wdrb9w.default\places.sqlite
SQLite version 3.6.23
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite>
I then used .tables to see what tables were in it.
sqlite> .tables
moz_anno_attributes moz_favicons moz_keywords
moz_annos moz_historyvisits moz_places
moz_bookmarks moz_inputhistory
moz_bookmarks_roots moz_items_annos
The places.sqlite file contains the following tables:
- moz_anno_attributes - Annotation Attributes
- moz_annos - Annotations
- moz_bookmarks - Bookmarks
- moz_bookmarks_roots - Bookmark roots i.e. places, menu, toolbar, tags,
unfiled
- moz_favicons - Favourite icons - including URL of icon
- moz_historyvisits - A history of the number of times a site has been
visited
- moz_inputhistory - A history of URLS typed by the user
- moz_items_annos - Item annotations
- moz_keywords - Keywords
- moz_places - Places/Sites visited - referenced by moz_historyvisits
You can see what the columns are in a table using the .schema
command, so I can use .schema moz_bookmarks for further information
about the "bookmarks" table.
sqlite> .schema moz_bookmarks
CREATE TABLE moz_bookmarks ( id INTEGER PRIMARY KEY, type INTEGER, fk INTEGER D
EFAULT NULL, parent INTEGER, position INTEGER, title LONGVARCHAR, keyword_id INT
EGER, folder_type TEXT, dateAdded INTEGER, lastModified INTEGER);
CREATE INDEX moz_bookmarks_itemindex ON moz_bookmarks (fk, type);
CREATE INDEX moz_bookmarks_itemlastmodifiedindex ON moz_bookmarks (fk, lastModif
ied);
CREATE INDEX moz_bookmarks_parentindex ON moz_bookmarks (parent, position);
CREATE TRIGGER moz_bookmarks_beforedelete_v1_trigger BEFORE DELETE ON moz_bookma
rks FOR EACH ROW WHEN OLD.keyword_id NOT NULL BEGIN DELETE FROM moz_keywords WHE
RE id = OLD.keyword_id AND NOT EXISTS ( SELECT id FROM moz_bookmarks WHERE keywo
rd_id = OLD.keyword_id AND id <> OLD.id LIMIT 1 );END;
A diagram of
the layout of the tables provides further information as does the
The Places
database.
I can see that there is a column named "title". So I can view the value for
"title" for all entries in the table with select title from
moz_bookmarks. Note: you may see a lot of what may appear to be
extraneous bookmarks, i.e. webpages not bookmarked by the user. That's because
you also see what you would see if you clicked on Bookmarks,
Bookmarks Toolbar, Latest Headlines.
You can exit from sqlite with .exit, .quit,
or Ctrl-C.
If you prefer a GUI
to browse SQLite databases, you can use
SQLite Database
Browser, which can provide a graphical interface for browsing the
databases on a Windows system.
To install the program, just unzip the files in the .zip file, once you've
downloaded it, to the directory you want to use for it.
References:
-
SQLite
-
Locked or
damaged places.sqlite
MozillaZine Knowledge Base
-
Places.sqlite
MozillaZine Knowledge Base
-
The Places
database
Mozilla Developer Center
-
SQLite Database
Browser
SourceForge
-
Improving
Iceweasel Performance
April 3, 2009
Zenwalk Support
[/network/web/browser/firefox]
permanent link
Sat, Mar 13, 2010 10:15 am
Transferring Files Via the Remote Desktop
If you want to transfer files between your local system and a remote system
using the
remote
desktop software that comes with Windows you can do so via the following
procedure (note: this procedure was written for Windows 7, but should be
similar for prior versions).
- Click on the Start button.
- Select All Programs.
- Select Accessories.
- Select Remote Desktop Connection.
- When the Remote Desktop Connection window opens, click on
Options.
- Click on the Local Resources tab.
- Click on the More button.
- Click on Drives to share all drives. If yo only want to share
some local drives, click on the "+" to the left of drives and select only
the drives you want to share.
- Click on OK.
- Click on Connect.
If you go to My Computer on the remote system or use Windows
Explorer, you should see the drives on the local system from which you
connected listed among the drives visible on the remote system.
References:
-
Transfer files via the Remote Desktop
Setup32.com
[/os/windows/software/remote-control/rdp]
permanent link
Tue, Mar 09, 2010 10:36 pm
Transferring Winamp 5.572 Info to Another PC
I needed to copy the Winamp settings from my wife's laptop to her desktop
system. Both systems are running Windows 7. I found the bookmarks in
C:\Users\acctname\AppData\Roaming\Winamp
. I also needed to copy her list of online serves, since I had
added the
Live365 Internet
Radio to the list of services - see
Adding Live365 to
WinAmp's Online Services List, so I copied the contents of the
C:\Users\acctname\AppData\Roaming\Winamp\Plugins\ml
directory, including subdirectories from one system to the other.
Acctname represents the account name under which she logs on.
Note: you need to display hidden files and folders to see the
directory - see
Show hidden files for instructions on how to do this under Windows 7,
if you don't know how to do so.
[/os/windows/software/audio/winamp]
permanent link
Tue, Mar 09, 2010 9:47 pm
Winamp Media Player Silent Installation
I wanted to do a silent install on Winamp. When I went to the
Winamp website, I found that the latest
version available for download was
5.572. The file available for download was
winamp5572_full_emusic-7plus_en-us.exe. Winamp, which was
developed by
Nullsoft, was acquired by AOL,
which is bundling
eMusic, which I didn't
want. At
WinampWithoutEMusic, I learned that you can download versions of
Winamp without the eMusic add-on by removing the
emusic-7plus_ portion of the file name. By using
winamp5572_full_en-us.exe, I was able to get the same version without
the eMusic add-on. There's similar information at
Super Bowl XL, Download Winamp without Emusic.
After downloading it, I examined it with
FileAlyzer
. I saw "Nullsoft Install System v2.45.1" within the file. Winamp is
installed with the Nullsoft
Scriptable Install System (NSIS), which is to be expected given that Winamp
was developed by Nullsoft.
For a default installation, Winamp will be installed in
C:\Program Files\Winamp and Winamp Toolbar will be installed in
C:\Program Files\Winamp Toolbar.
A "silent" install can be peformed by using a /S option. Note:
it has to be a capital "S", e.g. winamp5572_full_en-us.exe /S.
If you use the silent install option, the Winamp Toolbar will be installed by
default within Internet Explorer and Firefox. During the installation any open
instances of the browsers will be closed automatically. When you reopen the
browsers you will see the Winamp toolbar within the browsers.
The Winamp and Winamp Toolbar uninstall strings in the
Windows registry
for a default installation
are at
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
are shown below:
| Name | UninstallString |
| Winamp | "C:\Program Files\Winamp\UninstWA.exe" |
| Winamp Toolbar | "C:\Program Files\Winamp Toolbar\uninstall.exe" |
A silent uninstall can be performed for Winamp with
"C:\Program Files\Winamp\UninstWA.exe". A silent uninstall can be
performed for the toolbar with
"C:\Program Files\Winamp Toolbar\uninstall.exe" /S. Use a capital
"S" for the silent option. Note: a silent uninstall of the Winamp toolbar will
close any open browser windows.
One can specify the installation directory with
/D=installdirectory
I could specify winamp5572_full_en-us.exe /D=C:\Program
Files\Audio and Video\Winamp at the command line and the GUI installation
method would show the directory I picked. I had to put the C:
there for that to occur, though. For a silent install, I could use the
following to specify the location:
winamp5572_full_en-us.exe /S /D=C:\Program Files\Audio and Video\Winamp\
Again, I needed to have the
C:\ at the beginning of the directory location. Also, don't use
quotes even if the directory path has spaces in it and the /D
option has to be the last option on the line.
Unfortunately, the toolbar is still installed and goes into its default location
of C:\Program Files\Winamp Toolbar. But I remove it with
"C:\Program Files\Winamp Toolbar\uninstall.exe" /S. Unfortunately,
that only removes the toolbar from Internet Explorer and I have to manually
remove it from Firefox.
References:
-
WinampWithoutEMusic
Last modified: February 13, 2010
Jurand Nogiec
-
Super Bowl XL, Download Winamp without Emusic
Date: February 6, 2006
INeedAttention.com
-
Nullsoft Scriptable Install System
Wikipedia, the free encyclopedia
-
Winamp Media Player 5.56 Installation
Date: November 24, 2009
MoonPoint Support
[/os/windows/software/audio/winamp]
permanent link
Sat, Mar 06, 2010 6:40 pm
Windows Help Under Windows 7
When I opened
MUSHclient on a Windows 7 system, I saw the message "Failed to launch help."
A
Windows Help and Support window opened stating the following:
The Help for this program was created in Windows Help format, which depends on
a feature that isn't included in this version of Windows. However, you can
download a program that will allow you to view Help created in the Windows
Help format.
At
I cannot open Help
files that require the Windows Help (WinHlp32.exe) program, Microsoft
provides the following information:
On computers that are running Windows Vista, Windows 7, Windows Server 2008, or
Windows Server 2008 R2, you may be unable to open Help files that require the
Windows Help (WinHlp32.exe) program. This article contains information about a
download that helps you fix this problem.
Microsoft stopped including the 32-bit Help file viewer in Windows releases
beginning with Windows Vista and Windows Server 2008. To support customers who
still rely on legacy .hlp files, the Microsoft Download Center provides
WinHlp32.exe downloads for Windows Vista, Windows 7, Windows Server 2008, and
Windows Server 2008 R2.
The version of the program for Windows 7 can be downloaded from
Windows Help program (WinHlp32.exe) for Windows 7. That page provides
the following overview statement:
Windows Help (WinHlp32.exe) is a Help program that has been included with
Microsoft Windows versions starting with the Microsoft Windows 3.1 operating
system. However, the Windows Help program has not had a major update for many
releases and no longer meets Microsoft's standards. Therefore, starting with
the release of Windows Vista and continuing in Windows 7, the Windows Help
program will not ship as a feature of Windows. If you want to view 32-bit .hlp
files, you must download and install the program (WinHlp32.exe) from the
Microsoft Download Center.
There are two versions of the software available, one for 64-bit systems
and one for 32-bit systems. The download files are
.msu files. You can install
the software by just double-clicking on the downloaded file from the Windows
Explorer, which will open a Windows Update Standalone Installer
window, where you would see the propmpt "Do you want to install the following
Windows software update? Update for WIndows (KB917607)". During the
installation, winhlp32.exe is placed in %systemroot,
e.g. C:\Windows.
For a silent installation, you can use the Windows Update Standalone
Installer, wusa.exe, with
the /quiet option (quiet mode, no user interaction, reboot
as needed). It isn't necessary to reboot after installing Windows Help.
You can specify /norestart (when combined with /quiet,
installer will NOT initiate reboot. You can see other options by using
wusa /?.
The following command performs a silent install for the 32-bit version:
wusa /quiet /norestart Windows6.1-KB917607-x86.msu
To silently uninstall the software, you can use the command below.
wusa Windows6.1-KB917607-x86.msu /uninstall /quiet /norestart
A package file that can be used with WPKG
to silently install Windows Help for Windows 7 is shown below. Note:
though Windows Help will no longer work after the uninstall,
c:\windows\winhlp32.exe isn't actually removed, though other
files installed with it, such as c:\windows\system32\ftlx0411.dll
are removed. You may have to take ownership of winhlp32.exe
to remove it - see
Add "Take Ownership" to Explorer Right-Click Menu in Win 7 or Vista,
since otherwise only TrustedInstaller has full rights to the
file.
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id="WinHelp"
name="Windows Help"
revision="1"
reboot="false"
priority="10">
<check type='logical' condition='and'>
<!-- The uninstall process doesn't remove winhlp32.exe, but does remove
ftlx0411.dll -->
<check type="file" condition="exists"
path="%SystemRoot%\system32\ftlx0411.dll" />
<check type="file" condition="exists"
path="%SystemRoot%\winhlp32.exe" />
</check>
<install cmd='wusa %SOFTWARE%\utilities\miscellaneous\Windows6.1-KB917607-x86.msu /quiet /norestart ' />
<remove cmd='wusa %SOFTWARE%\utilities\miscellaneous\Windows6.1-KB917607-x86.msu /uninstall /quiet /norestart' />
<upgrade cmd='' />
</package>
</packages>
References:
-
I cannot open Help files that require the Windows Help (WinHlp32.exe) program
Article ID: 917607
Last Review: October 27, 2009
Revision: 20.3
Microsoft Support
-
Windows Help program (WinHlp32.exe) for Windows 7
Version: 1.0
Date Published: 10/14/2009
Microsoft Corporation
-
Is it possible to silently run the Vista installation package for MSI 4.5?
Windows Installer Team Blog
-
silent installation paramters for Windows6.1-KB958559-x64.msu
Date: July 7, 2009
Microsoft
TechNet: Resources for IT Professionals
-
Permission from Trusted installer!
Date: May 18, 2009
Mcirsoft TechNet:
Resources for IT Professionals
-
Add "Take Ownership" to Explorer Right-Click Menu in Win 7 or Vista
How-To Geek
[/os/windows/software/wpkg]
permanent link
Sat, Mar 06, 2010 5:57 pm
Using Multiple Install Conditions with WPKG
There can be zero or more conditions checked prior to installing software
with
WPKG. To perform multiple checks,
enclose the checks with
<check type="logical"
condition="logicalcondition"> and
</check>.
You can use
not,
and,
or,
atleast, or
atmost for
logicalcondition. E.g. to have WPKG check for
the existence of two files
c:\windows\system32\ftlx0411.dll and
c:\windows\winhlp32.exe, you could use the following:
<check type='logical' condition='and'>
<!-- The uninstall process doesn't remove winhlp32.exe, but does remove
ftlx0411.dll -->
<check type="file" condition="exists"
path="%SystemRoot%\system32\ftlx0411.dll" />
<check type="file" condition="exists"
path="%SystemRoot%\winhlp32.exe" />
</check>
In this case, WPKG will only consider the software installed if both files
exist. If only one of them exists, the installation will proceed.
References:
-
Packages.xml
WPKG | Open Source Software Deployment and
Distribution
-
Re: [wpkg-users] Check command
Date: June 11, 2009
wpkg-users
[/os/windows/software/wpkg]
permanent link
Sat, Mar 06, 2010 5:43 pm
Incorrect Installed Software in WPKG
If WPKG is showing an incorrect list
of installed software, e.g. it shows a program is installed, but the
program is no longer installed because it was removed outside of WPKG,
you can correct the problem by editing
C:\Windows\System32\wpkg.xml on the system where the
software was installed. Just remove the
section of the file applying to that package. E.g. from the
package id="pkgid" name="pkgname" revision="1"
reboot="false" priority="0"> to the </package> for
the particular package. Then, if you use wpkg.js /show:pkgid
the package will no longer be shown as installed.
[/os/windows/software/wpkg]
permanent link