We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

hotdoggett
Posts: 1
Joined: Thu Mar 30, 2006 9:42 pm

Screensaver Install

Does anyone have an example of a basic screensaver installation, with the output to an MSI file?
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi,

The installation depends on the screensaver, but basically you need to copy the ".scr" file to the "System32" folder. At the end of the installation, you might want to open the "Display Properties" Control Panel Applet to the Screen Saver tab and display your screensaver.

These are the steps you could follow:
1. In the Files and Folder page of AI, add your ".scr" file under "Windows Volume ->
Windows -> System".

2. Switch to the Custom Actions page and make sure the "InstallFinalize" item is visible in the tree control ("Show Standard Action -> Before Finalization -> InstallFinalize").

3. Add a new "EXE with Working Dir" Custom Action on the "InstallFinalize" stage. Set the following properties for it:
- Working Dir: depends on your screensaver (if it requires external files, for instance), but basically, it could be anything. Therefore, choose "Windows Volume -> Windows -> System" in the tree control.
- Full Path:

Code: Select all

RunDll32.exe desk.cpl,InstallScreenSaver [#Sample.scr]
Use the "Edit" button at the right of the "Full Path" text field and then the "File" button from the "Edit Custom Action Parameters" dialog to select the ".scr" file from your package.

- Execution Properties: "Asynchronous execution, ignore return code"
- Execution Condition: (Not Installed)

Hope this helps.

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/
montana
Posts: 1
Joined: Mon Feb 12, 2007 7:48 pm

ScreenSaver UnInstall

Thank you for the notes on SCREENSAVER installers.

I am trying to work out how to UNINSTALL a screensaver.

Assuming that I have abcd.scr and "abcd dir" :

do I create a custom action under

InstallExecuteSequence > Uninstall > New Custom Action > EXE with working DIR.

How do I name both abcd.scr and "abcd dir" to be uninstalled.

regards

John
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi John,
How do I name both abcd.scr and "abcd dir" to be uninstalled.
If you add the "abcd.scr" file in "Files and Folders" page it will be automatically uninstalled. That custom action is used to display the "Display Properties" dialog after your screenserver is installed.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”