/bundles/itninjaweb/img/Breadcrumb_cap_w.png
Hello,

I have a file to be delivered in HOMEDRIVE. In this case the HOMEDRIVE was set to M:.

How can I set the property to HOMEDRIVE and then deliver the files through custom action using New Set Property.

The folder structure must be M:\.jinit\<file>

Regards,
Leween
0 Comments   [ - ] Hide 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.
Answer this question or Comment on this question for clarity

Answers

0
Which line is 47?
Which folder is it trying to remove when the error is hit?
Where are you sequencing the execution of the custom action?
Answered 01/29/2009 by: AngelD
Red Belt

Please log in to comment
0
Teensy clue-ette here:

script error -2146828218. Microsoft VBScipt runtime error. Permission denied Line 47, Column 3.

Clearly, the account under which the action is executing has insufficient privileges to delete the folder in question.
Answered 01/30/2009 by: VBScab
Red Belt

Please log in to comment
0
Uh huh...so the user account STILL doesn't have sufficient privileges.

If the error is occuring where you say, that account cannot enumerate sub-folders of 'objMainFolder'.

For the time being, get the script working stand-alone. Once it works in that state, THEN stick it into your package and re-test.

BTW, hard-coded paths will bite you sooner or later. Use the FileSystemObject object's ability to resolve the paths to SpecialFolders (e.g. the user profile folder) or the Shell object's environment-fetching methods if you prefer.
Answered 01/30/2009 by: VBScab
Red Belt

Please log in to comment
0
Could you please remove this post and re-post as a new topic in the 'Package Development' forum? It makes no sense added as a post to this thread, as the subject matter is completely unrelated both to the original post and not least to this forum's target subject, i.e. Scripting.
Answered 04/16/2009 by: VBScab
Red Belt

Please log in to comment