I'm designing my installer and one of the first steps in installation is installing Git if it isn't already detected on the system by downloading and running the Git installer in silent mode. Then git is used in subsequent steps to pull down archives that are extracted. This all works well except when git must be first installed. after git is installed, git is still not included in the path variable, so the clone actions fail. Is there a way to reload the path variables midway during installation? RIght now my workaround is to abort all subsequent components after the git install and ask the user to run the install again. Then everything goes smoothly, but this isn't ideal.
Okay, since I'm using the defaults for Git install that should hopefully work, ill give it a try.. Thanks for the info.
Hi zootsuitjeff,
It's not possible for the installer to reload the PATH once running. But you could use the absolute path to the git binary. For example:
<runProgram program="/usr/bin/git" programArguments="clone ..."/>
Would that work for you?
Regards,
Michiel
Okay, since I'm using the defaults for Git install that should hopefully work, ill give it a try.. Thanks for the info.