|
|
#1 |
|
Junior Member
Join Date: Jun 2003
Location: Asker, Norway
Posts: 2
|
Open Display Properties and select a theme
I'm making a theme for WinXp, and I'm almost finished... I have made a simple installer, but after copying the files I want it to open Display Properties and select my theme there, so that all the user have to do is to press ok. Is this possible?
btw, nsis rocks, I have used it as an installer for many of my apps... [edit] Ouch! I am truly stupid... There was an easy solution for this... All I had to do was to execute the .theme file... Moderators are welcome to delete this thread if they want to...[/edit] |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Why delete it? Someone else can find the answer here
![]() Have you used ExecWait or ExecShell? NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jun 2003
Location: Asker, Norway
Posts: 2
|
I used ExecShell because Exec and ExecWait did not work...
Another question, how can I make the installer launch the theme when the user clicks "Finish"? Right now the theme is launched after the installer has copied the files, as a part of the general install section... |
|
|
|
|
|
#4 |
|
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
In one of my apps I call the display too... But don't know YET
how to open an select item, check this code: code: * 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: Jun 2003
Location: Spain
Posts: 24
|
Hmmm... to achieve that i think there's an event called something like
.onInstallSuccess or something like that, I can't look it up in the documentation right now, but it exists in the scripting reference I think :P
|
|
|
|
|
|
#6 |
|
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
Well...
it's only an example of the calling of the control panel's Display... but you can put something like this Function ".onGUIEnd" ExecShell "open" "rundll32.exe" "shell32.dll,Control_RunDLL themes.cpl,,2" FunctionEnd * 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. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|