/build/static/layout/Breadcrumb_cap_w.png

Application fails to install using At Command

I have an application which installs properly in the UI mode. It basically installs ISScript 9 first and then the main application. But when I install the application using At command, it does not install as ISScript does not get install. The command line that I used to install the application was "at 7:30 <Path of the application> /install /s ". When i checked the Event Viewer, it pointed that the application failed as some custom action does not work. The custom action is ISStartup. Is there any condition that has to be present with this custom action to make it work? Kindly let me know where I am going wrong.

0 Comments   [ + ] Show comments

Answers (3)

Posted by: anonymous_9363 12 years ago
Red Belt
0
Almost certainly the Custom Action is set to run only in the User Interface sequence. You'll need to apply a transform to the MSI in which a copy of the CA is made in the Execute Immediate sequence. Also be aware that the Scheduler runs in the context of the local System account. If there are any user-level components being installed, you'll want to trigger those using either self-healing (if there are advertised entry-points e.g. shortcut(s) or Active Setup.
Posted by: richa_shetty86 12 years ago
Senior Yellow Belt
0
yay .. changing the CA to Execute Immediate worked..thanks VBScab... [:)]
Posted by: anonymous_9363 12 years ago
Red Belt
0
If you changed it rather than copying it, the package will no longer work in UI mode. Always copy. Depending on the CA, you may also want to set its operation to run only once, i.e. if it was run in the UI sequence it should not run in the EI sequence. The Windows Installer help file MSI.CHM will contain details of the attributes you need to set.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ