[THIN] Re: Exporting/Import Applications

  • From: "Callahan, Michael" <MichaelCallahan@xxxxxxxxxxxxxxxx>
  • To: "thin@xxxxxxxxxxxxx" <thin@xxxxxxxxxxxxx>
  • Date: Thu, 30 Jun 2005 17:53:21 -0500

Good feedback.  Never considered Published Content since I don't use it.
Same thing for Hide Disabled Apps.  I'll work on that when I get a chance.
Strange that you had to change sScriptPath - my results and those of others
don't end up with the double whacks you indicate below.
 
Don't know if I'm going to do anything about executing the script from a
network drive; it's really designed to be run from a farm server or a
desktop that has MFCOM registered.  I run it every week as a scheduled task
to take snapshots of my production apps.  Also run a variant that outputs a
report in MS Word.  Of course, it's "open source", so anyone is free to
change it.  Let me know if you do, I'd be interested to see.
 
One other person who has used the script had the same issue with MFPS 3.0; I
remember now that they also applied rollup 3 and were able to get it to
work.  Glad it more or less works for you.

  _____  

From: Joe Shonk [mailto:joe.shonk@xxxxxxxxx] 
Sent: Thursday, June 30, 2005 4:49 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Exporting/Import Applications



Finally got this working.   Overall, it's good and works better/faster than
newapp.exe and appexp.exe/export.exe

 

A few things to consider:

The permission denied is a known bug (issue #77 for rollup 3 for mfps 3.0)
Rollup 3 fixes this problem

The WriteIconToFile method chokes if executing the script from a network
drive. 

Changed line sScriptPath = Left(sScriptFullName, InStrRev(sScriptFullName,
"\"))      to

   sScriptPath = Left(sScriptFullName, InStrRev(sScriptFullName, "\") - 1)
otherwise the path ends up being

   "D:\\icons\" and "D:\\backup\"

The Enable\Disable Apps flag is recorded but not Hide Disabled Apps flag

No Export/Import of Published Content

 

Thanks,

 

Joe

  _____  

From: Joe Shonk [mailto:joe.shonk@xxxxxxxxx] 
Sent: Thursday, June 30, 2005 12:17 PM
To: 'thin@xxxxxxxxxxxxx'
Subject: RE: [THIN] Re: Exporting/Import Applications

 

Interesting...  I got the scripts to run for the most part, except exporting
the ICONs.   Strange,  I get a Permission Denied error when that object is
called.

 

Add to Start Menu: 0

Default Sound Type: 1

Enable SSL: 0

Enable App: 1

D:\FarmAppSave.wsf(181, 16) Microsoft VBScript runtime error: Permission
denied

 

I full access to CMC and server that the script is running on.

 

  _____  

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf
Of Callahan, Michael
Sent: Wednesday, June 29, 2005 7:06 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Exporting/Import Applications

 

I have a couple of scripts that will do that; several people on the list
have used them.  Here they are.  Run  the Save script against your farm, it
will generate an .inf file containing the settings.  The restore script will
prompt you for the name of the .inf file to import app settings from.  The
.inf file can be customized to import one or all apps; settings/servers can
be customized as well.  Although these were developed on XP FR3, I've had
reports that they will run well on PS 4.0, but not 3.0.  They have no
problem with programs containing spaces or arguments.

 

These are MFCOM scripts; rename them with a .wsf extension.

 

 

 

  _____  

From: Joe Shonk [mailto:joe.shonk@xxxxxxxxx] 
Sent: Wednesday, June 29, 2005 5:00 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Exporting/Import Applications

Hello,

 

Does anyone know of any applications that will export Published App setting
and import them?  I've looked at several different versions of appexp,
export, newapp from the SDK, but they are really buggy, change settings, and
do not like Programs that have spaces in them w/ arguments.

 

Joe

********** Confidentiality Notice **********
This electronic transmission and any attached documents or other
writings are confidential and are for the sole use of the intended
recipient(s) identified above. This message may contain information
that is privileged, confidential or otherwise protected from disclosure
under applicable law. If the receiver of this information is not the
intended recipient, or the employee, or agent responsible for delivering
the information to the intended recipient, you are hereby notified that
any use, reading, dissemination, distribution, copying or storage of this
information is strictly prohibited. If you have received this information in
error, please notify the sender by return email and delete the electronic
transmission, including all attachments from your system.

**********    Confidentiality Notice    **********
This electronic transmission and any attached documents or other
writings are confidential and are for the sole use of the intended
recipient(s) identified above. This message may contain information
that is privileged, confidential or otherwise protected from disclosure
under applicable law. If the receiver of this information is not the
intended recipient, or the employee, or agent responsible for delivering
the information to the intended recipient, you are hereby notified that
any use, reading, dissemination, distribution, copying or storage of this
information is strictly prohibited. If you have received this information in
error, please notify the sender by return email and delete the electronic
transmission, including all attachments from your system.

Other related posts: