View Single Post
Old 10-30-10, 01:05 PM   #1
Jeff91
Registered User
 
Join Date: Jan 2009
Posts: 11
Default Combining an archive and script file

So what I am looking to do is combine an archive and a script file. I would like to have a number of files compressed into an archive package and when a user runs the package instead of having it open with the archive manager, instead have it run a shell script that is also packaged with the files.

The reason I am asking this here is because the nvidia linux binary driver does just this - it is a shell file combined with an archive file (believe). I have been reading over the script part for the last hour or so and I am starting to see how it works on the extracting end (could still use some clarification on it) and by big question is how to you merge an archive and shell file together, but still have the shell file be run when the file is executed?

Regards,
~Jeff Hoogland
__________________
Sager NP8662 - 2.8gzh p9700 - 4 gigs DDR3 - nVidia 260m (Driver 190.25) - 320gig HDD - Linux 64bit
Asus EEE 900A - Atom 1.6ghz - 2gigs DDR2 - 32gig SSD - Ubuntu 32bit
Jeff91 is offline   Reply With Quote