heathy Posted March 29, 2005 Share Posted March 29, 2005 (edited) I tried searching for this and I couldn't find anything. Basically I'd like to use the @homedrive with a line that calls an msi. I know the cmd works if I give it the exact path like so.... Run('msiexec.exe /i "C:\sample.msi"') so instead of C:\ i'd like to use @HomeDrive. I've tried many variations with adding and yet none of them seem to work. Currently I'm stuck at Run('msiexec.exe /i @HomeDrive&"\sample.msi"') Any help would be great. Thanks Edited March 29, 2005 by heathy Link to comment Share on other sites More sharing options...
GrungeRocker Posted March 29, 2005 Share Posted March 29, 2005 try Run('msiexec /i "" & @HomeDrive&"\sample.msi"') [font="Verdana"]In work:[list=1][*]InstallIt[*]New version of SpaceWar[/list] [/font] Link to comment Share on other sites More sharing options...
heathy Posted March 29, 2005 Author Share Posted March 29, 2005 try Run('msiexec /i "" & @HomeDrive&"\sample.msi"')<{POST_SNAPBACK}>no go unfrotuantely. I did make sure that my path was ok by writing the rusulting path of @HomeDrive&"\sample.msi" to a text file and it appears fine.It's acting like im just typing msiexec and nothing else. I get the msi options window. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now