Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setup project

Status
Not open for further replies.

hayt

IS-IT--Management
Oct 5, 2004
132
US
I have no idea where to post this...but here it goes:

i have created an msi in Vs.net and i run a custom vb.net action in my msi. my problem is this: my msi is run from a network share, and installs the files to the local machine (one being the vb.net exe) i need to get the path of the msi (as it may also reside on a cd or something) and pass it to my custom action. i really just need to know how to get the msi's path. if i don't send anything, it defaults to the root of the vb.net exe.

does it make sense what i am asking?

hayt
 
Nevermind....i found the solution

for anyone that might need one, in the custom action properties, place this in the customActionData field:
/SourceFolder="[SOURCEDIR]\"
then in the arguments, you can say this:
[SOURCEDIR]
and whallah! you have passed the path of the msi file to the custom action.

hayt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top