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!

Search found 19 matches

Go to advanced search

by DeadlyDonger
Mon Aug 03, 2015 9:37 pm
Forum: Building Installers
Topic: Keep Files After Uninstall via Control Panel.
Replies: 4
Views: 4750
 
Jump to post

Re: Keep Files After Uninstall via Control Panel.

Hello,

If you want to prevent a file from being removed, you can follow the steps from the How do I prevent a file or registry entry from being uninstalled or repaired? article.

If there is anything else I can help you with, please let me know.

Best regards,
Dan

What If I want the user to have ...
by DeadlyDonger
Mon Aug 03, 2015 9:31 am
Forum: Building Installers
Topic: Keep Files After Uninstall via Control Panel.
Replies: 4
Views: 4750
 
Jump to post

Re: Keep Files After Uninstall via Control Panel.

Hello,

Please note that during the uninstall process, Windows Installer removes all the data registered into the MSI file.

If you want to prevent a file from being uninstalled , you can set the Permanent flag from the component properties of the related files. This way, Windows Installer will not ...
by DeadlyDonger
Sun Aug 02, 2015 1:18 pm
Forum: Building Installers
Topic: Keep Files After Uninstall via Control Panel.
Replies: 4
Views: 4750
 
Jump to post

Keep Files After Uninstall via Control Panel.

I'm not sure if this is default Windows Installer behavior but I've set specific files to only be removed through Uninstall Cleanup > Ask the user whether he wants to clean up. So this means that when the user has installed the program, If he runs the installer which he used to install the program ...
by DeadlyDonger
Mon Jun 29, 2015 12:14 pm
Forum: Common Problems
Topic: Script not running.
Replies: 7
Views: 7080
 
Jump to post

Re: Script not running.

Hello,

I'm not sure why you encountered this behaviour.
In order to have a better view about this, can you please send us the .AIP (project file) to support at advancedinstaller dot com so we can investigate it? If it contains confidential information you can send us a small test project which ...
by DeadlyDonger
Mon Jun 29, 2015 5:45 am
Forum: Common Problems
Topic: Script not running.
Replies: 7
Views: 7080
 
Jump to post

Re: Script not running.

Sorry, Dan, if you're still there, or for anyone who knows, I have a little problem. I'm running a .bat file which is supposed to read a Registry value which the installer adds, use that read value and run another command using that value. Firstly I can confirm that the .bat file, running as admin ...
by DeadlyDonger
Fri Jun 26, 2015 12:47 pm
Forum: Common Problems
Topic: Script not running.
Replies: 7
Views: 7080
 
Jump to post

Re: Script not running.

Hello,

Please note that you need administrative privileges when making changes under HKLM registry hive. The custom action without sequence can be only set as immediate actions which does not have administrative privileges.

Since you need administrative privileges, you can use the Launch file ...
by DeadlyDonger
Fri Jun 26, 2015 7:43 am
Forum: Common Problems
Topic: Script not running.
Replies: 7
Views: 7080
 
Jump to post

Script not running.

I've created a .vbs Script which reads a registry key which the Installer adds and then sets the read value at the end of the installation when the user checks the Checkbox and clicks the finish buttons. The script runs fine locally when doubled clicked. I've added the file using Launch attached ...
by DeadlyDonger
Thu Jun 25, 2015 8:28 pm
Forum: Building Installers
Topic: Script not running.
Replies: 1
Views: 2207
 
Jump to post

Script not running.

I've created a .vbs Script which reads a registry key which the Installer adds and then sets the read value at the end of the installation when the user checks the Checkbox and clicks the finish buttons. The script runs fine locally when doubled clicked. I've added the file using Launch attached ...
by DeadlyDonger
Wed Jun 24, 2015 3:07 am
Forum: Building Installers
Topic: How to Check if there is already a shortcut?
Replies: 1
Views: 3427
 
Jump to post

How to Check if there is already a shortcut?

In my installer, if the program i'm installing's shortcut already exists (in the current user's desktop), the installer only checks the Public Desktop and therefore adds an additional shortcut to Public Desktop, the end result being two identical shortcuts to for the program being displayed on your ...
by DeadlyDonger
Wed Apr 29, 2015 12:50 am
Forum: Building Installers
Topic: Adding Checkbox
Replies: 3
Views: 5064
 
Jump to post

Re: Adding Checkbox

Everything works fine however, the checkbox is only supposed to show in the first time finish installation dialog. In my case I added a checkbox and after I installed the program and then uninstall the program using the installer, the checkbox is still shown. How do I set the visibility of it to ...
by DeadlyDonger
Mon Apr 27, 2015 1:56 am
Forum: Building Installers
Topic: Adding Checkbox
Replies: 3
Views: 5064
 
Jump to post

Adding Checkbox

I want to add a checkbox called: "Associate .txt files with program", and by default it should be unchecked. I want to show the checkbox ONLY on install complete dialog and not any other dialog.

When the checkbox is checked or unchecked and depending on the sate of it, when the user clicks on the ...
by DeadlyDonger
Thu Feb 05, 2015 12:28 am
Forum: Building Installers
Topic: Change Registry Value at Uninstall
Replies: 4
Views: 4455
 
Jump to post

Re: Change Registry Value at Uninstall

I tried double clicking the scrip and it worked before. It worked when I was changing values in the HKEY_LOCAL_MACHINE with that exact code (Just replacing HKEY_CLASSES_ROOT with HKEY_LOCAL_MACHINE) but I have no idea why it isn't working.
by DeadlyDonger
Tue Feb 03, 2015 10:46 am
Forum: Building Installers
Topic: Change Registry Value at Uninstall
Replies: 4
Views: 4455
 
Jump to post

Re: Change Registry Value at Uninstall

Hey Dan,

I was search ways to edit the registry using vbscript. I came across some examples and decided to create my own script the way I want with the values I want to set. This is what I came up with:

Const HKEY_CLASSES_ROOT = &H80000000

strComputer = "."

Set objRegistry = GetObject ...
by DeadlyDonger
Tue Feb 03, 2015 4:53 am
Forum: Building Installers
Topic: Change Registry Value at Uninstall
Replies: 4
Views: 4455
 
Jump to post

Change Registry Value at Uninstall

I want to change the value '(default)' in the key: HKEY_CLASSES_ROOT\txtfile\shell\open\command . After uninstalling, regardless of what the value is, I want to change it back to the default value which is: %SystemRoot%\system32\NOTEPAD.EXE %1. How do I achieve this?

If the value is %SystemRoot ...
by DeadlyDonger
Tue Jan 13, 2015 6:42 pm
Forum: Building Installers
Topic: Removing specific files and folders from different location
Replies: 9
Views: 7101
 
Jump to post

Re: Removing specific files and folders from different locat

Thank you Eusebiu! I'll take it from here and If there is anything I'll let you know :)

Go to advanced search