cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
HuanYang
Level 3

Incorrect InstallAnywhere Notice in Windows 11

Jump to solution

Hello Expert,

 

We are using licensed InstallAnywhere 2022 to make the installer.

It displays unlicensed information when running the installer in windows 11.

 

Could you please help here?

 
 
 

MicrosoftTeams-image (5).png

0 Kudos
(1) Solution
HuanYang
Level 3

The issue is solved.

Root cause: some necessary environment variables for InstallAnywhere 2022 cannot be loaded/identified in Python script files. (Not necessary in InstallAnywhere 2021)

Solution: explicitly add the System32\Wbem to the environment variable.

In the Compile.py, we add the following sentence

 

 

@staticmethod
def task_command_str(command, item):
batstr = ''
batstr += 'set PATH=C:\Windows\System32\Wbem;%PATH%\r\n'

 

 

View solution in original post

0 Kudos
(3) Replies
HuanYang
Level 3

same problem on win 10
MicrosoftTeams-image (6).png

0 Kudos

Usually the error which you are getting happens when an installer is built by a user other than the user who registered InstallAnywhere.
Please register InstallAnywhere as the same user who ran the build that generated that installer and then to run another build.

If you are using Jenkins then change Jenkins service to run as user who registered the product rather than SYSTEM.

0 Kudos
HuanYang
Level 3

The issue is solved.

Root cause: some necessary environment variables for InstallAnywhere 2022 cannot be loaded/identified in Python script files. (Not necessary in InstallAnywhere 2021)

Solution: explicitly add the System32\Wbem to the environment variable.

In the Compile.py, we add the following sentence

 

 

@staticmethod
def task_command_str(command, item):
batstr = ''
batstr += 'set PATH=C:\Windows\System32\Wbem;%PATH%\r\n'

 

 

0 Kudos