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
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: Problem with wmic command in Installanywhere 2010 Enterprise
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 29, 2011
03:49 AM
Problem with wmic command in Installanywhere 2010 Enterprise
Hi
I am having a problem regarding the execution of the wmic command in IA.
I tried "Execute Command" and "Execute Script/Batch file" but the IA hangs whenever it tries to execute the wmic command.Also when i execute the below the commands in the windows command prompt it is always success full.
I tried the following combination's of the command.
a. wmic
b. wmic product get name,version
Any help is highly appreciated.
Regards
Anupam
I am having a problem regarding the execution of the wmic command in IA.
I tried "Execute Command" and "Execute Script/Batch file" but the IA hangs whenever it tries to execute the wmic command.Also when i execute the below the commands in the windows command prompt it is always success full.
I tried the following combination's of the command.
a. wmic
b. wmic product get name,version
Any help is highly appreciated.
Regards
Anupam
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 31, 2011
04:52 AM
I tried it and it is working well for the "b." option.
I used execute script/Batch action with "Suspend installation until process completes".
wmic product get name,version
wmic command can take some time to be executed ... so you have to wait for.
to debug, you can add a display message panel next to the script execution and get the "$EXECUTE_STDOUT$" to display script result.
for sure running "wmic" command alone will hang forever as it opens a new command and never exits.
--Jerome
I used execute script/Batch action with "Suspend installation until process completes".
wmic product get name,version
wmic command can take some time to be executed ... so you have to wait for.
to debug, you can add a display message panel next to the script execution and get the "$EXECUTE_STDOUT$" to display script result.
for sure running "wmic" command alone will hang forever as it opens a new command and never exits.
--Jerome
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)