Can't build project on VMware Fusion - Advanced Installer Community

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!

krb19xx
Posts: 3
Joined: Mon Jan 02, 2012 4:55 pm

Can't build project on VMware Fusion

I'm trying to use AI 8.8.1 on a Windows VMware Fusion VM running on a Mac OSX system.

When I try to build the project I get an error: Could not create cabinet file.. I am attaching a screen shot.

I think it may have something to do with the way the file and folders paths look under VMware...?? Or maybe it's a permissions problem?

Any help would be greatly appreciated.
Attachments
AI Error Screenshot
AI Error Screenshot
Screen shot 2012-01-02 at 10.57.35 AM.png (44.09 KiB) Viewed 3341 times
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Can't build project on VMware Fusion

It could be a permissions problem, as I suspect space availability is not a problem?

By default Advanced Installer writes the .cab files in the temp folder of the current user. Do you have any special configuration for that folder on the VM? After the files is completely generated its placed in the location specified by the settings from the project, i.e. in the MSI, EXE or next to the package.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
krb19xx
Posts: 3
Joined: Mon Jan 02, 2012 4:55 pm

Re: Can't build project on VMware Fusion

Thanks for the response, Bogdan.

I looked in the Windows 7 Temp directory (C:\Users\User\AppData\Local\Temp) and found a bunch of 0-length files with names like aieDF35.tmp. I assume these are the AI temp files? so it looks like AI is able to create them but not write into them?

I haven't done anything special to the Temp directory - just created the Windows 7 user and took whatever the defaults are. Other programs seem to be able to use the Temp directory successfully...

I will keep trying to play with the permissions to get it to work, but something is weird here. Perhaps is AI gave more information when it takes the error, that would be helpful (like what directory it was trying to write the CAB file in, and what was the reason why it failed...).
krb19xx
Posts: 3
Joined: Mon Jan 02, 2012 4:55 pm

Re: Can't build project on VMware Fusion

Bogdan. Good news - I got it working. The problem was related to the way files and folders get done when you're running Windows 7 in a VMware Fusion VM on Mac OSX, which is really complex.

Basically, when I had the AI .aip file located on a Shared folder that both the Windows and Mac OS's have access to, AI failed, I believe because it couldn't write the .cab file in the Windows user's Temp directory, which is not in the Shared directory tree.

So I moved the .aip file over to the Windows user's non-shared directory tree (i.e. a directory under C:\) and everything started to work.

Thanks for your help - I couldn't have solved this without it.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Can't build project on VMware Fusion

Glad you've got it working.

Best of all,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”