Infopulse PACE Suite, bug report, .REG import 2

Importing a .REG containing a reference to a property, e.g.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\[ProductCode]]
"StubPath"="MSIEXEC /FUP [ProductCode]" /QB!

results in a slightly mangled entry for the value:

MSIEXEC /FUP [\[]ProductCode[\]]" /QB!

0 Comments   [ + ] Show comments

Answers (1)

Posted by: pace-support 2 years ago
3rd Degree Black Belt
We believe this is the correct behavior. Escaping registry values in square brackets ( like [Value]​ > [\[]Value[\]]) ensures delivering the original registry values to the target system with the MSI package. During the MSI installation, the escaped value  [\[]Value[\]] will be installed to the system as [Value]​, that is fully corresponds to its original state. Not escaped values (like [Value]​) will be replaced with the property, if such property exists, otherwise with the empty string. In most cases, captured registry contains values in square brackets that do not correspond to standard MSI properties and escaping such values secures delivering original (unchanged) registry values to the target system.

If you want to integrate Active Setup to your MSI package during building, just tick one checkbox in MSI Generator settings and Active Setup will be added automatically. See section 'Add Active Setup' in https://pacesuite.com/release/5.3.0/PACE-Suite-5.3.0-Getting-started.pdf

If you want to import REG file with MSI properties and process them as properties without escaping square brackets, use Import registry wizard of MSI Editor for this. There you can control how to save such values. See section 'Import Registry' in https://pacesuite.com/release/5.3.0/PACE-Suite-5.3.0-Getting-started.pdf

Note that MSI Generator could not have such option because it is used for building not only MSI packages, but also MSIX, APPX, APPV, THINAPP.

Import registry wizard of MSI Editor:

P.S. It seems that your REG file has wrong format as /QB! parameter goes after the quotation mark. Correct REG file format is "Name"="Value".

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ