~ubuntu-branches/debian/squeeze/inkscape/squeeze

« back to all changes in this revision

Viewing changes to packaging/win32/portable/Other/Source/PortableApps.comInstallerCustom.nsh

  • Committer: Bazaar Package Importer
  • Author(s): Wolfram Quester
  • Date: 2009-11-30 17:23:20 UTC
  • mfrom: (1.3.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20091130172320-wml0kbvehpf3pevw
Tags: 0.47.0-1
* Imported Upstream version 0.47
* This is upstream version  0.47, I added the .0 because 
  I forget the ~ in the -pre versions.
* add proper Vcs-fields to debian/control
* upload sponsored by Guido Guenther <agx@debian.org>

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
!macro CustomCodePostInstall
 
2
        ${If} ${FileExists} "$INSTDIR\Data\settings\AppData" ; 0.46 Development Tests
 
3
                Rename "$INSTDIR\Data\settings\AppData" "$INSTDIR\Data\_settings"
 
4
        ${ElseIf} ${FileExists} "$INSTDIR\Data\settings\InkscapePortableAppData" ; 0.46 Pre-Release 1
 
5
                Rename "$INSTDIR\Data\settings\InkscapePortableAppData" "$INSTDIR\Data\_settings"
 
6
        ${EndIf}
 
7
        ${If} ${FileExists} "$INSTDIR\Data\_settings"
 
8
                Rename "$INSTDIR\Data\settings\InkscapePortableSettings.ini" "$INSTDIR\Data\_settings\InkscapePortableSettings.ini"
 
9
                RMDir /r "$INSTDIR\Data\settings"
 
10
                Rename "$INSTDIR\Data\settings" "$INSTDIR\Data\_settings"
 
11
        ${EndIf}
 
12
!macroend