Sign in to follow this  
Followers 0
heathy

@HomeDrive and msiexec

3 posts in this topic

#1 ·  Posted (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 by heathy

Share this post


Link to post
Share on other sites



try Run('msiexec /i "" & @HomeDrive&"\sample.msi"')


[font="Verdana"]In work:[list=1][*]InstallIt[*]New version of SpaceWar[/list] [/font]

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0