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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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.
Answered 06/18/2008 by: MSIPackager
Third Degree Black Belt

Please log in to comment
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!!
Answered 06/18/2008 by: SarahG
Senior Yellow Belt

Please log in to comment
0
We've all been there. Sometimes, you cannot see the wood for the trees. Glad it worked out.

Good steer, Rob.
Answered 06/18/2008 by: VBScab
Red Belt

Please log in to comment
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.
Answered 06/19/2008 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
0
John, Credit where credit's due - this was Rob's (MSIPackager) shout.
Answered 06/20/2008 by: VBScab
Red Belt

Please log in to comment
0
oops i stand corrected, im just used to saying your right ;-)
Answered 06/22/2008 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity