Search found 15 matches

Go to advanced search

by donaddon
Fri Aug 08, 2014 5:31 pm
Forum: Common Problems
Topic: Uninstaller doesn't work if I delete installer
Replies: 8
Views: 6752
 
Jump to post

Re: Uninstaller doesn't work if I delete installer

Did you create another project or just modified the project related to the old version of your product? Please note that you should use the old version's project. Also, it is recommended to only set a false condition for the custom action not to remove it (you can just uncheck the "Uninstall ...
by donaddon
Thu Aug 07, 2014 7:48 pm
Forum: Common Problems
Topic: Uninstaller doesn't work if I delete installer
Replies: 8
Views: 6752
 
Jump to post

Re: Uninstaller doesn't work if I delete installer

As an alternative approach, since I don't _NEED_ the old uninstallers to work, and the new installer is a complete replacement, I am seriously considering adding a simple custom action to remove the old product from the Windows installer registry by deleting the following registry keys:

HKLM ...
by donaddon
Thu Aug 07, 2014 5:42 pm
Forum: Common Problems
Topic: Cannot reproduce installer with upgraded AI
Replies: 4
Views: 3217
 
Jump to post

Re: Cannot reproduce installer with upgraded AI

Hi Dan,

Thanks for those details. I tried creating a patch, an upgrade, and using the steps for upgrading a broken version, but I'm still encountering the uninstall error in each case. I have provided details in the other thread: http://www.advancedinstaller.com/forums/viewtopic.php?f=2&t=28673&p ...
by donaddon
Thu Aug 07, 2014 5:39 pm
Forum: Common Problems
Topic: Uninstaller doesn't work if I delete installer
Replies: 8
Views: 6752
 
Jump to post

Re: Uninstaller doesn't work if I delete installer

I followed these steps to try to create a patch to fix the problem:

1. Created a new installer that does not have the custom action running on uninstall. Verified that this installer can install and then be uninstalled without having to be at the same install location.

2. Created a new patch ...
by donaddon
Wed Aug 06, 2014 11:07 pm
Forum: Common Problems
Topic: Cannot reproduce installer with upgraded AI
Replies: 4
Views: 3217
 
Jump to post

Re: Cannot reproduce installer with upgraded AI

Hi Dan,

Hmmm...not sure I get that. Why doesn't it just behavior as if I just re-created the exact same installer? I'm a bit stuck, what I'm actually trying to fix is this problem:

http://www.advancedinstaller.com/forums/viewtopic.php?f=2&t=28673&p=74724#p74724

I'm trying to fix it by creating an ...
by donaddon
Wed Jul 30, 2014 5:44 pm
Forum: Common Problems
Topic: Cannot reproduce installer with upgraded AI
Replies: 4
Views: 3217
 
Jump to post

Cannot reproduce installer with upgraded AI

Hi,

I have a built .MSI from an older version of Advanced Installer. I went back to the source (I'm fairly certain the identical source), and I re-built a new .MSI from that source code.

However, if I install from the "old" .MSI, then try to run the "new" .MSI, I get the following error ...
by donaddon
Fri Jul 25, 2014 6:15 pm
Forum: Common Problems
Topic: Uninstaller doesn't work if I delete installer
Replies: 8
Views: 6752
 
Jump to post

Re: Uninstaller doesn't work if I delete installer

I found the problem: I had a custom action (Session.DoAction("ResolveSource")) that I hadn't noticed was registered to execute for Uninstall. Apparently if this custom action is registered for uninstall then you have to have the original .MSI IN THE ORIGINAL LOCATION to perform the uninstall.

But ...
by donaddon
Thu Jul 24, 2014 7:12 pm
Forum: Common Problems
Topic: Uninstaller doesn't work if I delete installer
Replies: 8
Views: 6752
 
Jump to post

Uninstaller doesn't work if I delete installer

I follow these steps:

1. Double-click the .msi to install the product.
2. Rename the .msi file to "application.msi.bak".
3. Go to Control Panel and try to uninstall the product.

I get an error that says "The feature you are trying to use is on a network resource that is unavailable".

This is 100 ...
by donaddon
Wed Jun 04, 2014 11:25 pm
Forum: Building Installers
Topic: What encryption is used for signature passwords
Replies: 3
Views: 2722
 
Jump to post

Re: What encryption is used for signature passwords

Thanks.

But I'm curious where the key is stored.

In other words: Who exactly will be able to open that AIP and use the code signing key? Anyone on the machine? Anyone logged into the current Windows user account?
by donaddon
Sun May 04, 2014 10:09 pm
Forum: Building Installers
Topic: What encryption is used for signature passwords
Replies: 3
Views: 2722
 
Jump to post

What encryption is used for signature passwords

Hi,

I would rather not have to enter the PFX password every time I build the product. With normal build tools, I set the password as an environment variable so it does not have to be checked into the source code repository. But that does not appear to be an option in Advanced Installer.

I see the ...
by donaddon
Sun May 04, 2014 6:11 pm
Forum: Common Problems
Topic: Create registry key only if property exists
Replies: 3
Views: 2874
 
Jump to post

Re: Create registry key only if property exists

Hi Dan,

Thanks, that worked. The step I overlooked was setting the condition on the actual registry value, not just the parent key. Otherwise the registry value was still being created under an empty parent registry key (the registry key named by the non-supplied command-line parameter), thus ...
by donaddon
Thu May 01, 2014 5:16 am
Forum: Common Problems
Topic: Uninstaller always deleting registry key
Replies: 3
Views: 2814
 
Jump to post

Re: Uninstaller always deleting registry key

Well, damn, it started doing it again. It is deleting registry keys that I have asked to be "Permanent". And consequently deleting child registry keys that the installer did not create.

Can someone call out the full registry key deletion logic? This registry key is marked as Permanent, and I have ...
by donaddon
Thu May 01, 2014 5:01 am
Forum: Common Problems
Topic: Create registry key only if property exists
Replies: 3
Views: 2874
 
Jump to post

Create registry key only if property exists

I want to support optional parameters for my installer. For example:

msiexec /i myinstaller.msi INSTALL_REG_ID="heij3jlncnlnlndjl"

And this installer will only create the registry key IF that parameter is supplied.

To accomplish this, I created the registry key entry with the key name I wanted ...
by donaddon
Wed Apr 30, 2014 6:27 pm
Forum: Common Problems
Topic: Uninstaller always deleting registry key
Replies: 3
Views: 2814
 
Jump to post

Uninstaller always deleting registry key

I added a new registry key with some sub-keys and values. I opened the Properties dialog and selected (Create (ifabsent)).

But even though I did not select "Delete (if present) at uninstall", the registry key gets deleted at uninstall every time. Even if there are other keys / values in the ...

Go to advanced search