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

Go to advanced search

by craig27527
Fri Mar 03, 2017 5:42 pm
Forum: Building Installers
Topic: Getting the installer directory from a custom action DLL
Replies: 3
Views: 2717
 
Jump to post

Getting the installer directory from a custom action DLL

I have a custom action that calls into a C++ DLL in order to read some xml files and do some processing. That all works great, however, I can't figure out how from the DLL to get the directory that the installer was run from. Right now I have the xml files on the root of the C drive. I need to be ...
by craig27527
Mon Feb 13, 2017 3:48 pm
Forum: Building Installers
Topic: How to access xml file from custom action dll
Replies: 1
Views: 2172
 
Jump to post

How to access xml file from custom action dll

I have a custom action dll that needs read from two xml files to be able to set several msi set property flags for the installer to use for custom actions. I have added my two xml files as temporary files, my question what location do I use to read the xml files from? Is it correct that they are ...
by craig27527
Mon Feb 13, 2017 3:27 pm
Forum: Building Installers
Topic: Passing CL arguments to setup exe
Replies: 3
Views: 2639
 
Jump to post

Re: Passing CL arguments to setup exe

Awesome. Thanks!!
by craig27527
Tue Feb 07, 2017 10:00 pm
Forum: Building Installers
Topic: Passing CL arguments to setup exe
Replies: 3
Views: 2639
 
Jump to post

Passing CL arguments to setup exe

Is it possible to pass say a model number as a command line arguments to be used as a property to do a custom action? I'm using a single exe setup with resources inside.

Example: setup.exe 123ABC

123ABC would trigger a specific set of features to be installed.

Thanks,
Craig
;)
by craig27527
Tue Feb 07, 2017 9:36 pm
Forum: Building Installers
Topic: Return value of custom app determines an action
Replies: 1
Views: 1841
 
Jump to post

Return value of custom app determines an action

I had once found an article that had talked about how you could call an external c++ exe and based whether the return was zero or non-zero, it would perform / not perform a specific action. Now ofcourse, I can not find any mention of this feature.

Thanks in advance...

Craig

Go to advanced search