Computer name variable for SVS
This issue has been solved. See solution.
I'm doing pilot for customer who is thinking to change from ThinApp to SVS. I have a problem with one application, when i virtualize it with ThinApp i use VirtualComputerName in package.ini. This was because this application install own database that is "locked" to computername. Is there a way to in SVS to do same "trick"?
-Petri
Couldn't you just use the
Couldn't you just use the windows built in environment variable %COMPUTERNAME%
Variable
I just love use it, but that software is using INI files, registry etc. i can't find all the places it put computername (real name like XP001). It does work in computer where i virtualize it, but when importing it an other computer it snags about can't find database@XP001.
-Petri
-Petri
Erhm...
I've written a small app that could make those changes for you in a ini file, and posted it in the juice for download, but it beats me on how to find it in this new environment.
I can't find a link where I see my own posted articles.
Good luck finding it, I can't !!!
FrankB
______________________________________________
Frank Bastiaens
Senior Technical Consultant
Vanderlet B.V.
Thanks
I will try to find it.btw. I just wonder could i run a script (bat) when application starts that sets computername variable. Virtaulizing applications with SVS is new to me, i have been using App-v (Softgrid) and ThinApp (Thinstall) years.
-Petri
SOLVED
After testing (a lot) i found that program will work if i add hostname here (inside virtual registry):
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"Hostname"="SVS"
Now when program starts it have a diffrent hostname that actual computer and now i can deploy this application (SVS).
-Petri
-Petri
Would you like to reply?
Login or Register to post your comment.