|
|
|
|
#1 |
|
Junior Member
Join Date: Jul 2003
Posts: 35
|
Add/Remove Programs, what am i doing wrong
why is this not showing up in the Add/Remove programs list?
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ABC" "ABC" "$INSTDIR\uninst.exe" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ABC" "ABC" "$INSTDIR\ABC.exe" many thanks. |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
The value name (ABC) is wrong and some values are missing. Take a look at the following page for more information about adding entries to the Add/Remove control panel:
http://nsis.sourceforge.net/archive/...php?pageid=103 NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
code: |
|
|
|
|
|
#4 |
|
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
'cuase you need this:
code: /just for a couple of secs.
* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE. * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE. |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Jul 2003
Posts: 35
|
i am sorry, i am not that great w/ this stuff.
whats {mui_product} represent? if thats my product, what would i do w/ the example I gave, w/ "ABC"? |
|
|
|
|
|
#6 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
See my example.
|
|
|
|
|
|
#7 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
That is for Modern UI installer
You should have !define MUI_PRODUCT "my app name" at the top of your nsi file. If you aren't using Modern UI (you should be!!) then replace ${MUI_PRODUCT} with the directory representing your product. -Stu |
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Jul 2003
Posts: 35
|
so i have,
!define MUI_PRODUCT "ABC" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${$INSTDIR\ABC.exe} ${MUI_VERSION}" \ "DisplayName" "App name" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${$INSTDIR\ABC.exe} ${MUI_VERSION}" \ "UninstallString" "uninst.exe" please help me out... |
|
|
|
|
|
#9 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
What's wrong with my example above? Didn't it work?
|
|
|
|
|
|
#10 |
|
Junior Member
Join Date: Jul 2003
Posts: 35
|
no, it didnt work. sorry
|
|
|
|
|
|
#11 | |
|
Senior Member
|
Quote:
|
|
|
|
|
|
|
#12 |
|
Junior Member
Join Date: Jul 2003
Posts: 35
|
still didnt work
|
|
|
|
|
|
#13 | |
|
Senior Member
|
Quote:
code: |
|
|
|
|
|
|
#14 |
|
Junior Member
Join Date: Jul 2003
Posts: 35
|
its just not showing up in the add/ remove directory. i have attached the code:
WriteRegStr HKLM SOFTWARE\StatBlaster "Install_Dir" "$INSTDIR" WriteRegStr HKLM SOFTWARE\Microsoft\Windows\CurrentVersion\Run "UpdateStats" "$INSTDIR\UpdateStats.exe" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\StatBlaster" \"DisplayName" "StatBlaster" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\StatBlaster" \"UninstallString" "$INSTDIR\uninst.exe" |
|
|
|
|
|
#15 |
|
Senior Member
|
Why do you have \ in the line if its all on one line?
|
|
|
|
|
|
#16 |
|
Junior Member
Join Date: Jul 2003
Posts: 35
|
what do you mean?
|
|
|
|
|
|
#17 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
You have copied Joost's code wrongly. The line breaks are supposed to be there and the back-slashes in the end of the line tell NSIS to treat the next line as an extension to the current line. If you join the lines you have to remove those back-slashes.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|