PDA

View Full Version : QuickTime Question



BUpson
08-21-2002, 08:13 AM
I have been working on making package of QuickTime 6, and am running into a little glitch. Was hoping someone could help me out here (I am new to using Admin Studio).

I have successfully done a repackage, and have a working MSI. When running the MSI on a target machine, everything looks good. However, when I double-click on a .mov file, QuickTime opens, but does not play the actual movie.

If I then check the "File Types" information, I see the .mov key has the correct information.

"C:\Program Files\QuickTime\QuickTimePlayer.exe" "%1"

When I check the open command, and make no changes, other than clicking ok, QuickTime now works like it should.
It's as if the package installs the information correctly, but the "%1" is ignored until I look at the "File Type".

Anyone know what I am missing?

BUpson
08-21-2002, 03:13 PM
An update.

I am trying to package QuickTime 6.0, on Windows XP. I spent a large amount of time playing with this problem today, and I can not get QuickTime 6, to package the way I want to, but the methods I had to use, to do this, are rather annoying. Anyone know what I am doing wrong, to make this package?

To get the movies to open and play, I had to manually edit the standard.nir file, before attempting to use Author.
I made the following change:

Original:


[HKEY_CLASSES_ROOT\QuickTime.mov]
"EditFlags"=hex:00,00,01,00
@="QuickTime Movie"

[HKEY_CLASSES_ROOT\QuickTime.mov\DefaultIcon]
@="_Short(%ProgramFilesFolder%\\QuickTime\\QuickTimePlayer.exe),-137"

[HKEY_CLASSES_ROOT\QuickTime.mov\shell]
@="open"

[HKEY_CLASSES_ROOT\QuickTime.mov\shell\open\command]
@="_Short(%ProgramFilesFolder%\\QuickTime\\QuickTimePlayer.exe) \"%1\""


Modified:


[HKEY_CLASSES_ROOT\QuickTime.mov]
"EditFlags"=hex:00,00,01,00
@="QuickTime Movie"

[HKEY_CLASSES_ROOT\QuickTime.mov\DefaultIcon]
@="_Short(%ProgramFilesFolder%\\QuickTime\\QuickTimePlayer.exe),-137"

[HKEY_CLASSES_ROOT\QuickTime.mov\shell]
@="open"

[HKEY_CLASSES_ROOT\QuickTime.mov\shell\open\command]
@="_Short(%ProgramFilesFolder%\\QuickTime\\QuickTimePlayer.exe "%1")"


The only change made to those 4 lines of code, was this:
.exe) \"%1\""
to
.exe "%1")"

Now, it will work, BUT, the Icon is not longer associated properly. I managed to get around this, by manually creating the key, from within Author. As a finall annoyance, I see the following Key in my registry, as the one that works (why is all the hex info being added?)



[HKEY_CLASSES_ROOT\QuickTime.mov\shell\open\command]
@="\"C:\\Program Files\\QuickTime\\QuickTimePlayer.exe\" \"%1\""
"command"=hex(7):2d,00,77,00,39,00,77,00,4a,00,76,00,40,00,5e,00,4b,00,39,00,\
5e,00,38,00,39,00,6b,00,21,00,66,00,64,00,6b,00,70,00,2a,00,3e,00,74,00,53,\
00,31,00,3f,00,48,00,3d,00,34,00,30,00,5a,00,41,00,49,00,7e,00,48,00,70,00,\
50,00,60,00,61,00,43,00,78,00,2b,00,20,00,22,00,25,00,31,00,22,00,00,00,00,\
00


While this does work, it is not how I expected to make the package. Anyone know what I am doing wrong?

AdamCurry
08-23-2002, 12:10 PM
What version of AdminStudio are you using? I tried this with version 3.5 and I did not run across this issue. Instead of checking the .inc file check the Verb table via the direct editor. Does the information look correct?

The hex value you mention was most likely created by the Windows Installer. You can verify this by checking the Registry Table via the Direct Editor and see if it is listed in this table.

BUpson
08-25-2002, 02:28 PM
I am using 3.0 at the moment.

I just tried the same installation with 3.5, and that does not have the same problem as 3.0.