Ok I am trying to package Quicktime 7 latest version without Itunes with my own custom qtp file. (Not to autoupdate and no player guide at startup)

I know this file needs to go to HKCU and that the MSI is machine based. I also know from reading the forum about self healing and there are different ways of doing it.

I am in a bit of a pickle with this one as I have just started with wise and need a bit of a helping hand.

I really want to learn how to do this the correct way as I will have other MSI's packages that will require the same feature.

If anyone can give me a helping hand that would be great.

I have been on the course but I am trying to learn as quick as poss and this was not covered :-(
Regards

p4nts
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
You could use active setup http://itninja.com/blog/view/appdeploy:-articles:-activesetup
but looking at http://www.appdeploy.com/packages/detail.asp?id=520 you can drop the config file into all users, application data
Answered 02/25/2008 by: Tone
Second Degree Blue Belt

Please log in to comment
0
Read everything on the second post missed the first post reading up now.

You learn something new everyday.

Now if i can just get a tardis and go back three days maybe I be able to meet my deadlines
Answered 02/25/2008 by: p4ntb0y
Orange Belt

Please log in to comment
0
The active setup was just so you knew about it, You should add "C:\Documents and Settings\All Users\Application Data\Apple Computer\QuickTime\QuickTime qtp" to a transform..

Just want to make sure that was clear.. so you dont loose any more time [:)]
Answered 02/25/2008 by: Tone
Second Degree Blue Belt

Please log in to comment
0
Thanks for the links Tone I have looked thru the massive 47 note section of the quicktime package software KB.

I am still having problems with the cutom "qtp" file where it needs to be in %Userprofile% and not "AllUsers" maybe I have got it wrong not sure.

I have created a transform for this with 2 files I know I need to add "quicktime.qtp" and "QTPlayerSession.xml" I added another feature called "Otherfiles" and then dropped these in "Allusers" however this only works for the User I install it as.

I think there is an advertized shortcut that I need to use to do a self heal /active setup this is where I am a little lost.

Please let me know if I am going about this all the wrong way.

I also saw a link to quicktime 7 that someone allready done the changes however that link is now gone but I could of looked at that one for reference.
Answered 02/26/2008 by: p4ntb0y
Orange Belt

Please log in to comment
0
For some reason I can not for the life of me get this packaged.

I am using Wise Studio 7 Pro and at the mo I am feeling its wasted on me.

I have tried all the suggestions in the topic provided by tone many thanks tone btw

I am at the point now where I am obviously missing something if you can help please let me know

Regards

p4ntb0y
Answered 03/01/2008 by: p4ntb0y
Orange Belt

Please log in to comment
0
Hi Dan,
Wise isn't exactly the right MSI editor to do this!
You should use ORCA to do this work.
Please see this post: http://www.appdeploy.com/messageboards/fb.asp?m=28490
There, i have described the necessary steps to include the config files.
And read the hole thread there, it explains a lot of your questions.
Regards, Nick
Answered 03/02/2008 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
Hi Nick,

thankyou so much for this I will read the whole thread and start to get Orca on download.

I was told Wise will do everything but then that was from wise themsevles

Dan
Again thanks! I was starting to get stressed about this
Answered 03/02/2008 by: p4ntb0y
Orange Belt

Please log in to comment
0
Nick thanks for the reply.

Thats a heavy thread its all a bit over my head.

:-(

Where on earth did you learn all this stuff?
Answered 03/02/2008 by: p4ntb0y
Orange Belt

Please log in to comment
0
ORIGINAL: p4ntb0y
I was told Wise will do everything
It will, it's simply that Orca is handy for QAD (Quick And Dirty) edits or where you don't want WPS to infect an MSI with the Wise tables (i.e. if you haven't yet learned to make the MSI read-only first...)
Answered 03/03/2008 by: VBScab
Red Belt

Please log in to comment
0
I see so ORCA for quick and dirty changes and Wise for full blown changes.

I see what you mean about WPS infecting the MSI
Answered 03/03/2008 by: p4ntb0y
Orange Belt

Please log in to comment
0
ok nearly there I followed Nick's post to the point of..

"This new files are unversioned. Therefore we need to generate entries in the 'MsiFileHash' table for this files.
See: http://blogs.msdn.com/astebner/archive/2005/08/30/458295.aspx
Make a copy of the 'Quicktime.msi' file and name it '1.msi'.
Load 1.msi into ORCA and sort the file table after the sequence.
Delete all lines, but new last tree.
Save it.
Make sure 1.msi and the 3 config files are present in the working directory.
Update 1.msi with this command:
cscript WiFilVer.vbs 1.msi /U /H
Now, 1.msi should contain update Filesizes and Hashes.
Copy them over to 'Quicktime.msi'

I did not add these so left the config.cab file in the same dir as the MSI.

I get the qtplayersession.xml cannot be installed as the file cannot be found in the quicktime.cab file.

Obviously I have made a mistake somewhere.

Dan
Answered 03/03/2008 by: p4ntb0y
Orange Belt

Please log in to comment
0
Hi Dan,
this is no mistake of you.
The problem lies in the file table. Apple has added about 60 file in the last few releases.
So load your changes, go to the file table and sort it after the sequence. Go to the very bottom of the lines.
Note the last sequence number. Now scroll up to the rows around 595. There you should find double entries, related to the newly added files.
Sequence them after the original files. After that, you need to go to the Media table and change the last sequence entry for c'onfig.cab' also.

You can have config.cab outside. But then you need to remove the Hash mark "#" in front of 'config.cab' in the Media table.
But you need to create the File Hash in either case. If you don't like the method, i suggested,
you could use this script from Kim to do it: http://www.appdeploy.com/messageboards/fb.asp?m=27809

Regards, Nick
Answered 03/03/2008 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
Hi Dan,
I see so ORCA for quick and dirty changes and Wise for full blown changes.
don't see it like this at all, because if you are going to change a vendor MSI, you have to (fully) understand the package and the MSI file format.
If we take QT as an example: There are new versions in almost a monthly rhythm. To take the changes to the new version, i load it into ORCA and apply the MST from the earlier version. ORCA shows me all the changes that are made by the MST. Then i can compare with earlier versions, if something important has changed. And maybe make some small changes. If i do it in Wise, i need at least one step more to take out the unwanted wise stuff.
To learn this stuff, the interaction between the SDK tools and Wise as been a real help for me (and still is).
But both tools have their strengths, but you also have to know their limits, if you use them on a daily basis.

Regards, Nick
Answered 03/03/2008 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
First off thanks for the help.

Its places like this and people like you that make things seem all a bit easier :-)

Think I messed up I have directly edited the Quicktime MSI with orca I take that is a big no no. I beleive I should of created a MST.

Ok yes there were duplicate entries for the two custom files as I am not using plist, I changed these to 659, 660

I changed the # from the front of the config.cab in the file table and changed the seq to 660.

I thought i give that a whirl before i did the file hash changes and my orignal error has gone.
I now have "source not found for %location of my package%\2." and it then says make sure the file exisits.

I do understand some of these things but alot of it is hard going I have felt like times to give up. I been trying to do this for days now.

again thanks for the help.

Defo going to use ORCA more
Answered 03/03/2008 by: p4ntb0y
Orange Belt

Please log in to comment
0
Hi Dan,
please post the entries of the media table.
Select them, Shift-Copy and paste it into the reply here.
Regards, Nick
Answered 03/03/2008 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
Nick,

Sorry for the late reply :-) had a puter failure and did not have a backup never mind.

Anyways someone sent me the the quicktime 7.1.3 package which installs to all users so at the mo I am using that one. I did need to change the qtp file so I did this and then redid the MSI hash and redid the .cab file all seems to run ok which is good as I was under alot of presure to get this one out.

I am still going to carry on and try the quicktime 7.3.4 and thanks for the suggestion of using ORCA its brill! so I am using this now as well as WPS 7.

many thanks for the help.

no doubt I will be asking for help laters about quicktime :-)
Answered 03/12/2008 by: p4ntb0y
Orange Belt

Please log in to comment
0
here are the media entries..

1 658 #QuickTime.cab
2 659 2 Binary.config.cab DISK2

the error code I get is 2602.

Regards

Dan

PS I also tried the "cscript WiFilVer.vbs 1.msi /U /H" but says the /H is not valid?
Answered 03/16/2008 by: p4ntb0y
Orange Belt

Please log in to comment
0
Hi Dan,
change the media table like this:
1 658 #QuickTime.cab
2 660 2 config.cab DISK2

"#Binary.config.cab" means: # = internal CAB, "Binary" = Binary table, "config.cab" = config.cab row.

Regards, Nick
Answered 03/16/2008 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
Nick,

I have updated that now.
Why is it seq 660? I thought my last seq was 659.

Anyhows I got binary.config.cab surce not found I have not included it in the MSI yet.

One step closer two steps back :-)

I did try and create my msifilehash I created a copy of quicktime.msi renamed it 1.msi I then applied my transform and deleted all entries in the file table apart from my two entries "quicktime.qtp" and "player prefs xml" I then saved my Transform as a different name and ran "cscript WiFilVer.vbs 1.msi /U" switch without the /H as it said it was invalid. I know the msifilehash will be the same as I have not directly edited quicktime. what is the odivous thing I am missing?
Answered 03/16/2008 by: p4ntb0y
Orange Belt

Please log in to comment
0
Looking at my post with the mistypes I noticed it said "binary.config.cab" I created a copy of my config.cab and renamed it to "Binary.config.cab" and now its working! I created another user to test and that has my settings.

Ok now I have not done msifilehash on the two additional files and I have not embedded the files either.

Is this still ok?

If this does not matter then I got the latest version of Quicktime working at last! update it worked first time.
I deleted the "player prefs xml" and the "quicktime.qtp" however it repaired with the orignal versions.

I take it this is why you have to do the msifilehash.

going to look at the msifilehash again.

Once I have a fully verifed working copy I will post all the steps required in err a biff way that everyone can understand:-)

Would I be allowed to post the MST and config.cab ?
Answered 03/16/2008 by: p4ntb0y
Orange Belt

Please log in to comment
0
Hi Dan,
it' kind of hard to read your posts as a no native english speaker. :-)

To the last sequence thing: Original CAB has 658 entries. You add your two, makes 660 to me. You could also use higher numbers, like 700/701 and set the last seq. to 701. The "last sequence" entry should match the highest "sequence" entry in the file table of a given Cab-file.
What really matters here, is to maintain the order in the table and the Cab-file. The sequencer which works the Cab file, seems not to be able to go backwards.

To the hashing thing: I think, you get the problem with "/H" switch, because the "last sequence" is not correct!
And make sure, a copy of your config files are in the same directory as the "1.msi", you are calling.
The hash table entry is not a show stopper, but there are certain situations, where it helps the installer to determine, if it should do a repair or not (see A. Stebner blog for details).

Regards, Nick
Answered 03/16/2008 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
Thanks for that I understand that now.

On the MSI hashing I still can not do the /H switch I have updated my media table to read..

1, 658, #Quicktime.cab
2, 660, 2, config.cab, DISK2

I was a bit worried about the...
"#Binary.config.cab" means: # = internal CAB, "Binary" = Binary table, "config.cab" = config.cab row.
As in the post it mentions to have #Binary.config.cab however I only have "Config.cab" as my cab is not part of the msi.

I looked thru the "WiFilVer.vbs" and I can not see any reference to /H only /U (Which of course is to update file sizes and versions within the MSI)

maybe I am running an old script but of course the script has no version on it :-)

I can make my MST and "config.cab" avaiable if required but I need to learn this.
Well nearly 2 weeks maybe I get there :-)

thanks for the help.

PS its a shame you dont speak Japanese as thats my second langauge
I am sorry for the poor English, English education you know :-)
Answered 03/16/2008 by: p4ntb0y
Orange Belt

Please log in to comment
0
Hi Dan,
if "cscript WiFilVer.vbs /?" does not mention the "/H" switch, you definitely do not use an actual version of "WiFilVer.vbs".
Regards, Nick
Answered 03/16/2008 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
Tried that Nick and it only mentions /U I will hunt done another version.

Dan
Answered 03/16/2008 by: p4ntb0y
Orange Belt

Please log in to comment
0
Great thanks Nick I had an old version so I now have the latest version with the /H switch i am going to bin my current project and start over with the latest Windows Installer SDK.
Answered 03/17/2008 by: p4ntb0y
Orange Belt

Please log in to comment
0
Hi Dan,
as an alternative, you could use this script: http://www.appdeploy.com/messageboards/fb.asp?m=27809
Regards, Nick
Answered 03/17/2008 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
Arrrhhh this is driving me nuts!

I went thru the whole lot again It works first time, then when I delete the Quicktime.qtp file it restores the orignal file and not my custom one.

Maybe when I am a 4 star noob will I be able to do this.

If someone could check my MST I would be Gratfull in fact I will buy you a beer!

If anything I have learnt to use sysinternals tools, Windows Installer SDK and ORCA.

Oh and if anyone mentions you need to just drop the quicktime.qtp file in %allusers% I am going to pull my AK47 out :-)
Answered 03/17/2008 by: p4ntb0y
Orange Belt

Please log in to comment
0
Hi Dan,
keep cool :-)
Which 'quicktime.qtp' did you delete?
The one in the main location in the program files folder?
Or the one, which is copied with 'DuplicateFiles' to the profile?
Regards, Nick
Answered 03/17/2008 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
I deleted the C:\Documents and Settings\Dan\Local Settings\Application Data\Apple Computer\QuickTime\quicktime.qtp

I am as cool as a cucumber now I had a chill pill (4 beers) and I am looking over it it again. :-)
Answered 03/17/2008 by: p4ntb0y
Orange Belt

Please log in to comment
0
Hi Dan,
the remove of this file can't be detected by the installer, because it is not a component key.
Regards, Nick
Answered 03/17/2008 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
Sorry Nick i have not got my 4 stars yet.

How do make it a component key?

Googling in the background.....
Answered 03/17/2008 by: p4ntb0y
Orange Belt

Please log in to comment
0
Hi Dan,
it's not the best idea, to make the file the component key.
See this: http://www.appdeploy.com/messageboards/fb.asp?m=31064
But the determining thing is this: You don't have a file key, as this file is being copied over to the profile, with the 'DuplicateFile' action.
I'm quite sure (but i have never explicitly tested it), that the 'FileKey' of a line in the 'DuplicateFile' table can't be used as a component key.
Regards, Nick
Answered 03/18/2008 by: nheim
Tenth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity