PDA

View Full Version : "reg file to merge at build" question



rowbot
02-09-2006, 12:17 PM
Hi, is it possible to set the "install if absent, uninstall if present" type-switches using reg files?

Are there any switches that can be used in the reg file itself?

Thanks,

RobertDickau
02-09-2006, 06:44 PM
I haven't tried it with the merge-at-build setting, but for a static import it looks as if you can trick it by mimicking the special characters described in the MSI "Registry Table" help. For example, this seemed to give the key the "uninstall entire key" flag, the last line being the trick...

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\SampleCo\SampleApp]
"test"="test"
"-"=""

rowbot
02-10-2006, 04:18 AM
Thanks Robert, is there a trick for "install if absent" ?

p.s. sorry for the duplicate posts... just trying to increase exposure.

RobertDickau
02-10-2006, 08:56 AM
You might see if one of the flags + or * does the trick (the "Registry Table" help page describes them)...