I am a new user and find tool quite good.
I am using trying to use the tool to install a VB Macro(AddIn) behind an Excel Application(Worksheet).
Firstly I need to Install the AddIn(.xla file) in a user specified location. This can be done by the "Select Installation Folder" screen of the SetUp wizard.
I have 2 problems which are outlined below:
1. I need to know the location of where the client puts the .xla as I need to add it to the Excel Application. I have a dll which attempts to do this - it removes previous AddIns and adds the new AddIn to the Excell Application - hence I need the location of the new AddIn file which the user selected in the aforementioned "Select Installation Folder"
2. I cant seem to get the dll working either. I wrote another FileScripter.dll , to test dll execution from the "Advanced Installer Application" which is nice and simple - it just writes a line of text to a file on the C Drive.
The dll is added as a Custom Action...
Sourcepath = TARGETDIR\FileScripter.dll;
SourceType = dll;
Function Name = WriteToFile;
Execution Properties = Asynchronous execution, wait for return code at the sequence;
Execution Options = Immediate execution;
Execution Condition = NOT INSTALLED
I know that the dll functions correctly as I have written a test exe to run it and it runs successfully.
Any help would be appreciated.
Sean