RE: Getting short name before autopackage is installed.

Eugene Zolenko <EugeneZolenko-XYgkjQFSZqy1Z/[email protected]> Thu, 3 Sep 2009 18:36:42 -0600
Newsgroups gmane.comp.autopackage.devel
Message-ID <833B0B09C5041D42A9924A3BA6A12B9A028FF79CBF@CALMAIL-CMS.smarttech.inc>
--_000_833B0B09C5041D42A9924A3BA6A12B9A028FF79CBFCALMAILCMSsma_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

ShortName will be one field between start of the .package file and this lin=
e:
## END OF HEADER

# ShortName <someshortname>

Just open .package in text editor and you'll see.

________________________________
From: Neil Munro [mailto:[email protected]]
Sent: 03 09 2009, Thursday 18:32
To: autopackage-dev-OfajU3CKLf1/[email protected]
Subject: Getting short name before autopackage is installed.

Hey
      I am working on an application that pulls various packages from the i=
nternet and installs them under Linux, since autopackage is dead easy to ge=
t applications installed with it was the first package format to be support=
ed, now however I am looking into how to uninstall packages and autopackage=
 is still rather simple, if your an intelligent human being. My program kin=
da sucks that way since it's neither ;).

I have a package file, I save the name of this package file to a text file,=
 however I wish to extract the short name from the autopackage archive prio=
r to installation so my program can save the short name in the text file sh=
ould the need to uninstall arise. How might I achieve this?

Many thanks,
Neil Munro

--_000_833B0B09C5041D42A9924A3BA6A12B9A028FF79CBFCALMAILCMSsma_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" xmlns=3D"http://ww=
w.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" name=3D"Person=
Name"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'>ShortName will be one field between st=
art
of the .package file and this line:<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'>## END OF HEADER<o:p></o:p></span></fo=
nt></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'># ShortName &lt;someshortname&gt;<o:p>=
</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Just open .package in text editor and =
you&#8217;ll
see.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font siz=
e=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span style=3D'font-si=
ze:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'> Neil Mun=
ro
[mailto:[email protected]] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> 03 09 2009, Thursday 1=
8:32<br>
<b><span style=3D'font-weight:bold'>To:</span></b> <st1:PersonName w:st=3D"=
on">autopackage-dev-OfajU3CKLf1/[email protected]</st1:PersonName><br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> Getting short name =
before
autopackage is installed.</span></font><o:p></o:p></p>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D=
'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D=
'font-size:
12.0pt'>Hey<o:p></o:p></span></font></p>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D=
'font-size:
12.0pt'>&nbsp;&nbsp; &nbsp; &nbsp;I am working on an application that pulls
various packages from the internet and installs them under Linux, since
autopackage is dead easy to get applications installed with it was the firs=
t
package format to be supported, now however I am looking into how to uninst=
all
packages and autopackage is still rather simple, if your an intelligent hum=
an
being. My program kinda sucks that way since it's neither ;).&nbsp;<o:p></o=
:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D=
'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D=
'font-size:
12.0pt'>I have a package file, I save the name of this package file to a te=
xt
file, however I wish to extract the short name from the autopackage archive
prior to installation so my program can save the short name in the text fil=
e
should the need to uninstall arise. How might I achieve this?<o:p></o:p></s=
pan></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D=
'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D=
'font-size:
12.0pt'>Many thanks,<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D=
'font-size:
12.0pt'>Neil Munro<o:p></o:p></span></font></p>

</div>

</div>

</body>

</html>

--_000_833B0B09C5041D42A9924A3BA6A12B9A028FF79CBFCALMAILCMSsma_--