When switching from PAF 3.0 to 3.2 I noticed it changed the version in the appinfo.ini too. Now from 3.2/3.3 to 3.4 it won't change it. But it works from 3.0 to 3.4. It's because of line 482 in the InstallerWizard.nsi. I think the installer should always keep the PAF version accordingly to the one it's packaged with. Can we change it to $1 <="3.0" or just adding the missing versions.
You are here
[Fixed] PA.c Installer 3.4 won't update PAF version
      August 20, 2016 - 10:20pm
                
    
    
        
    #1
  
          [Fixed] PA.c Installer 3.4 won't update PAF version        
      
       
       
        
 Visit the Community page
 Visit the Community page Join our forums
 Join our forums Subscribe to our email newsletter
 Subscribe to our email newsletter Subscribe with RSS
 Subscribe with RSS Follow us on BlueSky
 Follow us on BlueSky Follow us on Facebook
 Follow us on Facebook Follow us on LinkedIn
 Follow us on LinkedIn Follow us on Mastodon
 Follow us on Mastodon
What if we changed lines 478 to 482 inclusive (at least, until that block is no longer needed) to:
${If} $1 >= "0.90 ${AndIf} $1 <= ${PORTABLEAPPS.COMFORMATVERSION}Possibly at the same time, what if we swapped lines 499 and 500? Move the version update out of that IF block entirely?
The comparison operators don't support decimals in NSIS IIRC. I'll just have to add the two missing ones for now.
Sometimes, the impossible can become possible, if you're awesome!
How about ${VersionCompare}?
This is fixed in 3.4.1. It's supposed to match the format version, not the installer version, and it's supposed to specifically upgrade certain things from certain versions. There were no issues with upgrades from 3.2 or 3.3, just that the version wasn't updated.
Sometimes, the impossible can become possible, if you're awesome!