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

Go to advanced search

by Dean.Wilson
Tue Aug 30, 2011 3:24 pm
Forum: Common Problems
Topic: Have separate SQL scripts for Install and Upgrade
Replies: 1
Views: 1769
 
Jump to post

Have separate SQL scripts for Install and Upgrade

Hi,

I am trying to have some SQL scripts that run when installing the product for the first time (e.g. to install version 2.0), and other SQL scripts that run if a previous version is already installed, that will upgrade the database (e.g. from 1.8 to 2.0).

However I cannot seem to stop the ...
by Dean.Wilson
Fri Aug 26, 2011 12:46 pm
Forum: Common Problems
Topic: Passing Multiple Values to CustomAction
Replies: 3
Views: 6560
 
Jump to post

Re: Passing Multiple Values to CustomAction

I have the same problem, and neither of the 2 links referenced above.

The steps in http://www.advancedinstaller.com/user-guide/qa-c-sharp-ca.html work fine if you only want to pass 1 parameter at most.

If we follow these steps what do we need to put into the Action Data to do this?

Please give ...
by Dean.Wilson
Fri Aug 26, 2011 11:06 am
Forum: Common Problems
Topic: Pass multiple parameters to a .DLL
Replies: 6
Views: 11488
 
Jump to post

Re: Pass multiple parameters to a .DLL

There seems to be about 4 different ways to call a method on a .DLL, yet the way I described pointing to a file that gets installed in APPDIR seems to be the only one that doesn't either fail or simply not call the DLL.

I feel like I have tried every combination of different methods of calling a ...
by Dean.Wilson
Thu Aug 25, 2011 5:53 pm
Forum: Common Problems
Topic: Pass multiple parameters to a .DLL
Replies: 6
Views: 11488
 
Jump to post

Pass multiple parameters to a .DLL

Hi there,

I have a "New Installed Custom Action" custom action which points to CustomActions.CS.dll and calls the specified function no problem.

However I want to pass 2 parameters to the function. I tried

/ORIGINALFILE="[#Web.config_1]" /REPLACEFILE="[ConfigFiles_Dir]Providers.config"

trying to ...
by Dean.Wilson
Tue Aug 23, 2011 11:37 am
Forum: Common Problems
Topic: Merge XML file with user selected XML file
Replies: 1
Views: 1800
 
Jump to post

Merge XML file with user selected XML file

Hi there,

I can overwrite parts of the Web.config with values provided in the UI by adding a Windows-Installer XML file containing the nodes to overwrite, no problem.
I can also overwrite entire XML files with a user selected XML file by using the Move / Copy custom action.

But now I need to ...
by Dean.Wilson
Mon Aug 22, 2011 10:30 am
Forum: Common Problems
Topic: Overwrite installede XML file with user selected XML file
Replies: 1
Views: 1862
 
Jump to post

Overwrite installede XML file with user selected XML file

Hi there,

I have a standard install process that installs an XML file as a normal file.

The last screen in the UI asks the user to optionally select their own XML file from their computer. I need to be able to replace the standard XML file with the one they select.

I have already got it working ...

Go to advanced search