Direct Deploy

Got a problem you cannot solve? Try here.
jimo
Posts: 342
Joined: Fri Aug 19, 2005 10:59 am
Location: Atlanta, GA
Contact:

Direct Deploy

Postby jimo » Wed Jan 22, 2014 6:32 am

I am using the default direct deploy script.

1. Should the Run Remote Program command WAIT for finish to return a result? It is not doing this in my environment.

2. How can the Temporary admin share/folder be deleted and cleaned up after installation on a remote system?

Thanks,
Jim Oswell
Software Engineering Manager, Dental
Greenway Health, LLC
http://greenwaymedical.com

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Direct Deploy

Postby FrancescoT » Thu Jan 23, 2014 11:52 am

Dear Jim,

1- The command doesn't wait and for what I know, it should not return any value on success.

2- You should not delete that folder, unless your package is not anymore installed on any computer in your Domain.
Otherwise you will need to reinstall it once again from your domain server, in order to be able to remove it from your Domain server.

Anyway, if you want to delete that folder you should implement the following code (supposing you are using the default DirectDeploy script ... not customized):

Code: Select all

Recursively Delete Files \\$DDCOMPUTER$\admin$\$REVISIONCODE$\*.*
Call DLL Function kernel32.dll->RemoveDirectoryW


the same as InstallAware clipboard format;

Code: Select all

~InstallAware Clipboard Data~
~Call DLL Function~
~{CF729CC1-46C1-47EB-9C8E-B586D1A7C132}~
~kernel32.dll,RemoveDirectoryW,bool,,"pointer to UNICODE string",\\$DDCOMPUTER$\admin$\$REVISIONCODE$,$~
~mIDEFunc.dll\mEXEFunc.dll~
~Delete Files Recursive~
~{386BD890-7D7D-4581-9F44-A87C56E405FF}~
~\\$DDCOMPUTER$\admin$\$REVISIONCODE$\*.*~

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: Bing [Bot] and 91 guests