Jump to content

Error: Could Not Find UID


Recommended Posts

Hi everyone,

I've recently upgraded to WPI 7.2.2 and I'm getting this error message when I start up:

"Could not find UID: KLITES

It either does not exist or has been excluded by some other entry already and is not 'visible' to other entries."

There's a second error message for KLITEF. Does anyone know offhand how to fix this? The pertinent sections of the config.js are below:

prog[pn]=['K-Lite Full Codec Pack 4.42'];
uid[pn]=['KLITEF'];
desc[pn]=['The K-Lite Codec Pack is a collection of codecs and related tools. Codec is short for Compressor-Decompressor. Codecs are needed for encoding and decoding (playing) audio and video. The K-Lite Codec Pack is designed as a user-friendly solution for playing all your movie files. With the K-Lite Codec Pack you should be able to play all the popular movie formats and even some rare formats.<br><br>Full supports even more audio and video formats. It also has encoding support for various formats. This package is for power users and people who do video editing/encoding.'];
ordr[pn]=[1060];
dflt[pn]=['no'];
forc[pn]=['no'];
bit64[pn]=['no'];
cat[pn]=['Multimedia'];
configs[pn]=['Personal'];
cmds[pn]=['"%ROOT%\\Software\\KLite\\klcodec442f.exe" /verysilent /norestart /LoadInf=".\\klcpf.ini"','cmd /c move /Y "%ALLUSERSPROFILE%\\start menu\\programs\\K-Lite Codec Pack\\Media Player Classic.lnk" "%ALLUSERSPROFILE%\\start menu\\programs\\"'];
excl[pn]=['KLITES','XPCOD'];
cond[pn]=['FileExists(\'%ROOT%\\Software\\KLite\\klcodec442f.exe\')'];
pn++;

prog[pn]=['K-Lite Standard Codec Pack 4.42'];
uid[pn]=['KLITES'];
desc[pn]=['The K-Lite Codec Pack is a collection of codecs and related tools. Codec is short for Compressor-Decompressor. Codecs are needed for encoding and decoding (playing) audio and video. The K-Lite Codec Pack is designed as a user-friendly solution for playing all your movie files. With the K-Lite Codec Pack you should be able to play all the popular movie formats and even some rare formats. <br><br>Standard contains everything you need to play all the most commonly used formats. This package should be enough for the average user.'];
ordr[pn]=[1061];
dflt[pn]=['no'];
forc[pn]=['no'];
bit64[pn]=['no'];
cat[pn]=['Multimedia'];
configs[pn]=['Laptop,Desktop'];
cmds[pn]=['"%ROOT%\\Software\\KLite\\klcodec442s.exe" /verysilent /norestart /LoadInf=".\\klcps.ini"','cmd /c move /Y "%ALLUSERSPROFILE%\\start menu\\programs\\K-Lite Codec Pack\\Media Player Classic.lnk" "%ALLUSERSPROFILE%\\start menu\\programs\\"'];
excl[pn]=['KLITEF','XPCOD'];
cond[pn]=['FileExists(\'%ROOT%\\Software\\KLite\\klcodec442s.exe\')'];
pn++;

prog[pn]=['XP Codec Pack 2.4.3'];
uid[pn]=['XPCOD'];
desc[pn]=['The XP Codec Pack is a collection of codecs and related tools. Codec is short for Compressor-Decompressor. Codecs are needed for encoding and decoding (playing) audio and video. The XP Codec Pack is designed as a user-friendly solution for playing all your movie files. With the XP Codec Pack you should be able to play all the popular movie formats and even some rare formats. The XP Codec Pack has the added advantage of being entirely free and legal.'];
ordr[pn]=[1063];
dflt[pn]=['yes'];
forc[pn]=['no'];
bit64[pn]=['no'];
cat[pn]=['Multimedia'];
configs[pn]=['Laptop, Desktop'];
cmds[pn]=['"%ROOT%\\Software\\XP Codec Pack 2.4.3\\XP_Codec_Pack_Installer.exe','cmd /c move /Y "%USERPROFILE%\\start menu\\programs\\XP Codec Pack 2.4.3" "%ALLUSERSPROFILE%\\start menu\\programs\\XP Codec Pack 2.4.3"'];
excl[pn]=['KLITEF','KLITES'];
cond[pn]=['FileExists(\'%ROOT%\\Software\\XP Codec Pack 2.4.3\\XP_Codec_Pack.exe\')'];
pn++;

Link to comment
Share on other sites


Found the problem; that wasn't it.

There was a typo in the filename in the XP Codec Pack condition line.

cond[pn]=['FileExists(\'%ROOT%\\Software\\XP Codec Pack 2.4.3\\XP_Codec_Pack.exe\')'];

Should have been:

cond[pn]=['FileExists(\'%ROOT%\\Software\\XP Codec Pack 2.4.3\\XP_CodecPack.exe\')'];

The exclusion line that Kels pointed out was correct, k-lite full, k-lite standard, and xp codec pack were supposed to each have been excluding the other two. I think the problem arose when the exclusions script got to XP Codec Pack and it's appear condition wasn't met. That would explain why I got messages for both k-lite std and full (XP Codec Pack excluded both), why removing the XP Codec Pack entry entirely fixed the problem, and why fixing the typo in the above condition line also fixed the problem. Is this some minor bug in the exclusions process?

As always, thanks to Kels and mritter for the innumerable hours of hard work.

Kevin

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...