Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Detect machine to be on the network.


2 replies to this topic

installer_wow

installer_wow
  • Members
  • 8 posts

Posted 04 May 2004 - 07:05

Hi,
I want to detect whether a machine is on the network since my application requires an IP Address to work. If it is a stand alone machine then it should be on the loopback.
I don't want installation to continue, if this is not the condition. Can Windows Installer Service help me in this.
If not what will be the best way to do it?
I don't want to make things complex, since the installation itself has many overheads.

Any help with be highly appreciated.

Regards,
Akshay Arora.

luke_s

luke_s
  • Full Members
  • 532 posts

Posted 04 May 2004 - 08:10

You will need to write a custom action to do this. Windows Installer does not provide any standard actions to achieve this functionality.

dcleous

dcleous
  • Members
  • 38 posts

Posted 04 May 2004 - 21:34

Do you want to know the network connectivity or just if it ever was part of some Domain at all?

as Luke said you'll need to write your own CA but the below link might help you do that:

http://msdn.microsof...tworkparams.asp