Link to home
Start Free TrialLog in
Avatar of pHOdAT
pHOdATFlag for United States of America

asked on

vb.net setup project, saving installation folder path to registry

I have nearly completed my most complex vb.net setup project. As part of the last step of installation, I must run a batch file at the end to install the Java Service Wrapper service to run my Java code as a service. To do this there is a batch file that must be run that I have included in my setup project. The problem is running this batch file via a vbscript is a challenge since the installation folder can be anywhere on the machine. So my though was to write the installation folder path to a reg entry or file and have a custom action that will reference that value and then run the batch file. Any thoughts?
ASKER CERTIFIED SOLUTION
Avatar of JonMny
JonMny

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pHOdAT

ASKER

thanks a mil