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,
Direct Deploy
Direct Deploy
Jim Oswell
Software Engineering Manager, Dental
Greenway Health, LLC
http://greenwaymedical.com
Software Engineering Manager, Dental
Greenway Health, LLC
http://greenwaymedical.com
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Direct Deploy
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):
the same as InstallAware clipboard format;
Regards
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
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
Who is online
Users browsing this forum: Bing [Bot] and 91 guests