Search found 23 matches

Go to advanced search

by vbjeff
Fri Jun 03, 2016 6:32 pm
Forum: Common Problems
Topic: Digital Signing Single EXE error
Replies: 7
Views: 10826
 
Jump to post

Digital Signing Single EXE error

I am using Advanced Installer v13 Enterprise on a Windows 7 PC. I was having problems digitally signing my files when using the external signtool.exe, so I unchecked the "Use an external tool" and I was able to use the internal tool to digitally sign my files and MSI package.

I need a .NET ...
by vbjeff
Fri May 27, 2016 2:57 pm
Forum: Common Problems
Topic: Update without elevation then run as standard user.
Replies: 3
Views: 3080
 
Jump to post

Re: Update without elevation then run as standard user.

The current WMI query I use to find the currently logged-in user is:
ManagementObjectSearcher searcher = new ManagementObjectSearcher("SELECT UserName FROM Win32_ComputerSystem");
ManagementObjectCollection collection = searcher.Get();
return (string)collection.Cast<ManagementBaseObject>().First ...
by vbjeff
Tue May 24, 2016 3:50 pm
Forum: Common Problems
Topic: Update without elevation then run as standard user.
Replies: 3
Views: 3080
 
Jump to post

Update without elevation then run as standard user.

I want to update my software without elevation, and then run my software as a standard user. I followed the directions to "How to handle updates without elevation?" so that I can update my software without any UAC prompts. I then want to restart my software after the update as a standard user, but ...
by vbjeff
Wed Nov 20, 2013 10:08 pm
Forum: Common Problems
Topic: Can not select certificate for Digital Signature
Replies: 6
Views: 6638
 
Jump to post

Re: Can not select certificate for Digital Signature

It looks like the I found the cause of the problem. I am using an Entrust certificate, and if I do not log in to my Entrust account before starting AI it does not show up in the list. If I already selected my Entrust certificate in an AI project, it will prompt me to sign-in to my Entrust account ...
by vbjeff
Wed Nov 20, 2013 3:43 pm
Forum: Common Problems
Topic: Can not select certificate for Digital Signature
Replies: 6
Views: 6638
 
Jump to post

Re: Can not select certificate for Digital Signature

Well it looks like is is not working again. I can not select the certificate that I need to use. How does AI determine what certificates are available to select from?
by vbjeff
Thu Oct 17, 2013 3:25 pm
Forum: Common Problems
Topic: .NET Custom Action .InstallState file
Replies: 1
Views: 4518
 
Jump to post

.NET Custom Action .InstallState file

I have created a .NET dll custom action that I call from AI using a '.NET Installer Class action'. During the Install Execution stage I perform an Install action and during Uninstall I have another custom action (same .dll) to perform an Uninstall action. After installing my program, a CustomAction ...
by vbjeff
Wed Oct 09, 2013 7:06 pm
Forum: Common Problems
Topic: Can not select certificate for Digital Signature
Replies: 6
Views: 6638
 
Jump to post

Re: Can not select certificate for Digital Signature

Looks like it is working fine now.
by vbjeff
Tue Oct 08, 2013 6:41 pm
Forum: Common Problems
Topic: C# custom action not working
Replies: 3
Views: 6556
 
Jump to post

Re: C# custom action not working

Thanks Dan, that did fix the problem for my test case.

It could be helpful if AI notified me during the build process that using "Call function from installed DLL" with the following settings:
Execution Time: Immediately
Execution Stage Condition: Install
Install Execution Stage: between Add ...
by vbjeff
Fri Oct 04, 2013 9:45 pm
Forum: Common Problems
Topic: C# custom action not working
Replies: 3
Views: 6556
 
Jump to post

C# custom action not working

I am trying to create fully fledged C# custom action, but can not get it to work. I am using AI 10.5.1 and WiX 3.6. I tried to test a simple example and can not get the directions to work. I found that if I select the custom action "Call function from attached native DLL", then my test case works ...
by vbjeff
Thu Oct 03, 2013 6:52 pm
Forum: Common Problems
Topic: Can not select certificate for Digital Signature
Replies: 6
Views: 6638
 
Jump to post

Re: Can not select certificate for Digital Signature

Well I think I figured out a solution. While viewing the certificate that I wanted to use, I clicked on the Install button and followed the prompts. After restarting AI my older certificate now shows up in the list of available certificates. I guess this must have installed the certificate into a ...
by vbjeff
Thu Oct 03, 2013 4:04 pm
Forum: Common Problems
Topic: Can not select certificate for Digital Signature
Replies: 6
Views: 6638
 
Jump to post

Can not select certificate for Digital Signature

When I enable Digital Signatures and go to the option to "Use a certificate from system store" I only see one of several certificates listed in my Certificate Manager's Personal Certificates, and it is not the one I want to use. If I select "<Most suited certificate>" it also does not select the ...
by vbjeff
Fri Sep 27, 2013 4:27 pm
Forum: Common Problems
Topic: Auto Updater msi file not downloading
Replies: 13
Views: 11453
 
Jump to post

Re: Auto Updater msi file not downloading

Just to make sure I am doing this properly, it should be ok for me to reuse an existing update in an update project provided that I rename the update to a name that has not been used before and change the version numbers to the new values. Is that correct? If I always want an update to replace a ...
by vbjeff
Thu Sep 26, 2013 7:30 pm
Forum: Common Problems
Topic: Auto Updater msi file not downloading
Replies: 13
Views: 11453
 
Jump to post

Re: Auto Updater msi file not downloading

Thanks Daniel. Would it also be ok to rename the update (including the version number in the name) to make sure it is unique?
by vbjeff
Wed Sep 25, 2013 6:00 pm
Forum: Common Problems
Topic: Auto Updater msi file not downloading
Replies: 13
Views: 11453
 
Jump to post

Re: Auto Updater msi file not downloading

Is it considered ok to duplicate an update, and then delete the old one?
I don't want to lose my settings each time I have a new update.
by vbjeff
Tue Sep 24, 2013 6:58 pm
Forum: Common Problems
Topic: Auto Updater msi file not downloading
Replies: 13
Views: 11453
 
Jump to post

Re: Auto Updater msi file not downloading

Thanks Daniel, I was not aware that I could have multiple updates saved in an updates project. I was simply reusing the same update but changing the version number each time. Each update that I create for my project should always replace any older versions. Would you recommend keeping each update in ...

Go to advanced search