/build/static/layout/Breadcrumb_cap_w.png

Custom script fails when deployed

Hi,

I have an .msi package that as well as installing a program has a custom action script set to run which creates a folder and then copies 2 files onto the PC.

If I run the msi manually on a pc it installs the package, creates the folder and copies the 2 files. However, when I push the same .msi out via SMS it installs the package and creates the folder but ignores the file copy.

Has anyone else ever come across this and if so can you help me please, it is really confusing me!

Thanks

0 Comments   [ + ] Show comments

Answers (6)

Posted by: MSIPackager 15 years ago
3rd Degree Black Belt
0
Sounds like you are doing this the hard way.. why not just add the 2 files to the package?

If there is a genuine reason for the CA then post up the script and we'll take a look.
Posted by: SarahG 15 years ago
Senior Yellow Belt
0
Oh yeah, I have no idea why I didn't think of that. *feels stupid now* Wasn't sure whether it would create the folder or what it would do if the folder already exists but I have just tested it and it works fine!

Thanks and sorry for wasting time!!
Posted by: anonymous_9363 15 years ago
Red Belt
0
We've all been there. Sometimes, you cannot see the wood for the trees. Glad it worked out.

Good steer, Rob.
Posted by: jmcfadyen 15 years ago
5th Degree Black Belt
0
yup we have all been there.

just based on your CA being that you are modifying the system you should be doing as a deferred CA pref in in system context.

I would however see vbscab's idea as a better answer though.
Posted by: anonymous_9363 15 years ago
Red Belt
0
John, Credit where credit's due - this was Rob's (MSIPackager) shout.
Posted by: jmcfadyen 15 years ago
5th Degree Black Belt
0
oops i stand corrected, im just used to saying your right ;-)
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