Reputation: 249
I am using InstallShield 2008 to build an installation package (which in turn contains a .NET web application setup).
In the InstallShield project we have specified an internet shortcut to be created. The shortcut is to the local machine, and up until now we have had a Target specification like this:
http://localhost//TheApplication//Start.aspx
For technical reasons beyond my control/knowledge there is a requirement that "localhost" should be replaced with the actual name of the machine.
Documentation from both Flexera and Microsoft talks about a Windows Installer property ComputerName, but I have found no information on how/where this is to be used.
Some very fragmented findings suggested the property should be surounded by [brackets], so I naively tried altering the specification of the target to
http://[ComputerName]//TheApplication//Start.aspx
but this does not work. The actual shortcut then contains that exact text, the property is not "expanded".
I am looking for any information or hints on
Upvotes: 0
Views: 1424
Reputation: 3370
Try using the ComputerName
environment variable instead?
http://%COMPUTERNAME%/TheApplication/Start.aspx
Also, you shouldn't need all those double slashes (after the first set, that is).
Upvotes: 0