MoonPoint Support Logo

 

Shop Amazon Warehouse Deals - Deep Discounts on Open-box and Used ProductsAmazon Warehouse Deals



Advanced Search
February
Sun Mon Tue Wed Thu Fri Sat
 
15
           
2010
Months
Feb


Mon, Feb 15, 2010 10:37 pm

Taskbar Color Not Changing for Themes on a Windows 7 System

My wife reported that the taskbar color on her Windows 7 desktop system was not changing when she changed the theme as it did on her laptop. The background color would change for a theme, but the taskbar color remained the same gray color.

I right-clicked on the desktop and chose Personalize. At the bottom of the window where one could select a theme, there was an option to Troubleshooot problems with transparency and other Aero effects . I clicked on that option. A window then appeared where I could click on Next to troubleshoot Aero problems.

Troubleshoot Aero Problems

When I clicked on Next, I saw a window with "Update the driver for your video card" and the message that "The current video card may support Aero with a driver that is compliant with the Windows Display Driver Model (WDDM). Contact the manufacturer of your computer or video card for a WDDM-compatible driver."

Update the Driver

I clicked on Next and saw a "Troubleshooting has completed" window stating the following:

Problems found

Video card driver doesn't support Aero effects

Aero Not Supported

I decided to check the Windows Experience Index (WEI) score for the system. I clicked on the Start button and selected Control Panel. The View by settng was Category. I changed it to Large icons and then selected Performance Information and Tools, which showed me the WEI score was 1.0.

The WEI assesses key system components on a scale of 1.0 to 7.9. A system is rated with an overall score, called the base score, and with subscores for each of five individual hardware components: processor, memory, graphics, gaming graphics, and primary hard disk. The base score is determined from the lowest of the five subscores, because a system's performance is limited by its slowest or least-powerful hardware component.

Windows Experience Index

In this case the values were as follows:

ComponentWhat is ratedSubscore
Processor:Calculations per second4.2
Memory (RAM):Memory operations per second 4.6
Graphics:Desktop performance for Windows Aero 1.9
Gaming graphics:3D business and gaming graphics performance1.0
Primary hard disk:Disk data transfer rate 5.9

In this case the overall score was 1.0, because of the gaming graphics score. I clicked on Re-run the assessment. The only score that changed was the one for memory, which changed from 4.6 to 4.9. I had replaced the memory modules in the system.

According to the table provided at Winows Experience Index, a value of 3.0 is typically needed to have Windows Aero automatically enabled.

[/os/windows/win7/video] permanent link

Mon, Feb 15, 2010 9:04 pm

Unattended Installation of Paint Shop Pro 9

The Paint Shop Pro 9.01 installation program, English_PaintShopPro901_Jasc_PREMIUMESD.exe appears to be an InstallShield PackagefortheWeb (PFTW), i.e. an InstallShield tree bundled up into one file. If you open the file in WinRAR, WinZip, or similar program, you will see the following files within it.

NameSize
\Data1.cab107,916,138
\0x0409.ini4,632
\instmsia.exe1,708,856
\instmsiw.exe1,822,520
\Jasc Paint Shop Pro 9.msi2,120,312
\setup.exe225,280
\Setup.ini1,221

When you run English_PaintShopPro901_Jasc_PREMIUMESD.exe without any options it will extract the files listed above to C:\Program Files\Jasc Software Inc\Setup Files\English PaintShopPro901 Jasc PREMIUM ESD. The setup.exe file will be executed, which will install Paint Shop Pro 9 to the default installation directory of %PROGRAMFILES%\Jasc Software Inc\Paint Shop Pro 9\, e.g., C:\Program Files\Jasc Software Inc\Paint Shop Pro 9\.

If you run the program from the command line and specify INSTALLDIR, though, you can change where the software is installed. E.g., you could use the following:

c:\Users\JDoe\Downloads>English_PaintShopPro901_Jasc_PREMIUMESD.exe /s /a /w /v" /qn /l* C:\Users\Public\Documents\PSP9.log INSTALLDIR=\" C:\Program Files\Graphics\Paint Shop Pro 9\" ALLUSERS=2"

The options used are listed below:

/s : Silent mode

For an InstallScript MSI or InstallScript project, the command Setup.exe /s runs the installation in silent mode, by default based on the responses contained in a response file called Setup.iss in the same directory. (Response files are created by running Setup.exe with the /r option.) To specify an alternative file name or location of the response file, use the /f1 option.

/a : Add

The /a ... ("add") switch allows you to add switches to the command line of the underlying setup.exe process. You may provide any of the normal InstallShield switches here, including /r, /s, and /sms.

Note: the PFTW package recognizes the /s and /a switches. The /s switch instructs the PFTW package to run silently, but this does not necessarily mean that the setup.exe program within it will run silently.

/w : Wait (Basic MSI and InstallScript MSI projects)

For a Basic MSI project, the /w option forces Setup.exe to wait until the installation is complete before exiting.

/v"ISSCRIPTCMDLINE=\" \"" : Pass arguments that should be passed to the script (Basic MSI projects only)

This option specifices command-line parameters to be passed to the script. Any property supported by InstallScript MSI (where appropriate) can be specified. (The most common ones are /d and /z.)

For example, the following indicates that you want to debug the script, and that the CMDLINE variable should contain TEST.

Setup.exe /v"ISSCRIPTCMDLINE=\"-d -zTEST\""

Note that as shown above, when you want to specify that a double quote character is not a delimiter for the command line but a delimiter for the property, use \".

Note also that as with any public Windows Installer property, this property should be specified with all uppercase letters.

So, I've put the \ before each of the double quotes in INSTALLDIR=\"C:\Program Files\Graphics\Paint Shop Pro 9\ to "escape" the meaning of them on the command line. The option thus specifies that the software should be installed in C:\Program Files\Graphics\Paint Shop Pro 9\ rather than the default directory of C:\Program Files\Jasc Software Inc\Paint Shop Pro 9\.

But the first switch I pass down to msiexec, which is the Microsoft Windows provided installer program is /qn. That makes the installation non-interactive, i.e. yields an unattended installation. You could use /qb, instead, for an unattended installation, however, in this case there is still a brief display of a window during the installation about preparation for the installation.

The /l* C:\Users\Public\Documents\PSP9.log specifies that a log file should be produced with information on the installation.

Information on the ALLUSERS option can be found at ALLUSERS Property webpage.

You can provide named options, or "properties", at the end of the command line; which properties are supported depends on the package. If you wnat to know which properties are supported for an installation you can install the software with the /l* option and then look in the log file after the installation is completed, which is what I did to determine what property to use to specify the installation directory for the software. The * after the l indicates that all types of log messages should be included in the log file. You can see the types of messages that can be logged at Command-Line Switches for the Microsoft Windows Installer Tool.

I saw the following in the log file:

Property(S): INSTALLDIR = C:\Program Files\Jasc Software Inc\Paint Shop Pro 9\

So I then knew I could specify the directory for an unintended install by using INSTALLDIR=. I wanted to install the software in C:\Program Files\Graphics\Paint Shop Pro 9\. Since the directory path contains spaces, I had to enclose the path and file name in double quotes. But, since those double quotes would be appearing within an outer set of double quotes, I needed to put a forward slash before each one. Otherwise the first double quote could be interprested as closing the outer set of double quotes, so I used INSTALLDIR=\" C:\Program Files\Graphics\Paint Shop Pro 9\"

During the installation, the following registry keys are created:

Paint Shop Pro 9 registry keys

During the installation the setup files are extracted to C:\Program Files\Jasc Software Inc\Soetup Files. I install Paint Shop Pro 9 to C:\Program Files\Graphics\Paint Shop Pro 9 and delete the C:\Program Files\Jasc Software Inc directory and every thing beneath it after the installation, since the setup files consume 108 MB of disk space. You can delete the directory from the command line with rd /s /q "c:\Program Files\Jasc Software Inc\".

A silent uninstall can be peformed for Paint Shop Pro 9 using the command MsiExec.exe /x{F843C6A3-224D-4615-94F8-3C461BD9AEA0} /q.

I created the following psp.xml file to be able to perform a silent install of Paint Shop Pro 9 with WPKG

<?xml version="1.0" encoding="UTF-8"?>

<packages>
      
<package
   id="PSP"
   name="Paint Shop Pro"
   revision="9"
   priority="3"
   reboot="false">
 
<check type="uninstall" condition="exists" path="Jasc Paint Shop Pro 9" />
 
<install cmd='%SOFTWARE%\Graphics\English_PaintShopPro901_Jasc_PREMIUMESD.exe /s /a /w /v"/qn 
/l* c:\Users\Public\Documents\SysInfo\Reports\Install\PSP9.log 
INSTALLDIR=\"C:\Program Files\Graphics\Paint Shop Pro 9\" ALLUSERS=2"' />

<remove cmd='MsiExec.exe /x{F843C6A3-224D-4615-94F8-3C461BD9AEA0} /q'/>

</package>

</packages>

References:

  1. InstallShield
    Unattended, A Windows deployment system
  2. Setup.exe and Update.exe Command-Line Parameters
    Flexera Software - Knowledge Base
  3. InstallShield
    Flexera Software
  4. ALLUSERS Property
    MSDN: Microsoft Development, MSDN Subscriptions, Resources and More
  5. Command-Line Switches for the Microsoft Windows Installer Tool
    Microsoft Support
  6. Paint Shop Pro
    WPKG | Open Source Software Deployment and Distribution

[/os/windows/software/wpkg] permanent link

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo