--- In makemsi@yahoogroups.com, Dennis Bareis <dbareis@...> wrote:
>
> Hi,
>
> Rob Pilotte wrote:
> >
> >
> > --- In makemsi@yahoogroups.com, Dennis Bareis <dbareis@> wrote:
>
> > So I guess this is typical in building MSI's? We first write the
> scripts and get it to build (even with errors), then modify the MSI file
> to correct any errors. MAKEMSI will save us a lot of time in getting the
> MSI file "almost" right, then tweek it at the end...
>
> No. The links to the doco from my last email show a better way, however,
> lets say that you did need to make a change like you have because we
> couldn't figure out a better way, in that case you can simply manually
> make and test the change like you have then change your script to simply
> create it that way in the first place. The easiest way of doing this is:
>
>
>
http://makemsi-manual.dennisbareis.com/using_orca_and_msidiff_to_automate_msi_up\
dates.htm
>
> You will ignore most of the generated stuff except the appropriate
> table/row command and copy that to your script:
>
> http://makemsi-manual.dennisbareis.com/row.htm
>
>
> > I am ok with this process if this is the norm.
>
> The intention should be to create something fully automatically.
>
> Bye,
> Dennis
>
> --
> Dennis Bareis [Microsoft MVP] (dbareis@...)
> http://dennisbareis.com/
> Freeware Windows Installer creation tool (+ "ORCA automation"):
> http://makemsi.dennisbareis.com/
>
I see now. I added the code from your previous link before the FindFile command:
<$Property "SOMEDIR" Persist="Y" PersistHow="PRODUCT FOREVER">
<$DirectoryTree Key="SOMEDIR" Dir="[ProgramFilesFolder]\SomeProduct" CHANGE="\"
PrimaryFolder="Y">
And now it builds and works without errors. I'm starting to get how it all fits
together now. Thanks again!