Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3954254
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T02:04:30+00:00 2026-05-20T02:04:30+00:00

This is a problem I have been battling with for a few days and

  • 0

This is a problem I have been battling with for a few days and am now at my wits end. I am creating an MSI with Wise Installation Studio but I would bet it could be repro’d with any MSI authoring program. I have created a test sample for those that wish to repro with the MSI, DLL or WSI files that I have posted.

  1. Create a new wise solution, saved as ‘test.wsi’ and creates ‘test.msi’
  2. Do nothing to this file except to add two custom actions after the MigrateFeaturesState action in the ‘UI Sequence’
  3. The first custom action is a ‘Call DLL From Installation’ that passes in no parameters and ignores the return code
  4. The second custom action is a ‘Call Custom DLL From Installation’ that passes in no parameters and ignores the return code
  5. Both actions reference the same DLL and same function, helloworld.dll and HelloWorld() function that just displays a ‘HelloWorld’ Message box

Expected Result:
Two hello world prompts and then the regular UI screen to start the installation process.

Here is my current setup:
Development Box:
– Wise Installation Studio 7.4.0.214
– Win7 x64 running with UAC turned off,

Test Box:
– Windows XP SP3
– Windows Installer v4.5.6001.22159
– .Net Framework v4.0

Here are my test cases:

  1. Non-admin with ascii user name – Results are as expected for both ‘ALLUSERS=””‘ and ALLUSERS=”1″
  2. Admin with unicode characters in name ‘あくぇえ’ – Results are as expected for both ‘ALLUSERS=””‘ and ALLUSERS=”1″
  3. Non-admin with unicode characters in name ‘发涩’ – Only the first prompt appears and an error is displayed for the second as follows:
    “Error in custom action. The library C:\Documents and Settings\??[LongAlphaNumericString].TMP\WiseCustomCalla.dll is invalid or could not be found.”
    This happens for both ‘ALLUSERS=””‘ and ALLUSERS=”1″
  4. Login with another admin and set user in #3 to admin, login with user in #3 again and we get the expected results.

I’ve tried messing around with forcing short paths and passing in an alternate path to the users data folder but nothing works. Anyone know why this is happening and how to fix it?
I’ve included all the files I used for this testing here, this includes a screen shot of the error message, the msi and msi.xml, the wsi file, the helloworld.dll (test with rundll32 helloworld.dll,HellowWorld) and logs for each test case above.

http://dl.dropbox.com/u/1797288/error.zip

What needs to be changed in the MSI/WSI file so that #3 works correctly for the ‘Call Custom DLL from Installation’ action?

Thanks,
Aaron P

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T02:04:31+00:00Added an answer on May 20, 2026 at 2:04 am

    I think the problem is caused by the way these DLLs are handled. A DLL from installation is stored in Binary table and automatically extracted during install. It’s native, so it works as expected.

    Call custom DLL from installation most likely uses an incorrect path for extracting the DLL during install. It may be a per-machine location which cannot be accessed by a non-admin user.

    Try building the MSI with a codepage that supports the Unicode characters (you can set the MSI language). Also, try creating a log and post the actual DLL path.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This problem has been kicking my butt for a few days now. I have
I've been batting this problem around in my head for a few days now
Hey I have been battling with this problem for a while now. Perhaps there
I've been battling with this issue for a couple of days now. I have
I have been trying to tackle this problem , but I am having difficulty
I have been puzzling over a problem this morning with LinqToSQL. I'll try and
This is a really weird problem that I have been having. When I download
I've been thinking about this problem for a while and have yet to come
This problem must have been solved a million times, but Google has not been
Figure there is a simple solution to this problem but I have been unable

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.