Search found 138 matches

Go to advanced search

by Collins
Wed Mar 13, 2019 2:39 pm
Forum: Common Problems
Topic: Applying patch is changing service start type
Replies: 23
Views: 18349
 
Jump to post

Re: Applying patch is changing service start type

Isn't that what you wanted to achieve? By default, when checking the "Secure property" flag, the property is stored encrypted in your project. By decrypting it, it will return the default value of the property. I was referring to the default value for the property under "Install Para...
by Collins
Tue Mar 12, 2019 7:01 am
Forum: Common Problems
Topic: Applying patch is changing service start type
Replies: 23
Views: 18349
 
Jump to post

Re: Applying patch is changing service start type

Thank you, I will try this, but one question. Can these custom actions be scheduled before the built in StartService custom action? If it's schedule after, it will fail to start the service because this custom action hasn't run yet to get the password and the field will be empty. I just tried this a...
by Collins
Mon Mar 04, 2019 5:32 pm
Forum: Common Problems
Topic: Applying patch is changing service start type
Replies: 23
Views: 18349
 
Jump to post

Re: Applying patch is changing service start type

Thanks Catalin, Unfortunately that doesn't explain how I can use this functionality because the example provided is for an external application and not within the installer itself. From the documentation I see that the Secure Property dll (SecureProp.dll) is used along with an internal custom action...
by Collins
Thu Feb 28, 2019 3:50 pm
Forum: Common Problems
Topic: Applying patch is changing service start type
Replies: 23
Views: 18349
 
Jump to post

Re: Applying patch is changing service start type

Is there any way to use SecureProp (https://www.advancedinstaller.com/user- ... y-net.html) to read the password value and pass it to the public property so it can be used during a repair or upgrade of a Windows Service so that the the service account value can be restored?
by Collins
Wed Feb 13, 2019 12:47 am
Forum: Common Problems
Topic: AdvancedInstaller ODBC Connect: Timeout exceeded
Replies: 21
Views: 57417
 
Jump to post

Re: AdvancedInstaller ODBC Connect: Timeout exceeded

I added ODBC Driver 17 for SQL Server, set is as the driver for the dlgpredefinedconnection and set the SqlConnectionString to: Driver=[\{]ODBC Driver 17 for SQL Server[\}];Server=[SQL_SERVER];Uid=[SQL_USERNAME];Pwd=[SQL_PASSWORD];Trusted_Connection=yes; And now the testodbcconnection works. The iss...
by Collins
Tue Oct 30, 2018 2:18 pm
Forum: Common Problems
Topic: Migrating from ClickOnce to AI
Replies: 12
Views: 7163
 
Jump to post

Re: Migrating from ClickOnce to AI

You will eventually have to move away from that and it will only become harder later. Can't you stagger your conversion for a set amount of users and see how it goes and make changes if needed? If the upgrade works for them then you can increase your upgrade to more users.
by Collins
Mon Oct 29, 2018 9:39 pm
Forum: Common Problems
Topic: Migrating from ClickOnce to AI
Replies: 12
Views: 7163
 
Jump to post

Re: Migrating from ClickOnce to AI

Emoreau,

There was no upgrade path for ClickOnce as the installation directory and shortcuts were completely different. The process was to completely remove the ClickOnce application with the custom action then install the new one using Advanced Installer.
by Collins
Mon Oct 29, 2018 5:28 pm
Forum: Common Problems
Topic: Migrating from ClickOnce to AI
Replies: 12
Views: 7163
 
Jump to post

Re: Migrating from ClickOnce to AI

I had a similar situation and what I ended up doing is uninstalling ClickOnce prior to installing the new version, since ClickOnce is installed under the 2.0 folder and the current application would be installed "Per Computer". A custom action would run to remove ClickOnce entirely: https:...
by Collins
Thu Oct 25, 2018 4:29 pm
Forum: Feature Requests
Topic: Create Only One .AIP Backup
Replies: 1
Views: 4131
 
Jump to post

Create Only One .AIP Backup

When AI is updated to a new version and you manually open an AIP after the upgrade it creates a backup, which is great. You can then save the project and you don't get the message again. The problem is if you upgrade AI and you don't manually open and save each project and check it into your repo, i...
by Collins
Wed Aug 29, 2018 4:59 am
Forum: Common Problems
Topic: Change Sequence For DIFx In Table Editor
Replies: 6
Views: 4239
 
Jump to post

Re: Change Sequence For DIFx In Table Editor

Hi Dan, This could happen indeed if your install certificate custom action is scheduled before the "Paths Resolution" action group. All the temporary files are deployed on disk at install time during the "CostFinalize" standard action (part of the "Paths Resolution" act...
by Collins
Sat Aug 25, 2018 10:35 pm
Forum: Common Problems
Topic: Change Sequence For DIFx In Table Editor
Replies: 6
Views: 4239
 
Jump to post

Re: Change Sequence For DIFx In Table Editor

Also, I discovered that while doing a silent install, the temporary file property (AI_FILENAME) is not being set for the certificate. This worked in 14.9 and doesn't in the latest.
by Collins
Sat Aug 18, 2018 4:48 pm
Forum: Common Problems
Topic: Change Sequence For DIFx In Table Editor
Replies: 6
Views: 4239
 
Jump to post

Re: Change Sequence For DIFx In Table Editor

Daniel, That is the way I had it configured, but it now randomly works about 10% of the time. I recently moved the CA under Searches and it seemed to work a couple of times, but then it started to fail again with the message still displaying or just erroring out during silent installs. I see the cer...
by Collins
Wed Aug 15, 2018 5:38 pm
Forum: Common Problems
Topic: Visual Studio 2017 Build Issue "The RPC server is unavailable"
Replies: 7
Views: 7045
 
Jump to post

Re: Visual Studio 2017 Build Issue "The RPC server is unavailable"

Hi Daniel, The error "Retrieving the COM class factory for component with CLSID {F6D69C22-C70F-416D-80E6-DBA6A90B56C7} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))." dir="C:\Program Files (x86)\MSBuild\Caph...
by Collins
Wed Aug 15, 2018 4:04 am
Forum: Common Problems
Topic: Change Sequence For DIFx In Table Editor
Replies: 6
Views: 4239
 
Jump to post

Change Sequence For DIFx In Table Editor

I need to install the certificate for the cat driver before the driver gets installed by DIFx so that the "Windows can't verify the publisher of this driver software" isn't displayed. The issue is that the certificate custom action runs after the driver because of the deferred sequence. Is...
by Collins
Wed Aug 08, 2018 10:12 pm
Forum: Common Problems
Topic: Visual Studio 2017 Build Issue "The RPC server is unavailable"
Replies: 7
Views: 7045
 
Jump to post

Visual Studio 2017 Build Issue "The RPC server is unavailable"

I received an error in VS when trying to build the projects in the solution after upgrading from 15.01 to 15.1: "Unhandled Exception:The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)" In the CCNET & TeamCity build log it shows: "Retrieving the COM class factory f...

Go to advanced search