Greetings,
I’ve been using v. 2.1.1007 for corporate PowerBuilder GUI deployments for a big while, and it almost never failed to fulfill my expectations. Unfortunately, this time it’s slightly different.
I need to update the Keys in the [HOSTS] Section of several INI files (total of 7) on users PCs across the company. Updates are consistent and are not conditional. For example, the following
should become this
While this, of course, is pretty straight-forward thanks to the INI File Dialog, the real problem is that different users have different sets of the seven INI files. Some may have all of them but most just have a subset, and the files they have vary from one machine to another. That is because not everybody have access to all seven GUI apps, and usually just some of them.
The behavior I'm observing is when an INI file is missing, MSI Factory just creates a new one on the fly with a single [HOSTS] section in it. A highly undesirable outcome. I expected MSI Factory to have a built-in smartness not to do anything in case the file could not be found, and process only the INIs that exist on a PC given.
I understand I can write a custom LUA script where I would loop through all the INIs (the folder they reside in and its location is consistent across all the machines). But that seems to be an overkill - isn’t there a simpler way of doing that? Could it be that I’m just missing one of the features where I would check some kind of an “Overwrite Only When Exists” box? Perhaps that would be a newer MSI Factory version? Please advise.
Any kind of help is greatly appreciated.
Thank you very much in advance,
Leon
I’ve been using v. 2.1.1007 for corporate PowerBuilder GUI deployments for a big while, and it almost never failed to fulfill my expectations. Unfortunately, this time it’s slightly different.
I need to update the Keys in the [HOSTS] Section of several INI files (total of 7) on users PCs across the company. Updates are consistent and are not conditional. For example, the following
Code:
[HOSTS] Delivery=[B][COLOR="blue"]appmprod[/COLOR][/B] ……………
Code:
[HOSTS] Delivery=[B][COLOR="darkgreen"]mmvprod[/COLOR][/B] ……………
The behavior I'm observing is when an INI file is missing, MSI Factory just creates a new one on the fly with a single [HOSTS] section in it. A highly undesirable outcome. I expected MSI Factory to have a built-in smartness not to do anything in case the file could not be found, and process only the INIs that exist on a PC given.
I understand I can write a custom LUA script where I would loop through all the INIs (the folder they reside in and its location is consistent across all the machines). But that seems to be an overkill - isn’t there a simpler way of doing that? Could it be that I’m just missing one of the features where I would check some kind of an “Overwrite Only When Exists” box? Perhaps that would be a newer MSI Factory version? Please advise.
Any kind of help is greatly appreciated.
Thank you very much in advance,
Leon
Comment