Search found 115 matches

by Collins
Wed Apr 24, 2019 10:36 pm
Forum: Building Installers
Topic: Automated Package Serial Validation
Replies: 1
Views: 620

Automated Package Serial Validation

How would I automate the creation of a serial number for the Package Serial Validation? I see the option to add or load serials, but I don't see how I can get the project to automatically create one during pre or at build time.
by Collins
Fri Apr 12, 2019 12:41 pm
Forum: Building Installers
Topic: Test Internet Connection
Replies: 22
Views: 7049

Re: Test Internet Connection

Daniel wrote:
Fri Apr 12, 2019 11:44 am
Hello,

You should use a condition like this:

Code: Select all

AI_DETECTED_INTERNET_CONNECTION
for a successfully internet connection and

Code: Select all

NOT AI_DETECTED_INTERNET_CONNECTION
for a failure.

Let us know if this doesn't work.

All the best,
Daniel
Perfect, thank you.
by Collins
Thu Apr 11, 2019 1:33 pm
Forum: Building Installers
Topic: Test Internet Connection
Replies: 22
Views: 7049

Re: Test Internet Connection

Hi, AI_DETECTED_INTERNET_CONNECTION is actually the name of the property that is set when an internet connection is available. So, if you want to set a condition based on the internet connection availability, you can delete the "AI_DETECTED_INTERNET_CONNECTION" condition from the "LaunchCondition" ...
by Collins
Wed Apr 10, 2019 9:04 pm
Forum: Building Installers
Topic: Test Internet Connection
Replies: 22
Views: 7049

Re: Test Internet Connection

It seems that the LaunchCondtion name for this has changed. I only see "AI_DETECTED_INTERNET_CONNECTION" and not (AI_INTERNET_CONNECTION <> "AI_INET_CON_SUCCESS"). Would the steps be the same, by deleting "AI_DETECTED_INTERNET_CONNECTION" from LaunchCondition and using the value of "AI_INET_CON_SUCC...
by Collins
Wed Apr 03, 2019 10:01 pm
Forum: Building Installers
Topic: Licensing For Both Server-Side & Offline
Replies: 1
Views: 631

Licensing For Both Server-Side & Offline

Hello, We have some clients that' don't have internet access on their servers where they would install the product, but most do. I would like to use Server-side validation to store their information in the database, but need to be able to also support those that can't connect to the internet. Is the...
by Collins
Tue Mar 19, 2019 1:44 pm
Forum: Common Problems
Topic: Applying patch is changing service start type
Replies: 23
Views: 8166

Re: Applying patch is changing service start type

Thank you Catalin. If not possible, I would like to request this as a feature.
by Collins
Mon Mar 18, 2019 2:39 pm
Forum: Common Problems
Topic: Applying patch is changing service start type
Replies: 23
Views: 8166

Re: Applying patch is changing service start type

Any updates on this?
by Collins
Wed Mar 13, 2019 2:39 pm
Forum: Common Problems
Topic: Applying patch is changing service start type
Replies: 23
Views: 8166

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 Parameters" and not...
by Collins
Tue Mar 12, 2019 7:01 am
Forum: Common Problems
Topic: Applying patch is changing service start type
Replies: 23
Views: 8166

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: 8166

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: 8166

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: 12
Views: 6494

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: 2550

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: 2550

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: 2550

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://social.m...