[Interest] Qt Installer Framework 2.0.0 [ OS X ] - How to make installer replace a previous version?

Eddie Sutton edsutton at gmail.com
Wed Apr 8 21:49:02 CEST 2015


When I install a newer version, I receive message:

“The folder you selected contains an installation”.

Is there a way to install without removing, or force remove, if installing a newer version?

-Ed

/Applications/myapp/my.app

For version numbering, I use <major>.<minor>.<revision>

<?xml version="1.0" encoding="UTF-8"?>
<Installer>
    <Name>MyApp</Name>
    <Version>3.0.2072</Version>
    <Title>MyApp 3.0.2072</Title>
    <Publisher>Acme Electronics</Publisher>
    <StartMenuDir>TSR</StartMenuDir>
    <TargetDir>@ApplicationsDir@/myapp</TargetDir>
</Installer>

<?xml version="1.0" encoding="UTF-8"?>
<Package>
    <DisplayName>MyApp</DisplayName>
    <Description>Install MyApp</Description>
    <Version>3.0.2072</Version>
    <ReleaseDate>2015-04-08</ReleaseDate>
    <Licenses>
        <License name="License Agreement" file="license-agreement.txt" />
    </Licenses>
    <Default>true</Default>
    <Script>installscript.qs</Script>
</Package>









More information about the Interest mailing list