I made an installer program that generated a configuration file during installation. The properties of the configuration file were decided by user input via dialogues and written into the file. There was no problem on generating the file via normal install with GUI. The problem is that the configuration file was not properly generated during silent install. To perform a silent install, I ran the command like below.
installer.exe /quiet PROP_1=www.example.com PROP_2=hello.world PROP_3=latest/instance-id
Expected result should be written to the config file like below.
URL=www.example.com
MESSAGE=hello.world
METADATA=latest/instance-id
What really written to the file was as below.
URL=www.example.com
MESSAGE=hello.world
METADATA=latestnstance-id
As you see, /i was disappeared. Even when I added quotes and backslashes, the result was not as I expected. When I configured the property as iron/iron/iron/iron, the result was ironronronron.
I use Advanced Installer 9.4 Enterprise Edition. This was tested in Windows 2003 R2 Server 32bit and Windows 2008 R2 Server 64bit.
FOLLOW US
Get the latest news in Application Packaging