IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Windows Discussion :

Installateur d'un programme windows


Sujet :

Windows

  1. #1
    Rédacteur/Modérateur
    Avatar de troumad
    Homme Profil pro
    Enseignant
    Inscrit en
    Novembre 2003
    Messages
    5 597
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 56
    Localisation : France, Rhône (Rhône Alpes)

    Informations professionnelles :
    Activité : Enseignant
    Secteur : Enseignement

    Informations forums :
    Inscription : Novembre 2003
    Messages : 5 597
    Points : 7 832
    Points
    7 832
    Par défaut Installateur d'un programme windows
    Bonjour

    Je fais en C un petit programme Windows. J'aimerais compléter le tout par un petit installateur qui crée le répertoire dans /Programs files/ , y dépose tous les fichiers utiles et crée deux associations de fichier.

    Comment faire ?
    Modérateur Mageia/Mandriva Linux
    Amicalement VOOotre
    Troumad Alias Bernard SIAUD à découvrir sur http://troumad.org
    Mes tutoriels : xrandr, algorigramme et C, xml et gtk...

  2. #2
    Rédacteur

    Avatar de ram-0000
    Homme Profil pro
    Consultant en sécurité
    Inscrit en
    Mai 2007
    Messages
    11 517
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 61
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations professionnelles :
    Activité : Consultant en sécurité
    Secteur : High Tech - Opérateur de télécommunications

    Informations forums :
    Inscription : Mai 2007
    Messages : 11 517
    Points : 50 367
    Points
    50 367
    Par défaut
    Regarde Inno Setup, c'est gratuit, c'est puissant et cela marche très bien.

    Le setup de e-verbe par exemple est fait avec Inno Setup
    Raymond
    Vous souhaitez participer à la rubrique Réseaux ? Contactez-moi

    Cafuro Cafuro est un outil SNMP dont le but est d'aider les administrateurs système et réseau à configurer leurs équipements SNMP réseau.
    e-verbe Un logiciel de conjugaison des verbes de la langue française.

    Ma page personnelle sur DVP
    .

  3. #3
    Membre habitué
    Homme Profil pro
    Inscrit en
    Avril 2004
    Messages
    340
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 340
    Points : 177
    Points
    177
    Par défaut
    Tu as une liste d'installateurs ici. J'utilise NSIS parceque je crosscompile sous Linux, donc j'utilise une outil qui doit fonctionner aussi sous cet OS
    L'Opus attire les Prélats

  4. #4
    Rédacteur/Modérateur
    Avatar de troumad
    Homme Profil pro
    Enseignant
    Inscrit en
    Novembre 2003
    Messages
    5 597
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 56
    Localisation : France, Rhône (Rhône Alpes)

    Informations professionnelles :
    Activité : Enseignant
    Secteur : Enseignement

    Informations forums :
    Inscription : Novembre 2003
    Messages : 5 597
    Points : 7 832
    Points
    7 832
    Par défaut
    Citation Envoyé par d'Oursse Voir le message
    Tu as une liste d'installateurs ici. J'utilise NSIS parceque je crosscompile sous Linux, donc j'utilise une outil qui doit fonctionner aussi sous cet OS
    Il me semble que je vais regarder celui-ci. Il a la licence qui me semble la meilleure !
    Modérateur Mageia/Mandriva Linux
    Amicalement VOOotre
    Troumad Alias Bernard SIAUD à découvrir sur http://troumad.org
    Mes tutoriels : xrandr, algorigramme et C, xml et gtk...

  5. #5
    Rédacteur/Modérateur
    Avatar de troumad
    Homme Profil pro
    Enseignant
    Inscrit en
    Novembre 2003
    Messages
    5 597
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 56
    Localisation : France, Rhône (Rhône Alpes)

    Informations professionnelles :
    Activité : Enseignant
    Secteur : Enseignement

    Informations forums :
    Inscription : Novembre 2003
    Messages : 5 597
    Points : 7 832
    Points
    7 832
    Par défaut
    Citation Envoyé par d'Oursse Voir le message
    Tu as une liste d'installateurs ici. J'utilise NSIS parceque je crosscompile sous Linux, donc j'utilise une outil qui doit fonctionner aussi sous cet OS
    Tu l'as récupérée sous quelle forme ta version Linux de NSIS ?
    Modérateur Mageia/Mandriva Linux
    Amicalement VOOotre
    Troumad Alias Bernard SIAUD à découvrir sur http://troumad.org
    Mes tutoriels : xrandr, algorigramme et C, xml et gtk...

  6. #6
    Membre habitué
    Homme Profil pro
    Inscrit en
    Avril 2004
    Messages
    340
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 340
    Points : 177
    Points
    177
    Par défaut
    j'ai une ubuntu, il existe un paquet debian. Je l'ai juste installe

    Sinon, il est toujours possible de le compiler
    L'Opus attire les Prélats

  7. #7
    Rédacteur/Modérateur
    Avatar de troumad
    Homme Profil pro
    Enseignant
    Inscrit en
    Novembre 2003
    Messages
    5 597
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 56
    Localisation : France, Rhône (Rhône Alpes)

    Informations professionnelles :
    Activité : Enseignant
    Secteur : Enseignement

    Informations forums :
    Inscription : Novembre 2003
    Messages : 5 597
    Points : 7 832
    Points
    7 832
    Par défaut
    Je viens de parcourir la doc. La chose simple que je cherche à faire, je ne l'ai pas trouvée...
    Il est évident de faire un .exe qui semble mettre où je souhaite mon programme.

    Mais après, je souhaite :
    1) mettre une entrée dans le menu démarrer
    2) lier mon programme à deux extensions
    3) lier les deux extensions à une icône
    Modérateur Mageia/Mandriva Linux
    Amicalement VOOotre
    Troumad Alias Bernard SIAUD à découvrir sur http://troumad.org
    Mes tutoriels : xrandr, algorigramme et C, xml et gtk...

  8. #8
    Rédacteur/Modérateur
    Avatar de troumad
    Homme Profil pro
    Enseignant
    Inscrit en
    Novembre 2003
    Messages
    5 597
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 56
    Localisation : France, Rhône (Rhône Alpes)

    Informations professionnelles :
    Activité : Enseignant
    Secteur : Enseignement

    Informations forums :
    Inscription : Novembre 2003
    Messages : 5 597
    Points : 7 832
    Points
    7 832
    Par défaut
    Citation Envoyé par ram-0000 Voir le message
    Regarde Inno Setup, c'est gratuit, c'est puissant et cela marche très bien.
    Je viens de tester. Ça semble assez naturel. Il y a un fichier assez compréhensible qui se fait. En le modifiant, je suis arriver à faire marcher mon système.
    Mais, je ne suis pas arrivé à dire que mon programme doit ouvrir des .pers et des .grp et aussi à associer une icône aux fichiers qui ont cette extension.
    Modérateur Mageia/Mandriva Linux
    Amicalement VOOotre
    Troumad Alias Bernard SIAUD à découvrir sur http://troumad.org
    Mes tutoriels : xrandr, algorigramme et C, xml et gtk...

  9. #9
    Membre éprouvé
    Inscrit en
    Juin 2006
    Messages
    795
    Détails du profil
    Informations forums :
    Inscription : Juin 2006
    Messages : 795
    Points : 1 270
    Points
    1 270
    Par défaut
    Il est possible d'associer un programme à une extension de fichier via la base de registre. Il y a un exemple ici.

    Dans HKEY_CLASSES_ROOT, il y a une liste de clées ayant pour nom une extension suivi de file (ex: txtfile pour les .txt).
    Pour chacune de ces clées, il existe une clée qui indique quel programme par défaut ouvre ce type de fichier. En reprenant notre exemple .txt, la clée qui détermine le prog par défaut à utiliser se situe dans HKEY_CLASSES_ROOT\txtfile\shell\open\command.
    Il suffit de modifier cette clée pour associer ton programme à cette extension.

    Pour les icônes, ca se trouve dans DefaultIcon (ex: HKEY_CLASSES_ROOT\txtfile\DefaultIcon)

  10. #10
    Rédacteur/Modérateur
    Avatar de troumad
    Homme Profil pro
    Enseignant
    Inscrit en
    Novembre 2003
    Messages
    5 597
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 56
    Localisation : France, Rhône (Rhône Alpes)

    Informations professionnelles :
    Activité : Enseignant
    Secteur : Enseignement

    Informations forums :
    Inscription : Novembre 2003
    Messages : 5 597
    Points : 7 832
    Points
    7 832
    Par défaut
    Anikinisan ?
    Ce que tu proposes, c'est pour trafiquer manuellement les registre de Windows ? Ce n'est pas pour aller avec un installateur automatique ?
    Modérateur Mageia/Mandriva Linux
    Amicalement VOOotre
    Troumad Alias Bernard SIAUD à découvrir sur http://troumad.org
    Mes tutoriels : xrandr, algorigramme et C, xml et gtk...

  11. #11
    Membre éprouvé
    Inscrit en
    Juin 2006
    Messages
    795
    Détails du profil
    Informations forums :
    Inscription : Juin 2006
    Messages : 795
    Points : 1 270
    Points
    1 270
    Par défaut
    Ben c'est comme ca que Windows gère les associations de fichiers : via la base de registre.
    Maintenant il y a peut-être d'autre solutions que tu pourras considérer comme plus 'propre' (qui au final devront forcément passer par cette modification de la bdr amha), mais je ne les connais pas.
    J'ai un peu de mal à comprendre pourquoi ca ne pourrait pas être une solution intégrée dans un installateur.
    Ce n'est pas sale de modifier la base de registre, elle est là pour ca. Le tout c'est de le faire correctement et pas à des fins malveillantes.

  12. #12
    Expert éminent sénior
    Avatar de Médinoc
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Septembre 2005
    Messages
    27 369
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40
    Localisation : France

    Informations professionnelles :
    Activité : Développeur informatique
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Septembre 2005
    Messages : 27 369
    Points : 41 518
    Points
    41 518
    Par défaut
    Dans les projets Windows Installer, les associations sont gérées ainsi également: Directement par des entrées du registre.

    Par contre, les entrées sont directement mises dans le projet, on n'est pas censé écrire un script qui trifouille le registre.
    SVP, pas de questions techniques par MP. Surtout si je ne vous ai jamais parlé avant.

    "Aw, come on, who would be so stupid as to insert a cast to make an error go away without actually fixing the error?"
    Apparently everyone.
    -- Raymond Chen.
    Traduction obligatoire: "Oh, voyons, qui serait assez stupide pour mettre un cast pour faire disparaitre un message d'erreur sans vraiment corriger l'erreur?" - Apparemment, tout le monde. -- Raymond Chen.

  13. #13
    Rédacteur/Modérateur
    Avatar de troumad
    Homme Profil pro
    Enseignant
    Inscrit en
    Novembre 2003
    Messages
    5 597
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 56
    Localisation : France, Rhône (Rhône Alpes)

    Informations professionnelles :
    Activité : Enseignant
    Secteur : Enseignement

    Informations forums :
    Inscription : Novembre 2003
    Messages : 5 597
    Points : 7 832
    Points
    7 832
    Par défaut
    Je suis bien d'accord avec tous les deux !
    Mon problème est de savoir comment configurer mon projet Windows Installer pour qu'il trifouille lui-même les entrées du registre ! Il faut que ce soit automatique afin que l'installateur lambda n'est pas à faire la manipulation lui -même !
    Modérateur Mageia/Mandriva Linux
    Amicalement VOOotre
    Troumad Alias Bernard SIAUD à découvrir sur http://troumad.org
    Mes tutoriels : xrandr, algorigramme et C, xml et gtk...

  14. #14
    Membre éprouvé
    Inscrit en
    Juin 2006
    Messages
    795
    Détails du profil
    Informations forums :
    Inscription : Juin 2006
    Messages : 795
    Points : 1 270
    Points
    1 270
    Par défaut
    Ah mais je n'ai pas dit que c'était à l'utilisateur de faire les modifs de la bdr lui-même.
    Toutes ces modifs, Inno Setup peut les faire via la section Registry prévue pour(voir aide Inno Setup)
    Ca gère même la désinstallation, si jamais tu souhaites virer la/les clée(s) de la bdr lors de la désinstallation de ton soft.

  15. #15
    Membre habitué
    Homme Profil pro
    Inscrit en
    Avril 2004
    Messages
    340
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 340
    Points : 177
    Points
    177
    Par défaut
    juste pour info, NSIS peut aussi gérer la base de registre (je l'ai fait)
    L'Opus attire les Prélats

  16. #16
    Rédacteur/Modérateur
    Avatar de troumad
    Homme Profil pro
    Enseignant
    Inscrit en
    Novembre 2003
    Messages
    5 597
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 56
    Localisation : France, Rhône (Rhône Alpes)

    Informations professionnelles :
    Activité : Enseignant
    Secteur : Enseignement

    Informations forums :
    Inscription : Novembre 2003
    Messages : 5 597
    Points : 7 832
    Points
    7 832
    Par défaut
    Un ou l'autre, ça m'est égal ! Mais en ce moment, j'ai juste à peine le temps de lire mes messages ! Je n'ai pas trop le temps de tester
    Si vous aviez des exemples de fichiers de configuration, je suis preneur !
    Modérateur Mageia/Mandriva Linux
    Amicalement VOOotre
    Troumad Alias Bernard SIAUD à découvrir sur http://troumad.org
    Mes tutoriels : xrandr, algorigramme et C, xml et gtk...

  17. #17
    Membre habitué
    Homme Profil pro
    Inscrit en
    Avril 2004
    Messages
    340
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 340
    Points : 177
    Points
    177
    Par défaut
    mon script NSIS:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
    452
    453
    454
    455
    456
    457
    458
    459
    460
    461
    462
    463
    464
    465
    466
    467
    468
    469
    470
    471
    472
    473
    474
    475
    476
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    488
    489
    490
    491
    492
    493
    494
    495
    496
    497
    498
    499
    500
    501
    502
    503
    504
    505
    506
    507
    508
    509
    510
    511
    512
    513
    514
    515
    516
    517
    518
    519
    520
    521
    522
    523
    524
    525
    526
    527
    528
    529
    530
    531
    532
    533
    534
    535
    536
    537
    538
    539
    540
    541
    542
    543
    544
    545
    546
    547
    548
    549
    550
    551
    552
    553
    554
    555
    556
    557
    558
    559
    560
    561
    562
    563
    564
    565
    566
    567
    568
    569
    570
    571
    572
    573
    574
    575
    576
    577
    578
    579
    580
    581
    582
    583
    584
    585
    586
    587
    588
    589
    590
    591
    592
    593
    594
    595
    596
    597
    598
    599
    600
    601
    602
    603
    604
    605
    606
    607
    608
    609
    610
    611
    612
    613
    614
    615
    616
    617
    618
    619
    620
    621
    622
    623
    624
    625
    626
    627
    628
    629
    630
    631
    632
    633
    634
    635
    636
    637
    638
    639
    640
    641
    642
    643
    644
    645
    646
    647
    648
    649
    650
    651
    652
    653
    654
    655
    656
    657
    658
    659
    660
    661
    662
    663
    664
    665
    666
    667
    668
    669
    670
    671
    672
    673
    674
    675
    676
    677
    678
    679
    680
    681
    682
    683
    684
    685
    686
    687
    688
    689
    690
    691
    ; EFL Wizard Setup
    ; Written by Vincent Torri
    
    ;-----------------------------
    ; Includes
    ;-----------------------------
    
    !include "MUI.nsh"
    !include "EnvVarUpdate.nsh"
    !include "winmessages.nsh"
    
    ;-----------------------------
    ; General
    ;-----------------------------
    
    Name Efl
    OutFile "Efl-1.0.0.exe"
    
    BrandingText "Enligthenment Foundation Libraries"
    
    !define release "-1.0.999"
    !define env_hklm 'HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"'
    
    InstallDir "$PROGRAMFILES\Efl"
    
    Var STARTMENU_FOLDER
    
    SetCompressor lzma
    
    ;-----------------------------
    ; Interface Settings
    ;-----------------------------
    
    !define MUI_ABORTWARNING
    
    ;-----------------------------
    ; Pages Settings
    ;-----------------------------
    
    ;!define MUI_ICON "e.ico"
    ;!define MUI_UNICON "e.ico"
    
    !define MUI_WELCOMEPAGE_TITLE "Welcome to the Efl Setup Wizard"
    !define MUI_WELCOMEPAGE_TEXT "This wizard will guide you through the installation of the Efl, which are libraries, part of the Enlightenment Fundation Libraries\r\n\r\nThis wizard will allow to install binaries and developpers files\r\n\r\nClick Next to continue"
    
    !define MUI_INSTFILESPAGE_FINISHHEADER_TEXT  "Installation finished"
    
    !define MUI_FINISHPAGE_NOAUTOCLOSE
    !define MUI_UNFINISHPAGE_NOAUTOCLOSE
    
    ;-----------------------------
    ; Pages
    ;-----------------------------
    
    !insertmacro MUI_PAGE_WELCOME
    !insertmacro MUI_PAGE_LICENSE "license.txt"
    !insertmacro MUI_PAGE_COMPONENTS
    !insertmacro MUI_PAGE_DIRECTORY
    !insertmacro MUI_PAGE_STARTMENU Application $STARTMENU_FOLDER
    !insertmacro MUI_PAGE_INSTFILES
    !insertmacro MUI_PAGE_FINISH
    
    !insertmacro MUI_UNPAGE_WELCOME
    !insertmacro MUI_UNPAGE_CONFIRM
    !insertmacro MUI_UNPAGE_LICENSE "license.txt"
    !insertmacro MUI_UNPAGE_DIRECTORY
    !insertmacro MUI_UNPAGE_INSTFILES
    !insertmacro MUI_UNPAGE_FINISH
    
    ;-----------------------------
    ; Languages
    ;-----------------------------
    
    !insertmacro MUI_LANGUAGE "English"
    
    ;-----------------------------
    ; Installer Sections
    ;-----------------------------
    
    Section "-Configuration"
      SetOutPath $INSTDIR\bin
      WriteUninstaller "$INSTDIR\Uninstall.exe"
      WriteRegStr HKLM \
        "Software\Microsoft\Windows\CurrentVersion\Uninstall\Efl" \
        "UninstallString" \
        "$INSTDIR\Uninstall.exe"
    
    !insertmacro MUI_STARTMENU_WRITE_BEGIN Application
        
      CreateDirectory "$SMPROGRAMS\$STARTMENU_FOLDER"
      CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Uninstall.lnk" "$INSTDIR\Uninstall.exe"
      
    !insertmacro MUI_STARTMENU_WRITE_END
    
    SectionEnd
    
    SectionGroup "Evil"
    
    Section "Binaries" SecEvilBin
      SetOutPath $INSTDIR\bin
      File "efl\bin\libevil-0.dll"
      File "efl\bin\libdl-0.dll"
    ;  File "efl\bin\evil_suite.exe"
    SectionEnd
    
    Section /o "Developper Files" SecEvilDev
      SetOutPath $INSTDIR\include
      File "efl\include\Evil.h"
      File "efl\include\evil_fcntl.h"
      File "efl\include\evil_langinfo.h"
      File "efl\include\evil_libgen.h"
      File "efl\include\evil_main.h"
      File "efl\include\evil_stdio.h"
      File "efl\include\evil_stdlib.h"
      File "efl\include\evil_string.h"
      File "efl\include\evil_time.h"
      File "efl\include\evil_unistd.h"
      File "efl\include\evil_util.h"
      File "efl\include\dlfcn.h"
      File "efl\include\fnmatch.h"
      File "efl\include\pwd.h"
      File "efl\include\sys\mman.h"
      SetOutPath $INSTDIR\lib
      File "efl\lib\libevil.a"
      File "efl\lib\libevil.dll.a"
      SetOutPath $INSTDIR\lib\pkgconfig
      File "efl\lib\pkgconfig\evil.pc"
    SectionEnd
    
    Section "Dependancies" SecEvilDep
      SetOutPath $INSTDIR\bin
      File "efl\bin\libgcc_s_dw2-1.dll"
      File "efl\bin\libstdc++-6.dll"
    SectionEnd
    
    SectionGroupEnd
    
    SectionGroup "Eina"
    
    Section "Binaries" SecEinaBin
      SetOutPath $INSTDIR\bin
      File "efl\bin\libeina-1.dll"
    ;  SetOutPath $INSTDIR\bin\eina\modules\mp\fixed_bitmap\mingw32-i686-1.0.0
    ;  File "efl\bin\eina\modules\mp\fixed_bitmap\mingw32-i686-1.0.0\module.dll"
    ;  SetOutPath $INSTDIR\bin\eina\modules\mp\pass_through\mingw32-i686-1.0.0
    ;  File "efl\bin\eina\modules\mp\pass_through\mingw32-i686-1.0.0\module.dll"
    SectionEnd
    
    Section /o "Developper Files" SecEinaDev
      SetOutPath $INSTDIR\include\eina-1
      File "efl\include\eina-1\Eina.h"
      File "efl\include\eina-1\eina_config.h"
      File "efl\include\eina-1\eina\*.h"
      File "efl\include\eina-1\eina\*.x"
      SetOutPath $INSTDIR\lib
      File "efl\lib\libeina.a"
      File "efl\lib\libeina.dll.a"
      SetOutPath $INSTDIR\lib\pkgconfig
      File "efl\lib\pkgconfig\eina.pc"
    SectionEnd
    
    Section "Dependancies" SecEinaDep
      SetOutPath $INSTDIR\bin
      File "efl\bin\iconv.dll"
    SectionEnd
    
    SectionGroupEnd
    
    SectionGroup "Eet"
    
    Section "Binaries" SecEetBin
      SetOutPath $INSTDIR\bin
      File "efl\bin\libeet-1.dll"
      File "efl\bin\eet.exe"
    SectionEnd
    
    Section /o "Developper Files" SecEetDev
      SetOutPath $INSTDIR\include\eet-1
      File "efl\include\eet-1\Eet.h"
      SetOutPath $INSTDIR\lib
      File "efl\lib\libeet.a"
      File "efl\lib\libeet.dll.a"
      SetOutPath $INSTDIR\lib\pkgconfig
      File "efl\lib\pkgconfig\eet.pc"
    SectionEnd
    
    Section "Dependancies" SecEetDep
      SetOutPath $INSTDIR\bin
      File "efl\bin\zlib1.dll"
      File "efl\bin\jpeg62.dll"
    SectionEnd
    
    SectionGroupEnd
    
    SectionGroup "Evas"
    
    Section "Binaries" SecEvasBin
      SetOutPath $INSTDIR\bin
      File "efl\bin\libevas-1.dll"
    
      SetOutPath $INSTDIR\bin\evas\modules\engines\buffer\mingw32-i686${release}
      File "efl\lib\evas\modules\engines\buffer\mingw32-i686${release}\module.dll"
    ;  SetOutPath $INSTDIR\bin\evas\modules\engines\direct3d\mingw32-i686${release}
    ;  File "efl\bin\evas\modules\engines\direct3d\mingw32-i686${release}\module.dll"
    ;  SetOutPath $INSTDIR\bin\evas\modules\engines\gl_glew\mingw32-i686${release}
    ;  File "efl\bin\evas\modules\engines\gl_glew\mingw32-i686${release}\module.dll"
    ;  SetOutPath $INSTDIR\bin\evas\modules\engines\software_16\mingw32-i686${release}
    ;  File "efl\lib\evas\modules\engines\software_16\mingw32-i686${release}\module.dll"
    ;  SetOutPath $INSTDIR\bin\evas\modules\engines\software_16_ddraw\mingw32-i686${release}
    ;  File "efl\lib\evas\modules\engines\software_16_ddraw\mingw32-i686${release}\module.dll"
    ;  SetOutPath $INSTDIR\bin\evas\modules\engines\software_ddraw\mingw32-i686${release}
    ;  File "efl\lib\evas\modules\engines\software_ddraw\mingw32-i686${release}\module.dll"
      SetOutPath $INSTDIR\bin\evas\modules\engines\software_gdi\mingw32-i686${release}
      File "efl\lib\evas\modules\engines\software_gdi\mingw32-i686${release}\module.dll"
      SetOutPath $INSTDIR\bin\evas\modules\engines\software_generic\mingw32-i686${release}
      File "efl\lib\evas\modules\engines\software_generic\mingw32-i686${release}\module.dll"
    
      SetOutPath $INSTDIR\bin\evas\modules\loaders\bmp\mingw32-i686${release}
      File "efl\lib\evas\modules\loaders\bmp\mingw32-i686${release}\module.dll"
      SetOutPath $INSTDIR\bin\evas\modules\loaders\eet\mingw32-i686${release}
      File "efl\lib\evas\modules\loaders\eet\mingw32-i686${release}\module.dll"
      SetOutPath $INSTDIR\bin\evas\modules\loaders\gif\mingw32-i686${release}
      File "efl\lib\evas\modules\loaders\gif\mingw32-i686${release}\module.dll"
      SetOutPath $INSTDIR\bin\evas\modules\loaders\jpeg\mingw32-i686${release}
      File "efl\lib\evas\modules\loaders\jpeg\mingw32-i686${release}\module.dll"
      SetOutPath $INSTDIR\bin\evas\modules\loaders\pmaps\mingw32-i686${release}
      File "efl\lib\evas\modules\loaders\pmaps\mingw32-i686${release}\module.dll"
      SetOutPath $INSTDIR\bin\evas\modules\loaders\png\mingw32-i686${release}
      File "efl\lib\evas\modules\loaders\png\mingw32-i686${release}\module.dll"
      SetOutPath $INSTDIR\bin\evas\modules\loaders\tga\mingw32-i686${release}
      File "efl\lib\evas\modules\loaders\tga\mingw32-i686${release}\module.dll"
      SetOutPath $INSTDIR\bin\evas\modules\loaders\tiff\mingw32-i686${release}
      File "efl\lib\evas\modules\loaders\tiff\mingw32-i686${release}\module.dll"
      SetOutPath $INSTDIR\bin\evas\modules\loaders\xpm\mingw32-i686${release}
      File "efl\lib\evas\modules\loaders\xpm\mingw32-i686${release}\module.dll"
    
      SetOutPath $INSTDIR\bin\evas\modules\savers\eet\mingw32-i686${release}
      File "efl\lib\evas\modules\savers\eet\mingw32-i686${release}\module.dll"
      SetOutPath $INSTDIR\bin\evas\modules\savers\png\mingw32-i686${release}
      File "efl\lib\evas\modules\savers\png\mingw32-i686${release}\module.dll"
      SetOutPath $INSTDIR\bin\evas\modules\savers\tiff\mingw32-i686${release}
      File "efl\lib\evas\modules\savers\tiff\mingw32-i686${release}\module.dll"
    SectionEnd
    
    Section "Dependancies" SecEvasDep
      SetOutPath $INSTDIR\bin
      File "efl\bin\libxml2-2.dll"
      File "efl\bin\libfontconfig-1.dll"
      File "efl\bin\freetype6.dll"
    ;  File "efl\bin\glew32.dll"
      File "efl\bin\libpng12-0.dll"
      File "efl\bin\libungif4.dll"
      File "efl\bin\libtiff-3.dll"
    
      SetOutPath $INSTDIR\etc\fonts
      File "efl\etc\fonts\fonts.conf"
      File "efl\etc\fonts\fonts.dtd"
    ;  SetOutPath $INSTDIR\etc\fonts\conf.avail
    ;  File "efl\etc\fonts\conf.avail\*.conf"
    ;  SetOutPath $INSTDIR\etc\fonts\conf.d
    ;  File "efl\etc\fonts\conf.d\*.conf"
    SectionEnd
    
    Section /o "Developper Files" SecEvasDev
      SetOutPath $INSTDIR\include\evas-1
      File "efl\include\evas-1\Evas.h"
      SetOutPath $INSTDIR\lib
      File "efl\lib\libevas.a"
      File "efl\lib\libevas.dll.a"
      SetOutPath $INSTDIR\lib\pkgconfig
      File "efl\lib\pkgconfig\evas*.pc"
    SectionEnd
    
    SectionGroupEnd
    
    SectionGroup "Ecore"
    
    Section "Binaries" SecEcoreBin
      SetOutPath $INSTDIR\bin
      File "efl\bin\libecore*-1.dll"
    SectionEnd
    
    Section /o "Developper Files" SecEcoreDev
      SetOutPath $INSTDIR\include\ecore-1
      File "efl\include\ecore-1\Ecore*.h"
      SetOutPath $INSTDIR\lib
      File "efl\lib\libecore*.a"
      SetOutPath $INSTDIR\lib\pkgconfig
      File "efl\lib\pkgconfig\ecore*.pc"
    SectionEnd
    
    Section "Dependancies" SecEcoreDep
      SetOutPath $INSTDIR\bin
    ;  File "efl\bin\pthreadGC2.dll"
      File "efl\bin\libintl-8.dll"
    SectionEnd
    
    SectionGroupEnd
    
    SectionGroup "Embryo"
    
    Section "Binaries" SecEmbryoBin
      SetOutPath $INSTDIR\bin
      File "efl\bin\libembryo-1.dll"
      File "efl\bin\embryo_cc.exe"
    
      WriteRegExpandStr ${env_hklm} "EMBRYO_PREFIX" "$INSTDIR\bin"
      ; make sure windows knows about the change
      SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000
    
    SectionEnd
    
    Section /o "Developper Files" SecEmbryoDev
      SetOutPath $INSTDIR\include\embryo-1
      File "efl\include\\embryo-1\Embryo.h"
      SetOutPath $INSTDIR\lib
      File "efl\lib\libembryo.a"
      File "efl\lib\libembryo.dll.a"
      SetOutPath $INSTDIR\lib\pkgconfig
      File "efl\lib\pkgconfig\embryo.pc"
    SectionEnd
    
    SectionGroupEnd
    
    SectionGroup "Edje"
    
    Section "Binaries" SecEdjeBin
      SetOutPath $INSTDIR\bin
      File "efl\bin\libedje-1.dll"
      File "efl\bin\edje_cc.exe"
      File "efl\bin\edje_decc.exe"
      File "efl\bin\edje_external_inspector.exe"
      File "efl\bin\edje_inspector.exe"
      File "efl\bin\edje_player.exe"
    
      WriteRegExpandStr ${env_hklm} "EDJE_MODULES_DIR" "$INSTDIR\bin"
      ; make sure windows knows about the change
      SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000
    SectionEnd
    
    Section "Dependancies" SecEdjeDep
      SetOutPath $INSTDIR\bin
      File "efl\bin\lua51.dll"
    SectionEnd
    
    Section /o "Developper Files" SecEdjeDev
      SetOutPath $INSTDIR\include\edje-1
      File "efl\include\edje-1\Edje.h"
      SetOutPath $INSTDIR\lib
      File "efl\lib\libedje.a"
      File "efl\lib\libedje.dll.a"
      SetOutPath $INSTDIR\lib\pkgconfig
      File "efl\lib\pkgconfig\edje.pc"
    SectionEnd
    
    SectionGroupEnd
    
    ;SectionGroup "Efreet"
    
    ;Section "Binaries" SecEfreetBin
    ;  SetOutPath $INSTDIR\bin
    ;  File "efl\bin\libefreet${release}-0.dll"
    ;  File "efl\bin\libefreet_mime${release}-0.dll"
    ;  File "efl\bin\libefreet_trash${release}-0.dll"
    ;  SetOutPath $APPDATA\Efl\icons
    ;  File /r "efl\share\icons\*.*"
    ;SectionEnd
    
    ;Section /o "Developper Files" SecEfreetDev
    ;  SetOutPath $INSTDIR\include
    ;  File "efl\include\efreet\*.h"
    ;  SetOutPath $INSTDIR\lib
    ;  File "efl\lib\libefreet.a"
    ;  File "efl\lib\libefreet_mime.a"
    ;  File "efl\lib\libefreet_trash.a"
    ;  File "efl\lib\libedje.dll.a"
    ;  File "efl\lib\libefreet_mime.dll.a"
    ;  File "efl\lib\libefreet_trash.dll.a"
    ;  SetOutPath $INSTDIR\lib\pkgconfig
    ;  File "efl\lib\pkgconfig\efreet.pc"
    ;  File "efl\lib\pkgconfig\efreet-mime.pc"
    ;  File "efl\lib\pkgconfig\efreet-trash.pc"
    ;SectionEnd
    
    ;SectionGroupEnd
    
    SectionGroup "Elementary"
    
    Section "Binaries" SecElementaryBin
      SetOutPath $INSTDIR\bin
      File "efl\bin\libelementary-ver-pre-svn-09-0.dll"
      SetOutPath $INSTDIR\bin\edje\modules\elm\mingw32-i686-1.0.0
      File "efl\lib\edje\modules\elm\mingw32-i686-1.0.0\module.dll"
    SectionEnd
    
    Section /o "Developper Files" SecElementaryDev
      SetOutPath $INSTDIR\include\elementary-0
      File "efl\include\elementary-0\Elementary.h"
      File "efl\include\elementary-0\elm_widget.h"
    ;  File "efl\include\elementary-0\elementary\elementary_config.h"
      SetOutPath $INSTDIR\lib
      File "efl\lib\libelementary*.a"
      SetOutPath $INSTDIR\lib\pkgconfig
      File "efl\lib\pkgconfig\elementary.pc"
    SectionEnd
    
    SectionGroupEnd
    
    SectionGroup "EFL binaries"
    
    Section "Expedite" SecExpediteBin
      SetOutPath $INSTDIR\bin
      File "efl\bin\expedite.exe"
    
    
      SetOutPath $INSTDIR\share\expedite\images
      File "efl\share\expedite\data\3d.png"
      File "efl\share\expedite\data\bar.png"
      File "efl\share\expedite\data\blend.png"
      File "efl\share\expedite\data\bug.png"
      File "efl\share\expedite\data\bulb.png"
      File "efl\share\expedite\data\camera.png"
      File "efl\share\expedite\data\colorbox.png"
      File "efl\share\expedite\data\cube1.png"
      File "efl\share\expedite\data\cube2.png"
      File "efl\share\expedite\data\cube3.png"
      File "efl\share\expedite\data\cube4.png"
      File "efl\share\expedite\data\cube5.png"
      File "efl\share\expedite\data\cube6.png"
      File "efl\share\expedite\data\data.png"
      File "efl\share\expedite\data\e.png"
      File "efl\share\expedite\data\e-logo.png"
      File "efl\share\expedite\data\error.png"
      File "efl\share\expedite\data\exit.png"
      File "efl\share\expedite\data\flower.png"
      File "efl\share\expedite\data\frame.png"
      File "efl\share\expedite\data\house.png"
      File "efl\share\expedite\data\icon_sel.png"
      File "efl\share\expedite\data\im1.png"
      File "efl\share\expedite\data\im2.png"
      File "efl\share\expedite\data\image.png"
      File "efl\share\expedite\data\logo.png"
      File "efl\share\expedite\data\map.png"
      File "efl\share\expedite\data\mushroom.png"
      File "efl\share\expedite\data\pan.png"
      File "efl\share\expedite\data\pulse.png"
      File "efl\share\expedite\data\rect.png"
      File "efl\share\expedite\data\text.png"
      File "efl\share\expedite\data\text_sel.png"
      File "efl\share\expedite\data\tp.png"
      File "efl\share\expedite\data\typewriter.png"
      File "efl\share\expedite\data\warning.png"
      File "efl\share\expedite\data\watch.png"
      File "efl\share\expedite\data\widgets.png"
    
      SetOutPath $INSTDIR\share\fonts
      File "efl\share\expedite\data\Kochi.ttf"
      File "efl\share\expedite\data\Vera.ttf"
      File "efl\share\expedite\data\VeraBd.ttf"
      File "efl\share\expedite\data\VeraBI.ttf"
      File "efl\share\expedite\data\VeraIt.ttf"
      File "efl\share\expedite\data\VeraMoBd.ttf"
      File "efl\share\expedite\data\VeraMoBI.ttf"
      File "efl\share\expedite\data\VeraMoIt.ttf"
      File "efl\share\expedite\data\VeraMono.ttf"
      File "efl\share\expedite\data\VeraSe.ttf"
      File "efl\share\expedite\data\VeraSeBd.ttf"
      File "efl\share\expedite\data\fonts.alias"
      File "efl\share\expedite\data\fonts.dir"
    
      WriteRegExpandStr ${env_hklm} "EXPEDITE_DATA_DIR" "$INSTDIR\share\expedite\images"
      WriteRegExpandStr ${env_hklm} "EXPEDITE_FONTS_DIR" "$INSTDIR\share\fonts"
      ; make sure windows knows about the change
      SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000
    
      SetOutPath $INSTDIR\bin
      CreateShortCut "$INSTDIR\bin\expedite_gdi.lnk" "$INSTDIR\bin\expedite.exe" "-e gdi"
    ;  CreateShortCut "$INSTDIR\bin\expedite_ddraw.lnk" "$INSTDIR\bin\expedite.exe" "-e ddraw"
    ;  CreateShortCut "$INSTDIR\bin\expedite_ddraw_16.lnk" "$INSTDIR\bin\expedite.exe" "-e ddraw-16"
    ;  CreateShortCut "$INSTDIR\bin\expedite_d3d.lnk" "$INSTDIR\bin\expedite.exe" "-e direct3d"
    ;  CreateShortCut "$INSTDIR\bin\expedite_gl.lnk" "$INSTDIR\bin\expedite.exe" "-e gl-glew"
    
    !insertmacro MUI_STARTMENU_WRITE_BEGIN Application
    
      SetOutPath $INSTDIR\bin
      CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\expedite_gdi.lnk" "$INSTDIR\bin\expedite_gdi.lnk"
    ;  CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\expedite_ddraw.lnk" "$INSTDIR\bin\expedite_ddraw.lnk"
    ;  CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\expedite_ddraw_16.lnk" "$INSTDIR\bin\expedite_ddraw_16.lnk"
    ;  CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\expedite_d3d.lnk" "$INSTDIR\bin\expedite_d3d.lnk"
    ;  CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\expedite_gl.lnk" "$INSTDIR\bin\expedite_gl.lnk"
      
    !insertmacro MUI_STARTMENU_WRITE_END
    
    SectionEnd
    
    Section "Elementary Test" SecElementaryTestBin
      SetOutPath $INSTDIR\bin
      File "efl\bin\elementary_config.exe"
      File "efl\bin\elementary_test.exe"
      SetOutPath $INSTDIR\share\elementary\themes
      File "efl\share\elementary\themes\default.edj"
    
      WriteRegExpandStr ${env_hklm} "ELM_ENGINE" "gdi"
      WriteRegExpandStr ${env_hklm} "ELM_DATA_DIR" "$INSTDIR\share\elementary"
      ; make sure windows knows about the change
      SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000
    
    !insertmacro MUI_STARTMENU_WRITE_BEGIN Application
    
      SetOutPath $INSTDIR\bin
      CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\elementary_config.lnk" "$INSTDIR\bin\elementary_config.exe"
      CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\elementary_test.lnk" "$INSTDIR\bin\elementary_test.exe"
      
    !insertmacro MUI_STARTMENU_WRITE_END
    
    SectionEnd
    
    SectionGroupEnd
    
    LangString DESC_SecEvilBin ${LANG_ENGLISH} "The Evil DLL core file"
    LangString DESC_SecEvilDev ${LANG_ENGLISH} "The Evil developper files (header files and static and import library files)."
    
    LangString DESC_SecEinaBin ${LANG_ENGLISH} "The Eina DLL core file"
    LangString DESC_SecEinaDev ${LANG_ENGLISH} "The Eina developper files (header files and static and import library files)."
    
    LangString DESC_SecEetBin ${LANG_ENGLISH} "The Eet DLL core file"
    LangString DESC_SecEetDep ${LANG_ENGLISH} "The Eet DLL dependancies. Include Zlib and Libjpeg"
    LangString DESC_SecEetDev ${LANG_ENGLISH} "The Eet developper files (header files and static and import library files)."
    
    LangString DESC_SecEvasBin ${LANG_ENGLISH} "The Evas DLL core file and modules"
    LangString DESC_SecEvasDep ${LANG_ENGLISH} "The Evas DLL dependancies. Include Fontconfig, Freetype, Glew, Libpng and Libungif"
    LangString DESC_SecEvasDev ${LANG_ENGLISH} "The Evas developper files (header files and static and import library files)."
    
    LangString DESC_SecEcoreBin ${LANG_ENGLISH} "The Ecore DLL core file"
    LangString DESC_SecEcoreDev ${LANG_ENGLISH} "The Ecore developper files (header files and static and import library files)."
    
    LangString DESC_SecEmbryoBin ${LANG_ENGLISH} "The Embryo DLL core file"
    LangString DESC_SecEmbryoDev ${LANG_ENGLISH} "The Embryo developper files (header files and static and import library files)."
    
    LangString DESC_SecEdjeBin ${LANG_ENGLISH} "The Edje DLL core file"
    LangString DESC_SecEdjeDev ${LANG_ENGLISH} "The Edje developper files (header files and static and import library files)."
    
    ;LangString DESC_SecEfreetBin ${LANG_ENGLISH} "The Efreet DLL core file"
    ;LangString DESC_SecEfreetDev ${LANG_ENGLISH} "The Efreet developper files (header files and static and import library files)."
    
    LangString DESC_SecElementaryBin ${LANG_ENGLISH} "The Elementary DLL core file"
    LangString DESC_SecElementaryDev ${LANG_ENGLISH} "The Elementary developper files (header files and static and import library files)."
    
    LangString DESC_SecExpediteBin ${LANG_ENGLISH} "The Expedite benchmark suite"
    LangString DESC_SecElementaryTestBin ${LANG_ENGLISH} "The Elementary Test program"
    
    !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
      !insertmacro MUI_DESCRIPTION_TEXT ${SecEvilBin} $(DESC_SecEvilBin)
      !insertmacro MUI_DESCRIPTION_TEXT ${SecEvilDev} $(DESC_SecEvilDev)
    
      !insertmacro MUI_DESCRIPTION_TEXT ${SecEinaBin} $(DESC_SecEinaBin)
      !insertmacro MUI_DESCRIPTION_TEXT ${SecEinaDev} $(DESC_SecEinaDev)
    
      !insertmacro MUI_DESCRIPTION_TEXT ${SecEetBin} $(DESC_SecEetBin)
      !insertmacro MUI_DESCRIPTION_TEXT ${SecEetDep} $(DESC_SecEetDep)
      !insertmacro MUI_DESCRIPTION_TEXT ${SecEetDev} $(DESC_SecEetDev)
    
      !insertmacro MUI_DESCRIPTION_TEXT ${SecEvasBin} $(DESC_SecEvasBin)
      !insertmacro MUI_DESCRIPTION_TEXT ${SecEvasDep} $(DESC_SecEvasDep)
      !insertmacro MUI_DESCRIPTION_TEXT ${SecEvasDev} $(DESC_SecEvasDev)
    
      !insertmacro MUI_DESCRIPTION_TEXT ${SecEcoreBin} $(DESC_SecEcoreBin)
      !insertmacro MUI_DESCRIPTION_TEXT ${SecEcoreDev} $(DESC_SecEcoreDev)
    
      !insertmacro MUI_DESCRIPTION_TEXT ${SecEmbryoBin} $(DESC_SecEmbryoBin)
      !insertmacro MUI_DESCRIPTION_TEXT ${SecEmbryoDev} $(DESC_SecEmbryoDev)
    
      !insertmacro MUI_DESCRIPTION_TEXT ${SecEdjeBin} $(DESC_SecEdjeBin)
      !insertmacro MUI_DESCRIPTION_TEXT ${SecEdjeDev} $(DESC_SecEdjeDev)
    
    ;  !insertmacro MUI_DESCRIPTION_TEXT ${SecEfreetBin} $(DESC_SecEfreetBin)
    ;  !insertmacro MUI_DESCRIPTION_TEXT ${SecEfreetDev} $(DESC_SecEfreetDev)
    
      !insertmacro MUI_DESCRIPTION_TEXT ${SecElementaryBin} $(DESC_SecElementaryBin)
      !insertmacro MUI_DESCRIPTION_TEXT ${SecElementaryDev} $(DESC_SecElementaryDev)
    
      !insertmacro MUI_DESCRIPTION_TEXT ${SecExpediteBin} $(DESC_SecExpediteBin)
      !insertmacro MUI_DESCRIPTION_TEXT ${SecElementaryTestBin} $(DESC_SecElementaryTestBin)
    !insertmacro MUI_FUNCTION_DESCRIPTION_END
    
    ;-----------------------------
    ; Uninstaller Sections
    ;-----------------------------
    
    Section "Uninstall"
      Delete "$INSTDIR\bin\*"
      Delete "$INSTDIR\include\*"
      Delete "$INSTDIR\lib\*"
      Delete "$INSTDIR\etc\*"
      Delete "$INSTDIR\share\*"
    
      Delete "$INSTDIR\lib\eina\mp\*.dll"
    
      Delete "$INSTDIR\lib\evas\modules\engines\buffer\mingw32-i686${release}\module.dll"
    ;  Delete "$INSTDIR\lib\evas\modules\engines\direct3d\mingw32-i686${release}\module.dll"
    ;  Delete "$INSTDIR\lib\evas\modules\engines\gl_glew\mingw32-i686${release}\module.dll"
      Delete "$INSTDIR\lib\evas\modules\engines\software_16\mingw32-i686${release}\module.dll"
      Delete "$INSTDIR\lib\evas\modules\engines\software_16_ddraw\mingw32-i686${release}\module.dll"
      Delete "$INSTDIR\lib\evas\modules\engines\software_ddraw\mingw32-i686${release}\module.dll"
      Delete "$INSTDIR\lib\evas\modules\engines\software_gdi\mingw32-i686${release}\module.dll"
      Delete "$INSTDIR\lib\evas\modules\engines\software_generic\mingw32-i686${release}\module.dll"
    
    
      Delete "$INSTDIR\lib\evas\modules\loaders\bmp\mingw32-i686${release}\module.dll"
      Delete "$INSTDIR\lib\evas\modules\loaders\eet\mingw32-i686${release}\module.dll"
      Delete "$INSTDIR\lib\evas\modules\loaders\gif\mingw32-i686${release}\module.dll"
      Delete "$INSTDIR\lib\evas\modules\loaders\jpeg\mingw32-i686${release}\module.dll"
      Delete "$INSTDIR\lib\evas\modules\loaders\pmaps\mingw32-i686${release}\module.dll"
      Delete "$INSTDIR\lib\evas\modules\loaders\png\mingw32-i686${release}\module.dll"
      Delete "$INSTDIR\lib\evas\modules\loaders\tiff\mingw32-i686${release}\module.dll"
      Delete "$INSTDIR\lib\evas\modules\loaders\tga\mingw32-i686${release}\module.dll"
      Delete "$INSTDIR\lib\evas\modules\loaders\xpm\mingw32-i686${release}\module.dll"
    
      Delete "$INSTDIR\lib\evas\modules\savers\eet\mingw32-i686${release}\module.dll"
      Delete "$INSTDIR\lib\evas\modules\savers\png\mingw32-i686${release}\module.dll"
      Delete "$INSTDIR\lib\evas\modules\savers\tiff\mingw32-i686${release}\module.dll"
    
      RMDir /r "$INSTDIR"
      Delete "$INSTDIR\bin\expedite.exe"
    ;  Delete "$INSTDIR\bin\expedite_ddraw.lnk"
    ;  Delete "$INSTDIR\bin\expedite_ddraw_16.lnk"
    ;  Delete "$INSTDIR\bin\expedite_d3d.lnk"
      Delete "$INSTDIR\bin\expedite_gdi.lnk"
    ;  Delete "$INSTDIR\bin\expedite_gl.lnk"
      Delete "$INSTDIR\Uninstall.exe"
      RMDir /r "$INSTDIR\bin"
      RMDir "$INSTDIR"
    
      DeleteRegValue ${env_hklm} "EXPEDITE_DATA_DIR"
      DeleteRegValue ${env_hklm} "EXPEDITE_FONTS_DIR"
      DeleteRegValue ${env_hklm} "EMBRYO_PREFIX"
      DeleteRegValue ${env_hklm} "EDJE_MODULES_DIR"
      DeleteRegValue ${env_hklm} "ELM_ENGINE"
      DeleteRegValue ${env_hklm} "ELM_DATA_DIR"
      ; make sure windows knows about the change
      SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000
    
      ${un.EnvVarUpdate} $0 "PATH" "R" "HKLM" "$INSTDIR\bin"  
    
      !insertmacro MUI_STARTMENU_GETFOLDER Application $STARTMENU_FOLDER
    
    
      Delete "$SMPROGRAMS\$STARTMENU_FOLDER\expedite_gdi.lnk"
    ;  Delete "$SMPROGRAMS\$STARTMENU_FOLDER\expedite_ddraw.lnk"
    ;  Delete "$SMPROGRAMS\$STARTMENU_FOLDER\expedite_ddraw_16.lnk"
    ;  Delete "$SMPROGRAMS\$STARTMENU_FOLDER\expedite_d3d.lnk"
    ;  Delete "$SMPROGRAMS\$STARTMENU_FOLDER\expedite_gl.lnk"
      Delete "$SMPROGRAMS\$STARTMENU_FOLDER\elementary_config.lnk"
      Delete "$SMPROGRAMS\$STARTMENU_FOLDER\elementary_test.lnk"
      Delete "$SMPROGRAMS\$STARTMENU_FOLDER\Uninstall.lnk"
      RMDir "$SMPROGRAMS\$STARTMENU_FOLDER"
    
      DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Efl"
    
    SectionEnd
    
    ;-----------------------------
    ; Functions
    ;-----------------------------
    
    Function .onInit
    
      ReadRegStr $R0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Efl" "UninstallString"
      StrCmp $R0 "" done
    
      MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION \
      "The Efl are already installed. $\n$\nClick `OK` to remove the \
      previous version or `Cancel` to cancel this upgrade." \
      IDOK uninst
      Abort
    
      ;Run the uninstaller
     uninst:
      ClearErrors
      ExecWait '$R0 _?=$INSTDIR' ;Do not copy the uninstaller to a temp file
    
      IfErrors no_remove_uninstaller
        ;You can either use Delete /REBOOTOK in the uninstaller or add some code
        ;here to remove the uninstaller. Use a registry key to check
        ;whether the user has chosen to uninstall. If you are using an uninstaller
        ;components page, make sure all sections are uninstalled.
      no_remove_uninstaller:
    
    done:
      ${EnvVarUpdate} $0 "PATH" "A" "HKLM" "$INSTDIR\bin"
    FunctionEnd
    (il faut le fichier EnvVarUpdate.nsh)
    L'Opus attire les Prélats

  18. #18
    Membre éprouvé
    Inscrit en
    Juin 2006
    Messages
    795
    Détails du profil
    Informations forums :
    Inscription : Juin 2006
    Messages : 795
    Points : 1 270
    Points
    1 270
    Par défaut
    Pour Inno Setup :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    [Registry]
    Root: HKCR; Subkey: ".pers"; Flags: uninsdeletekey; ValueType: string; ValueName: ""; ValueData: "persfile"
    Root: HKCR; Subkey: ".grp"; Flags: uninsdeletekey; ValueType: string; ValueName: ""; ValueData: "grp"
    Root: HKCR; Subkey: "persfile"; Flags: uninsdeletekey; ValueType: string; ValueName: ""; ValueData: "Person File"
    Root: HKCR; Subkey: "persfile\DefaultIcon"; Flags: uninsdeletekey; ValueType: string; ValueName: ""; ValueData: "{app}\LeNomDeTonExe.exe, 1"
    Root: HKCR; Subkey: "persfile\shell\open\command"; Flags: uninsdeletekey; ValueType: string; ValueName: ""; ValueData: "{app}\LeNomDeTonExe.exe"
    Root: HKCR; Subkey: "grpfile"; Flags: uninsdeletekey; ValueType: string; ValueName: ""; ValueData: "Group File"
    Root: HKCR; Subkey: "grpfile\DefaultIcon"; Flags: uninsdeletekey; ValueType: string; ValueName: ""; ValueData: "{app}\LeNomDeTonIcône.ico"
    Root: HKCR; Subkey: "grpfile\shell\open\command"; Flags: uninsdeletekey; ValueType: string; ValueName: ""; ValueData: "{app}\LeNomDeTonExe.exe"
    Par contre on dirait que j'ai un petit peu dit des conneries.
    Apparemment il faudrait d'abord créer une clée ayant pour nom, le nom de ton extension précédée par un '.' (ex : pour toi ".pers" et ".grp").
    Ensuite, tu dois entrer le nom de la clée qui va définir le comportement à avoir avec cette extension. Ici on a utilisé "persfile" mais on aurait pu mettre "person-file" et dans ce cas tu aurais eu :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    Root: HKCR; Subkey: "person-file\DefaultIcon"; Flags: uninsdeletekey; ValueType: string; ValueName: ""; ValueData: "{app}\LeNomDeTonIcône.ico"
    Root: HKCR; Subkey: "person-file\shell\open\command"; Flags: uninsdeletekey; ValueType: string; ValueName: ""; ValueData: "{app}\LeNomDeTonExe.exe"

  19. #19
    Rédacteur/Modérateur
    Avatar de troumad
    Homme Profil pro
    Enseignant
    Inscrit en
    Novembre 2003
    Messages
    5 597
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 56
    Localisation : France, Rhône (Rhône Alpes)

    Informations professionnelles :
    Activité : Enseignant
    Secteur : Enseignement

    Informations forums :
    Inscription : Novembre 2003
    Messages : 5 597
    Points : 7 832
    Points
    7 832
    Par défaut
    @Anikinisan : j'ai mis
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    [Registry]
    Root: HKCR; Subkey: "person-file\DefaultIcon"; Flags: uninsdeletekey; ValueType: string; ValueName: ""; ValueData: "{app}\add.ico"
    Root: HKCR; Subkey: "person-file\shell\open\command"; Flags: uninsdeletekey; ValueType: string; ValueName: ""; ValueData: "{app}\perso.exe"
    Root: HKCR; Subkey: ".pers"; Flags: uninsdeletekey; ValueType: string; ValueName: ""; ValueData: "persfile"
    Root: HKCR; Subkey: ".grp"; Flags: uninsdeletekey; ValueType: string; ValueName: ""; ValueData: "grpfile"
    Root: HKCR; Subkey: "persfile"; Flags: uninsdeletekey; ValueType: string; ValueName: ""; ValueData: "Feuille de personnage ADD"
    Root: HKCR; Subkey: "persfile\DefaultIcon"; Flags: uninsdeletekey; ValueType: string; ValueName: ""; ValueData: "{app}\perso.exe, 1"
    Root: HKCR; Subkey: "persfile\shell\open\command"; Flags: uninsdeletekey; ValueType: string; ValueName: ""; ValueData: "{app}\perso.exe"
    Root: HKCR; Subkey: "grpfile"; Flags: uninsdeletekey; ValueType: string; ValueName: ""; ValueData: "Groupe de personnagges ADD"
    Root: HKCR; Subkey: "grpfile\DefaultIcon"; Flags: uninsdeletekey; ValueType: string; ValueName: ""; ValueData: "{app}\perso.exe, 1"
    Root: HKCR; Subkey: "grpfile\shell\open\command"; Flags: uninsdeletekey; ValueType: string; ValueName: ""; ValueData: "{app}\perso.exe"
    Je n'ai l'association de l'icône que avec le .pers ! Pourquoi ?

    J'ai déconnecté mon compte et je suis revenu : ça a marché ! Peut-être parce que lors du premier essai, j'avais oublié de configurer aussi les .grp !
    Modérateur Mageia/Mandriva Linux
    Amicalement VOOotre
    Troumad Alias Bernard SIAUD à découvrir sur http://troumad.org
    Mes tutoriels : xrandr, algorigramme et C, xml et gtk...

  20. #20
    Expert éminent sénior
    Avatar de Médinoc
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Septembre 2005
    Messages
    27 369
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40
    Localisation : France

    Informations professionnelles :
    Activité : Développeur informatique
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Septembre 2005
    Messages : 27 369
    Points : 41 518
    Points
    41 518
    Par défaut
    Fais gaffe, .grp est aussi une extension existante, bien que plutôt inusitée de nos jours.
    SVP, pas de questions techniques par MP. Surtout si je ne vous ai jamais parlé avant.

    "Aw, come on, who would be so stupid as to insert a cast to make an error go away without actually fixing the error?"
    Apparently everyone.
    -- Raymond Chen.
    Traduction obligatoire: "Oh, voyons, qui serait assez stupide pour mettre un cast pour faire disparaitre un message d'erreur sans vraiment corriger l'erreur?" - Apparemment, tout le monde. -- Raymond Chen.

+ Répondre à la discussion
Cette discussion est résolue.
Page 1 sur 3 123 DernièreDernière

Discussions similaires

  1. Programmation Windows Mobile avec GUI en C++
    Par Luke58 dans le forum Visual C++
    Réponses: 1
    Dernier message: 13/03/2007, 17h39
  2. programmation Windows avec visual C++ express 2005
    Par goléador dans le forum MFC
    Réponses: 7
    Dernier message: 08/04/2006, 23h49
  3. Programmation Windows
    Par A-S-H dans le forum Windows
    Réponses: 6
    Dernier message: 04/01/2006, 15h43
  4. [Debutant] [Windows] livre programmation windows
    Par orelero dans le forum Windows
    Réponses: 8
    Dernier message: 11/02/2005, 13h32

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo