/build/static/layout/Breadcrumb_cap_w.png

Infopulse PACE Suite, bug report, .REG import 2

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

REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\[ProductCode]]
"StubPath"="MSIEXEC /FUP [ProductCode]" /QB!
"Version"="1,0,0,0"

results in a slightly mangled entry for the value:

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

0 Comments   [ + ] Show comments

Answers (1)

Posted by: pace-support 5 years ago
10th Degree Black Belt
0
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 4.8.6.8 '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 4.7.6.4 '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".


 
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