Creating Dynamic Machine name in package
Hi i am relatively new to packaging, i am currently packaging an application that needs to write unique machine names for ebery machine that the package is deployed to.
We only recently started to package applications in my company, before now we just ran the setup.exe on each individual machine and configured the registry setting. Now we are packaging and want to ensure the package dynamicly looks for and populates the unique machine name each time it is deployed.
Can anyone who has come accross this before assist.
Thanks
We only recently started to package applications in my company, before now we just ran the setup.exe on each individual machine and configured the registry setting. Now we are packaging and want to ensure the package dynamicly looks for and populates the unique machine name each time it is deployed.
Can anyone who has come accross this before assist.
Thanks
0 Comments
[ + ] Show comments
Answers (5)
Please log in to answer
Posted by:
Moley
17 years ago
Posted by:
sina
17 years ago
Posted by:
jmcfadyen
17 years ago
no that is not correct.
There is a property built into MSI which contains the machine details already.
[ComputerName] or [%ComputerName]
not %computername%
whereever you specify [% ] you can reference any machine environment variable.
for examples of such jump to a dos prompt and type
>set
this will give you a list of current machine based environment var's. All of them can be accesed from MSI via [%EnvironmentVar]
There is a property built into MSI which contains the machine details already.
[ComputerName] or [%ComputerName]
not %computername%
whereever you specify [% ] you can reference any machine environment variable.
for examples of such jump to a dos prompt and type
>set
this will give you a list of current machine based environment var's. All of them can be accesed from MSI via [%EnvironmentVar]
Posted by:
Moley
17 years ago
Posted by:
Tone
17 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.