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 10 matches

Go to advanced search

by odaniel
Tue Jul 14, 2020 11:14 am
Forum: Building Installers
Topic: Using a DLL to set APPDIR
Replies: 11
Views: 9672
 
Jump to post

Re: Using a DLL to set APPDIR

I just sent the dll. I really appreciate you taking the time to look into this.

Oliver
by odaniel
Thu Jul 09, 2020 3:30 pm
Forum: Building Installers
Topic: Using a DLL to set APPDIR
Replies: 11
Views: 9672
 
Jump to post

Re: Using a DLL to set APPDIR

It's a standard dll written in C++ and built with Visual Studio 2019. I created 2 export functions with the standard calling convention.

Below is a minimalist version of the function that I am calling to get installation path. The return value is assigned to a property.


char g_szInstallPath ...
by odaniel
Tue Jul 07, 2020 2:42 pm
Forum: Building Installers
Topic: Using a DLL to set APPDIR
Replies: 11
Views: 9672
 
Jump to post

Re: Using a DLL to set APPDIR

Hi Catalin,

I made the change as you suggested. The DLL path now shows:

Code: Select all

[&installsupport.dll]
Unfortunately this resulted in a new error:
Failed to load. Error: The parameter is incorrect.
If anything else comes to mind, please let me know.

Thanks
by odaniel
Fri Jul 03, 2020 2:50 pm
Forum: Building Installers
Topic: Using a DLL to set APPDIR
Replies: 11
Views: 9672
 
Jump to post

Re: Using a DLL to set APPDIR

HI Catalin,

Thank you for the fast reply. I made the changes but I'm still getting the error regarding the DLL not being found.

Here is the Install Execution Stage now with Cost Finalize shown.

costfinalize.png

I'm also including a screenshot of the details of the function call.

Under ...
by odaniel
Fri Jul 03, 2020 2:10 pm
Forum: Building Installers
Topic: Using a DLL to set APPDIR
Replies: 11
Views: 9672
 
Jump to post

Re: Using a DLL to set APPDIR

Hi Catalin,

I have a minimal UI with only the progress bar shown.

If I place the custom action that calls the DLL function earlier (as you suggested before Paths Resolution), I get an error that the DLL cannot be found. I'm assuming that the installer has not extracted the DLL at this point in the ...
by odaniel
Thu Jul 02, 2020 7:29 pm
Forum: Building Installers
Topic: Using a DLL to set APPDIR
Replies: 11
Views: 9672
 
Jump to post

Using a DLL to set APPDIR

I'm working on an installer that uses a standard DLL to determine the path of APPDIR bases on the location where the user is installing our application. The DLL checks the user's ip address to determine if the installation is being performed in our offices or our outside of our company network.

For ...
by odaniel
Thu May 21, 2020 6:24 pm
Forum: Building Installers
Topic: Side by side with INI modification
Replies: 7
Views: 5140
 
Jump to post

Re: Side by side with INI modification

Thank you Catalin! This looks like it will do the trick. Appreciate it.

Oliver
by odaniel
Tue May 19, 2020 12:30 pm
Forum: Building Installers
Topic: Side by side with INI modification
Replies: 7
Views: 5140
 
Jump to post

Re: Side by side with INI modification

Hi Catalin,

I'm trying to create an installer that can upgrade as well as downgrade versions of the application. Since the built-in upgrade support does not allow for downgrading, I felt side-by-side would handle what I needed.

Assume that all INI entries are common to all versions of the ...
by odaniel
Fri May 15, 2020 3:45 pm
Forum: Building Installers
Topic: Side by side with INI modification
Replies: 7
Views: 5140
 
Jump to post

Re: Side by side with INI modification

Hi Catalin,

Thanks for responding so quickly. I proceeded as asked, but when I double-clicked the INI file in "Files and Folders", I got the Edit INI File dialog which doesn't show an Operations Tab.

Just to clarify, the INI file was imported so that I could select which INI entries to overwrite ...
by odaniel
Thu May 14, 2020 3:55 pm
Forum: Building Installers
Topic: Side by side with INI modification
Replies: 7
Views: 5140
 
Jump to post

Side by side with INI modification

Hello,

I'm trying to create an installer that will allow for side by side installations however I want the installer to modify some entries in an INI file while leaving other entries untouched.

Basically I want the user to install either of 2 major versions of an application that use an INI file ...

Go to advanced search