This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Detecting virtual machine in windows server 2012
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 24, 2013
05:57 AM
Detecting virtual machine in windows server 2012
I have Installshield MSI project. I want to create an installer which can install limited components if installer is running on virtual machine. To detect virtual machine installshiled provides inbuild methods described here http://helpnet.flexerasoftware.com/installshield17helplib/DetectingVirtualMachine.htm I used this method but it is wrongly identifies windows server 2012 physical machine as a virtual machine. Do anyone know what could be the problem.
I created a custom action item for SetAllUsers.dll and set function name as IsDetectVM. Scheduled to execute just after "IsSetAllUsers" action item in "Install Exec Sequence". Then in install script "OnFirstUIBefore" SYSINFO.bIsVirtualMachine comes true.
Thanks in advance.
I created a custom action item for SetAllUsers.dll and set function name as IsDetectVM. Scheduled to execute just after "IsSetAllUsers" action item in "Install Exec Sequence". Then in install script "OnFirstUIBefore" SYSINFO.bIsVirtualMachine comes true.
Thanks in advance.
- Tags:
- virtual machine
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 25, 2013
07:04 AM
HI,
Please fallow the instructions properly and the rerun type is an boolean either 0 or 1 you can set that the feature condition for the futures.
either go with install script or Custom action don't do both the things.
Please fallow the instructions properly and the rerun type is an boolean either 0 or 1 you can set that the feature condition for the futures.
either go with install script or Custom action don't do both the things.