Advanced Installer Community - Search

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

Go to advanced search

by Stardraw
Mon Nov 02, 2009 4:15 pm
Forum: Common Problems
Topic: 1627 Method: MsiViewExecute Table: MergeMod
Replies: 5
Views: 4618
 
Jump to post

Re: 1627 Method: MsiViewExecute Table: MergeMod

I've now sent my test aip project to support.

Please let me know that you received it and that it shows the same problem.
by Stardraw
Mon Nov 02, 2009 3:35 pm
Forum: Common Problems
Topic: 1627 Method: MsiViewExecute Table: MergeMod
Replies: 5
Views: 4618
 
Jump to post

Re: 1627 Method: MsiViewExecute Table: MergeMod

The msi isn't in use.

I've even created a new, test aip and I can add the 32bit msm merge module and build ok. I can remove this and add the 64bit msm merge module and build ok, but as soon as I have both, I get the build error.

Can you confirm that ai supports identical msm files with different ...
by Stardraw
Mon Nov 02, 2009 12:42 am
Forum: Common Problems
Topic: 1627 Method: MsiViewExecute Table: MergeMod
Replies: 5
Views: 4618
 
Jump to post

1627 Method: MsiViewExecute Table: MergeMod

I'm getting a build error when I add a mergemodule that has the same name and version, but with a different platform, such as AMD64:

Creating MSI database... done.
Adding merge modules... error.
Exception - Reason: Error calling Msi API: 1627 Method: MsiViewExecute Table: MergeMod.

I can build and ...
by Stardraw
Mon Aug 24, 2009 8:14 pm
Forum: Common Problems
Topic: Different Builds in same aip
Replies: 5
Views: 5280
 
Jump to post

Re: Different Builds in same aip

This is really close to what I want, except that I can only have one of the same type of Pre-Requisite and each one can only have one type of setting - in package or URL.

I presume that the workaround is to create my own PreRequisite and copy the settings from the real one with the type of setting ...
by Stardraw
Sat Aug 08, 2009 10:29 am
Forum: Common Problems
Topic: Different Builds in same aip
Replies: 5
Views: 5280
 
Jump to post

Re: Different Builds in same aip

This is close to what I want, however, how do I define different locations for the Pre-Requisites, such as .net 3.5 ?

To be clear, I want 3 builds:

1. Self Contained exe with .net 3.5 embedded in setup.exe
2. Web installer with .net 3.5 having a URL to .net 3.5 installer
3. CD installer with .net ...
by Stardraw
Fri Aug 07, 2009 10:13 am
Forum: Common Problems
Topic: Different Builds in same aip
Replies: 5
Views: 5280
 
Jump to post

Different Builds in same aip

I need to build several different media sets of my installer.
For example, .net 3.5 is about 250Mb and I don't want to include it inside every bootstrapper exe.
I need to build a web install version where I can download from a URL if .net 3.5 is not installed.
I also need to build a standalone ...
by Stardraw
Tue Dec 30, 2008 4:46 pm
Forum: Common Problems
Topic: Upgrading and Custom Action
Replies: 2
Views: 2808
 
Jump to post

Re: Upgrading and Custom Action

That worked great.

Thanks a lot for your great support
by Stardraw
Mon Dec 29, 2008 7:35 pm
Forum: Common Problems
Topic: Upgrading and Custom Action
Replies: 2
Views: 2808
 
Jump to post

Upgrading and Custom Action

I need to run an executable if I am upgrading an old version of my product.
This executable will convert some data stored in the old program so it must be run before the old program is uninstalled.
I figure that this exe will write out to a well known temporary file, then complete the uninstall and ...
by Stardraw
Thu Nov 27, 2008 12:01 pm
Forum: Common Problems
Topic: force reboot after custom action
Replies: 8
Views: 7622
 
Jump to post

Re: force reboot after custom action

So what am I doing wrong?
Why would ::MsiSetProperty return Invalid Handle?
by Stardraw
Wed Nov 26, 2008 6:31 pm
Forum: Common Problems
Topic: force reboot after custom action
Replies: 8
Views: 7622
 
Jump to post

Re: force reboot after custom action

This is my code...

UINT ShowError(LPTSTR caption, UINT res) {

DWORD error = ::GetLastError();

_TCHAR buffer[1024];

wsprintf(buffer, "An error occured during installation : %d, %x", error, res);

MessageBox(NULL, buffer, caption, MB_OK);

return 1;
}

UINT __stdcall InstallHasp(MSIHANDLE ...
by Stardraw
Wed Nov 26, 2008 6:10 pm
Forum: Common Problems
Topic: force reboot after custom action
Replies: 8
Views: 7622
 
Jump to post

Re: force reboot after custom action

I'm seeing a strange problem when I try to set the REBOOT property:

res = ::MsiSetProperty(hInstall, _T("REBOOT"), _T("Force"));

res is set to 6 (ERROR_INVALID_HANDLE)

Interestingly, hInstall is also 6 when the entrypoint in the DLL is called.
This could be a coincidence, but MsiSetProperty ...
by Stardraw
Wed Nov 26, 2008 4:30 pm
Forum: Common Problems
Topic: force reboot after custom action
Replies: 8
Views: 7622
 
Jump to post

Re: force reboot after custom action

From within my Custom Action DLL, how do I find out where the application has been installed to?
I need to do a ShellExecute on an exe that has been copied to the APPDIR.
by Stardraw
Thu Nov 06, 2008 1:11 am
Forum: Common Problems
Topic: force reboot after custom action
Replies: 8
Views: 7622
 
Jump to post

force reboot after custom action

I have a custom action that runs a 3rd party exe that installs a device driver.
It may return an error code of -17 if the system needs to be rebooted.
I would like to catch this error code and set the REBOOT flag appropriately.
How do I do this?
by Stardraw
Thu Oct 16, 2008 12:59 pm
Forum: Common Problems
Topic: Multi-Language Files
Replies: 1
Views: 2326
 
Jump to post

Multi-Language Files

I have a multi-language installation.
I have a different exe that needs to be installed for each language.
That is, my executable is "myexe.exe" and I have may different versions of this exe for each language stored in different directories:
English\myexe.exe
French\myexe.exe
German\myexe.exe
etc ...

Go to advanced search