The GW-Scripting list is a discussion list for information regarding the development and use of Window-Eyes scripts. Any subscriber of the GW-Scripting list has the ability to post on-topic messages.
From:
"Jeff Bishop" <jeff@jeffbishop.com>Subject:
RE: A quick question about packing an appDate:
Fri, Apr 6, 2012 10:38:17 amThis is a multipart message in MIME format.
------=_NextPart_000_02E9_01CD13C8.3BE65470
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
I would package the files in the package and then on startup create and move
the files accordingly into that folder using the FileSystemObject.
You could also in theory store a zip in the package and programmatically
extract the zip in the app's code.
From: David [mailto:elephant@tele2.no]
Sent: Friday, April 06, 2012 7:29 AM
To: gw-scripting@gwmicro.com
Subject: A quick question about packing an app
If some of the info my app is using, will be stored in its own subfolder of
the User's Profile folder of WE, what will I do to include that subfolder
and its contents in the wepm package?
When choosing files to include in the package, can I choose just the actual
subfolder along with my vbs, ini and xml files? Will that install correctly
on the reciepents computer? Or, will I have to first install all the files
right in the profile folder, and then let my app move the needed stuff into
the subfolder?
NO, my vbs, ini and xml, they will all stay directly in the profile folder.
But the rest of the stuff, will be put in a subfolder structure.
I just wanted to make sure what is the best way of handling this situation,
before going ahead and packing up the wepm file. Better do it right, first
attempt. Smile. Thanks for any feedback.
------=_NextPart_000_02E9_01CD13C8.3BE65470
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@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","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
..MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I would package the files in the package and then on startup create and move the files accordingly into that folder using the FileSystemObject.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>You could also in theory store a zip in the package and programmatically extract the zip in the app’s code.<o:p></o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> David [mailto:elephant@tele2.no] <br><b>Sent:</b> Friday, April 06, 2012 7:29 AM<br><b>To:</b> gw-scripting@gwmicro.com<br><b>Subject:</b> A quick question about packing an app<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>If some of the info my app is using, will be stored in its own subfolder of the User's Profile folder of WE, what will I do to include that subfolder and its contents in the wepm package?</span><o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>When choosing files to include in the package, can I choose just the actual subfolder along with my vbs, ini and xml files? Will that install correctly on the reciepents computer? Or, will I have to first install all the files right in the profile folder, and then let my app move the needed stuff into the subfolder? </span><o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>NO, my vbs, ini and xml, they will all stay directly in the profile folder. But the rest of the stuff, will be put in a subfolder structure.</span><o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>I just wanted to make sure what is the best way of handling this situation, before going ahead and packing up the wepm file. Better do it right, first attempt. Smile. Thanks for any feedback.</span><o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div></div></body></html>
------=_NextPart_000_02E9_01CD13C8.3BE65470--
------=_NextPart_000_02E9_01CD13C8.3BE65470
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
I would package the files in the package and then on startup create and move
the files accordingly into that folder using the FileSystemObject.
You could also in theory store a zip in the package and programmatically
extract the zip in the app's code.
From: David [mailto:elephant@tele2.no]
Sent: Friday, April 06, 2012 7:29 AM
To: gw-scripting@gwmicro.com
Subject: A quick question about packing an app
If some of the info my app is using, will be stored in its own subfolder of
the User's Profile folder of WE, what will I do to include that subfolder
and its contents in the wepm package?
When choosing files to include in the package, can I choose just the actual
subfolder along with my vbs, ini and xml files? Will that install correctly
on the reciepents computer? Or, will I have to first install all the files
right in the profile folder, and then let my app move the needed stuff into
the subfolder?
NO, my vbs, ini and xml, they will all stay directly in the profile folder.
But the rest of the stuff, will be put in a subfolder structure.
I just wanted to make sure what is the best way of handling this situation,
before going ahead and packing up the wepm file. Better do it right, first
attempt. Smile. Thanks for any feedback.
------=_NextPart_000_02E9_01CD13C8.3BE65470
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@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","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
..MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I would package the files in the package and then on startup create and move the files accordingly into that folder using the FileSystemObject.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>You could also in theory store a zip in the package and programmatically extract the zip in the app’s code.<o:p></o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> David [mailto:elephant@tele2.no] <br><b>Sent:</b> Friday, April 06, 2012 7:29 AM<br><b>To:</b> gw-scripting@gwmicro.com<br><b>Subject:</b> A quick question about packing an app<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>If some of the info my app is using, will be stored in its own subfolder of the User's Profile folder of WE, what will I do to include that subfolder and its contents in the wepm package?</span><o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>When choosing files to include in the package, can I choose just the actual subfolder along with my vbs, ini and xml files? Will that install correctly on the reciepents computer? Or, will I have to first install all the files right in the profile folder, and then let my app move the needed stuff into the subfolder? </span><o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>NO, my vbs, ini and xml, they will all stay directly in the profile folder. But the rest of the stuff, will be put in a subfolder structure.</span><o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>I just wanted to make sure what is the best way of handling this situation, before going ahead and packing up the wepm file. Better do it right, first attempt. Smile. Thanks for any feedback.</span><o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div></div></body></html>
------=_NextPart_000_02E9_01CD13C8.3BE65470--




