Jump to content











Photo
- - - - -

.msi installation won't proceed if temp folder is in a ramdisk (ImDisk)


  • Please log in to reply
14 replies to this topic

#1 Azev

Azev

    Newbie

  • Members
  • 23 posts
  •  
    Brazil

Posted A week ago

Hi,

 

I use ImDisk's Ramdisk and it is great!

 

But one thing thats annoys me is that everytime I have a .msi package to install it gives an error about "can't find device" and setup will not continue. So I have to set %temp% folder to a actual disk (like c:\temp) and restart the computer. Only then I can setup from .msi files. And only then set %temp% back to ramdisk.

 

Is there a way to fix this?



#2 v77

v77

    Silver Member

  • Team Reboot
  • 585 posts
  •  
    France

Posted A week ago

Some MSI installers don't work with ImDisk (Toolkit or not).
Could you please say what is exactly this MSI file? Where download it?



#3 Azev

Azev

    Newbie

  • Members
  • 23 posts
  •  
    Brazil

Posted A week ago

https://clients.amazonworkspaces.com/

click download in the bottom of the page.



#4 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15392 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted A week ago

@Azev

This may be of interest to you, different virtual disk drivers have different levels of integration with the device manager/mount manager:

http://reboot.pro/to...e-9#entry215428

 

:duff:

Wonko



#5 Azev

Azev

    Newbie

  • Members
  • 23 posts
  •  
    Brazil

Posted A week ago

Also, in the past, I've experienced other issues with installers when the %temp% is in a ImDisk ramdisk volume.

Those installers weren't .msi.

 

This is a tricky issue.

I bet a lot of users won't realize it and instead will think their Windows have some bug/issue or the installer is corrupt..

 

Took me some time to realize it.


Edited by Azev, A week ago.


#6 v77

v77

    Silver Member

  • Team Reboot
  • 585 posts
  •  
    France

Posted A week ago

https://clients.amazonworkspaces.com/
click download in the bottom of the page.


Just tried this installer in Windows 10 1809 and got no error.
My TEMP variables was redirected to a ramdisk, 1GB NTFS.

#7 Azev

Azev

    Newbie

  • Members
  • 23 posts
  •  
    Brazil

Posted A week ago

Yi32f32.png

 

SMMichS.png



#8 v77

v77

    Silver Member

  • Team Reboot
  • 585 posts
  •  
    France

Posted A week ago

OK thanks. So something else is interfering, and we have to find out what.
With all these reports about MSI installers, including some errors I got some years ago, this is definitely something very common that interfers.

By the way, your drive icon, did you changed it?



#9 Azev

Azev

    Newbie

  • Members
  • 23 posts
  •  
    Brazil

Posted A week ago

For the icon:


ramdisk icon.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\R\DefaultIcon]
@="C:\\Windows\\System32\\imageres.dll,29"

 



#10 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15392 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted A week ago

Possibly unrelated, but for *some* reasons *some* installers (not necessarily .msi) have sometimes issues with NTFS (not with it but with its permissions/metadata) and the same installer works fine from a FAT16/32 filesystem.

 

:duff:

Wonko



#11 Azev

Azev

    Newbie

  • Members
  • 23 posts
  •  
    Brazil

Posted A week ago

My R:\ is NTFS [ramdisk]

My C:\ is NTFS [ssd]

 

Some .msi installers (and some non-msi .exe installers) will bug with ramdisk

%temp% must be in a physical drive.



#12 Azev

Azev

    Newbie

  • Members
  • 23 posts
  •  
    Brazil

Posted 5 days ago

0L6Ttk2.png



#13 v77

v77

    Silver Member

  • Team Reboot
  • 585 posts
  •  
    France

Posted 5 days ago

If I remove permissions from the Temp folder in the ramdisk, I get another error. So we can forget this lead.

How exactly do you create the ramdisk?



#14 Azev

Azev

    Newbie

  • Members
  • 23 posts
  •  
    Brazil

Posted 5 days ago

9V49w1i.png



#15 v77

v77

    Silver Member

  • Team Reboot
  • 585 posts
  •  
    France

Posted 5 days ago

Thanks. I still cannot reproduce this error.

However, I see that there is no text next to the green circle. It seems that the language file is missing. Did you remove it?
Of course removing the language file cannot create this error, but I find that suspect.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users