Quicktime 7.4.1 still require helping hand :-(
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
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
Answers (32)
Please log in to answer
Posted by:
Tone
16 years ago
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
but looking at http://www.appdeploy.com/packages/detail.asp?id=520 you can drop the config file into all users, application data
Posted by:
p4ntb0y
16 years ago
Posted by:
Tone
16 years ago
Posted by:
p4ntb0y
16 years ago
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.
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.
Posted by:
p4ntb0y
16 years ago
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
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
Posted by:
nheim
16 years ago
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
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
Posted by:
p4ntb0y
16 years ago
Posted by:
p4ntb0y
16 years ago
Posted by:
anonymous_9363
16 years ago
Posted by:
p4ntb0y
16 years ago
Posted by:
p4ntb0y
16 years ago
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
"This new files are unversioned. Therefore we need to generate entries in the 'MsiFileHash' table for this files.
See:
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
Posted by:
nheim
16 years ago
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
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
Posted by:
nheim
16 years ago
Hi Dan,
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
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
Posted by:
p4ntb0y
16 years ago
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
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
Posted by:
nheim
16 years ago
Posted by:
p4ntb0y
16 years ago
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 :-)
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 :-)
Posted by:
p4ntb0y
16 years ago
Posted by:
nheim
16 years ago
Posted by:
p4ntb0y
16 years ago
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?
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?
Posted by:
p4ntb0y
16 years ago
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 ?
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 ?
Posted by:
nheim
16 years ago
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
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
Posted by:
p4ntb0y
16 years ago
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 :-)
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 :-)
Posted by:
nheim
16 years ago
Posted by:
p4ntb0y
16 years ago
Posted by:
p4ntb0y
16 years ago
Posted by:
nheim
16 years ago
Posted by:
p4ntb0y
16 years ago
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 :-)
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 :-)
Posted by:
nheim
16 years ago
Posted by:
p4ntb0y
16 years ago
Posted by:
nheim
16 years ago
Posted by:
p4ntb0y
16 years ago
Posted by:
nheim
16 years ago
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
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.