Silent install InstallShield setup with license key parameter - installshield

I do have a setup that I silently install it from a bat file like above:
MySetup.exe /s /v/qn
The MySetup.exe InstallShield setup UI has 2 options:
- a demo mode install
- a license mode
With my bat file I am able to run installation of my setup only in demo mode.
There is any possibility to do a silent install in a bat file using License?
Thanks.

Related

How to run a command in Developer command prompt 2019 using Python

I'm trying to do build in Developer Command Prompt of VS 2019 using Python script.
Here is piece of code i'm using:
import os
os.system('start /wait C:/Windows/System32/cmd.exe "msbuild C:/Users/Desktop/Project/Project.sln"')
os.system("pause")
But it is not working.Developer command prompt is appearing for just 1sec and disappearing .
When i took variable to check if command was succesful or not ,it is giving variable result as zero,which means command is successful but i'm not able to see it in Developer command prompt.
result= os.system('start /wait C:/Windows/System32/cmd.exe /k ipconfig')
print (result)
Whereas when i'm trying the same command in windows command prompt it's working fine.
How to run a command in Developer command prompt 2019 using Python
Developer command prompt 2019 is a tool which is integrated into VS2019 IDE and provides environment parameters for various development modules.
However, the CMD.exe does not have these environment variables for these, so you cannot just use CMD.exe directly. Sorry that I am not familiar with python code and script. I suggest you could configure Developer command prompt 2019 into System environment variable PATHand then call cmd.exe which integrates the related variables to build your projects without any errors.
Suggestion
First, if you build your project on another new agent, you should install one of tool from step 1.
1) If you install VS2019 IDE in your local agent,please make sure that your local agent has VS2019 IDE and install the related workload about your project type.
Besides, if you install Build Tool for VS2019, please also install the related workload.
2) set the below path under System environment variable PATH
VS2019 IDE:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin
Build Tool for VS2019:
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin
3) Then you can call your python script as you described to build your projects.
Any feedback and concern will be expected.

how to pass property value in install shield?

I have created dummy MSI using wix and used APPDIR property with one folder path for installed location .I imported this msi in to install shield and installation got success via install shield installer but I want to change the APPDIR value through install shield installer UI . Please give me the right way to proceed in install shield .How to interact with msi in installed?
If you're calling the MSI directly from the command line it is just a matter of adding PROPERTY=VALUE on the command line after the install switches. If you're calling the InstallShield bootstrapper (setup.exe) then you'll have to wrap it in a /v switch.

How to make msi in linux?

I have a msi installer created on windows, I put the msi into linux platform and I use 7z to extract content of msi installer, after that I used lcab command for extract and change some files, also using lcab command I put all files that I modified into cab. Now I need to restore msi, any idea?
You can use msi-packager.
Can be installed on Ubuntu/Debian using:
sudo apt-get install msitools nodejs npm
sudo npm install -g msi-packager
https://www.npmjs.com/package/msi-packager
Here is the full procedure to manipulate MSI files under Linux. The idea is export the MSI content to XML, modify the XML and then repack de MSI file, you can modify even the EXE files, not only tables:
Install WINE 32 bits version
Install WineTricks, you need it for DLL and frameworks installation.
Install .NET2.0, .NET4.0, MSXML6, VCRUN6 with winetricks (easy as ./winetricks dotnet20 dotnet40 msxml6 vcrun6)
Download MSI2XML & XML2MSI executables from the [official project page(https://msi2xml.sourceforge.io/)
Execute wine msi2xml installer.msi
Edit the XML file, then, pack again with wine xml2msi installer.xml
You are done, here is your MSI file!
Hope that helps, with MSI2XML & XML2MSI you can manipulate MSI files under Windows but also under Linux with WINE and it's 100% working solution.

Make batch file for install two or more software

I want to create a batch file for installing two software jdk and mysql. I run batch file it install jdk and mysql server automatically.
Both JDK and MySQL server have an option for a silent installation, where you can specify the options without using the graphical installer.
JDK (example):jdk.exe /s ADDLOCAL="ToolsFeature,SourceFeature,PublicjreFeature"
See https://docs.oracle.com/javase/7/docs/webnotes/install/windows/jdk-installation-windows.html#jdk-silent-installation
MySQL: msiexec /i mysql-5.1.73.msi /quietSee https://docs.oracle.com/javase/7/docs/webnotes/install/windows/jdk-installation-windows.html#jdk-silent-installation
So, the installation shouldn't be a problem, as long as you already have the installation files.

ISMP silent mode installation on Linux

I'm trying to install some software packaged using ISMP (InstallShield Multi Platform). I'm trying to do a silent mode install something like ./setup.bin -silent which does the installation completely. But, I want to have an option to install specific features using some properties file or something similar in silent mode. Any help would be appreciated. Thanks.

Resources