This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.
  • Index
  •  » Advanced Topics
  •  » Scratch Team needs help making an updated / improved .msi installer.

#26 2011-11-10 10:25:33

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Scratch Team needs help making an updated / improved .msi installer.

Lightnin wrote:

It looks like they were made with advanced installer maker. I made an updated .msi using the free version, but it doesn't do file associations and doesn't handle edited Scratch.ini files. You gotta pay $$$ for that.?

Lol, I made an installer with that too. I added the file associations to the registry tab and it worked like a charm. Still no Scratch.ini editing though.


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#27 2011-11-10 10:34:08

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: Scratch Team needs help making an updated / improved .msi installer.

MathWizz wrote:

Lightnin wrote:

It looks like they were made with advanced installer maker. I made an updated .msi using the free version, but it doesn't do file associations and doesn't handle edited Scratch.ini files. You gotta pay $$$ for that.?

Lol, I made an installer with that too. I added the file associations to the registry tab and it worked like a charm. Still no Scratch.ini editing though.

Did you have to use the paid version for that?


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#28 2011-11-10 10:36:17

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: Scratch Team needs help making an updated / improved .msi installer.

LS97 wrote:

TRocket wrote:

I will look into it since this is what is stopping us from using 1.4

Offtopic
And what was the recent downtime due to?

Yeah, I noticed it too! It would be nice if you put a little explanation message each time there's a site maintenance, instead of making me get all excited for some big website change  tongue
Anyway, reason for sitedown?

Broken mysql replication. Vladimir caught it quickly and took the site down to repair it.


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#29 2011-11-10 10:43:17

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Scratch Team needs help making an updated / improved .msi installer.

Lightnin wrote:

Did you have to use the paid version for that?

No, I didn't...

Lightnin wrote:

Broken mysql replication. Vladimir caught it quickly and took the site down to repair it.

Aww... Does that mean there are no new website features.  sad

XD

I don't mean to spam but it would help me a lot if you look at [url=http://suggest.scratch.mit.edu/forums/60449-suggestions/suggestions/2372804-add-access-control-allow-origin-to-sb-file-head]this[url].

Last edited by MathWizz (2011-11-10 10:55:29)


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#30 2011-11-10 12:25:58

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: Scratch Team needs help making an updated / improved .msi installer.

Lightnin wrote:

MathWizz wrote:

I might try making this.  smile  What about the .sprite files for sprites?

Time to officially install Scratch on my computer. Right now I have it running in a folder in Documents.  tongue

Y'know, I don't even know if that file association works on Windows - it doesn't on Ubuntu, which is all I really use.

Gratulation for using ubuntu! now install KDE and you're done :p
for me it works :S

Offline

 

#31 2011-11-10 16:09:40

cocolover76
Scratcher
Registered: 2011-10-09
Posts: 500+

Re: Scratch Team needs help making an updated / improved .msi installer.

Lightnin wrote:

MathWizz wrote:

I might try making this.  smile  What about the .sprite files for sprites?

Time to officially install Scratch on my computer. Right now I have it running in a folder in Documents.  tongue

Y'know, I don't even know if that file association works on Windows - it doesn't on Ubuntu, which is all I really use.

Another reason why I hate 11.04.
10.10 (the latest old release) file association works with Scratch.


http://i.imgur.com/HfEPZ.gifhttp://i.imgur.com/pvKb6.png

Offline

 

#32 2011-11-10 17:09:49

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Scratch Team needs help making an updated / improved .msi installer.

I have an idea the IT guy installs a "scratch intstaller creator" on one machine which then like Jens's scratch2exe makes an nsis config file makes the installer with custom ini then it would use a program like exetomsi to make an msi. Would this work?

Last edited by TRocket (2011-11-10 17:11:54)


http://i.imgur.com/1QqnHxQ.png

Offline

 

#33 2011-11-22 13:41:44

alima
New Scratcher
Registered: 2011-11-22
Posts: 1

Re: Scratch Team needs help making an updated / improved .msi installer.

hi, i like scratch. i am just about to make my own sprite and i am looking really forward to doing it.
wish me luck!!!

Offline

 

#34 2011-11-22 15:01:17

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: Scratch Team needs help making an updated / improved .msi installer.

Could you clarify how the silent-install thing works with the MSIs -- is a command-line option passed to the MSI on startup to tell it to be silent, or something; or are MSIs just a format that allows Windows to do this? How does this process of deploying across the network work, exactly?

If an IT guy could clarify this, that'd be great (:


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#35 2011-11-22 15:54:52

Zeusking19
Scratcher
Registered: 2011-07-10
Posts: 1000+

Re: Scratch Team needs help making an updated / improved .msi installer.

Sorry to butt into this conversation, but i quickly wizzed up an image for a graphical install:

http://i39.tinypic.com/a3z9rk.png

Code:

[img]http://i39.tinypic.com/a3z9rk.png[/img]

http://i49.tinypic.com/2w7e1jm.pnghttp://dragcave.net/image/eFGFz.gifhttp://dragcave.net/image/9hE5q.gif

Offline

 

#36 2011-11-22 19:08:30

veggieman
Scratcher
Registered: 2011-08-12
Posts: 100+

Re: Scratch Team needs help making an updated / improved .msi installer.

That looks really indexed. :\


Some days, I wish that my posts would stop disappearing

Offline

 

#37 2011-11-22 19:33:11

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: Scratch Team needs help making an updated / improved .msi installer.

Lightnin, does it have to be compiled into an MSI install?

What about EXE?


Hai.

Offline

 

#38 2011-11-23 08:31:02

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: Scratch Team needs help making an updated / improved .msi installer.

fg123 wrote:

Lightnin, does it have to be compiled into an MSI install?

What about EXE?

No, it has to be .msi - that's the only format you can deploy across an entire network (as far as I know).

blob8108 wrote:

Could you clarify how the silent-install thing works with the MSIs -- is a command-line option passed to the MSI on startup to tell it to be silent, or something; or are MSIs just a format that allows Windows to do this? How does this process of deploying across the network work, exactly?

If an IT guy could clarify this, that'd be great (:

Ah, and I am not an expert in Windows stuff, since I've been using Linux only for about the last 7 years. But here's a definition of quiet mode / silent install: (point 1)
http://en.wikipedia.org/wiki/Windows_In … _interface


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#39 2011-11-23 08:44:04

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: Scratch Team needs help making an updated / improved .msi installer.

Lightnin wrote:

blob8108 wrote:

Could you clarify how the silent-install thing works with the MSIs -- is a command-line option passed to the MSI on startup to tell it to be silent, or something; or are MSIs just a format that allows Windows to do this? How does this process of deploying across the network work, exactly?

Ah, and I am not an expert in Windows stuff, since I've been using Linux only for about the last 7 years. But here's a definition of quiet mode / silent install: (point 1)
http://en.wikipedia.org/wiki/Windows_In … _interface

Ah, I see. Thanks!

Where should the installer place the Scratch files? In "Program Files"? I imagine this would affect the permissions needed to run the installer.


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#40 2011-11-23 09:23:41

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: Scratch Team needs help making an updated / improved .msi installer.

I was just looking at some things, and wanted to record some thoughts...

From what you said about Windows 7 64-bit, I assume you want to be able to build a 64-bit MSI file. I'm sure this is obvious, but I hadn't realised that you have to make separate 32 and 64-bit MSIs (you can't have one MSI file that contains both, like a Mac Universal Binary -- although you can usually run 32-bit programs on 64-bit Windows).

NSIS looks good, but doesn't appear to be able to build a native 64-bit installer yet (although it you can make a 32-bit MSI that installs 64-bit programs and edit 64-bit registry.)

WiX looks quite complicated to use, but it seems to let you make 32 and 64-bit MSIs from one project.

Lightnin wrote:

...include the config file (in this case, Scratch.ini) in the folder with the installer. When the installer runs, it copies the file present in the folder to all the different installations. So it's easy to edit the file before deploying Scratch to all the machines on the network.

I'm not entirely sure how this works, but I'm sure it can be done with NSIS at least; its scripting language looks quite powerful.

Last edited by blob8108 (2011-11-23 09:25:16)


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#41 2011-11-29 10:39:54

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: Scratch Team needs help making an updated / improved .msi installer.

blob8108 wrote:

I was just looking at some things, and wanted to record some thoughts...

From what you said about Windows 7 64-bit, I assume you want to be able to build a 64-bit MSI file. I'm sure this is obvious, but I hadn't realised that you have to make separate 32 and 64-bit MSIs (you can't have one MSI file that contains both, like a Mac Universal Binary -- although you can usually run 32-bit programs on 64-bit Windows).

NSIS looks good, but doesn't appear to be able to build a native 64-bit installer yet (although it you can make a 32-bit MSI that installs 64-bit programs and edit 64-bit registry.)

WiX looks quite complicated to use, but it seems to let you make 32 and 64-bit MSIs from one project.

Lightnin wrote:

...include the config file (in this case, Scratch.ini) in the folder with the installer. When the installer runs, it copies the file present in the folder to all the different installations. So it's easy to edit the file before deploying Scratch to all the machines on the network.

I'm not entirely sure how this works, but I'm sure it can be done with NSIS at least; its
scripting language looks quite powerful.

Thanks for digging into this!

Ah, unfortunately it looks like you can't create .msi installers with NSIS (See upthread for the discussion). Although, there seems to be some contradictory info about that online. So I think Wix is the only option.

As to the 32 bit vs. 64 bit issue: Scratch 1.4 will only ever be 32 bit, so the only package we need to make is a 32 bit .msi. My understanding is that 64 bit systems will install the 32bit package with a 32 bit compatibility later, so they can still run it.


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#42 2011-11-29 11:37:29

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: Scratch Team needs help making an updated / improved .msi installer.

Great news! I just tried asking the nice folks at Advanced Installer Maker if they'd give us a free license, and they said yes! w00t! So we should be able to solve it that - a - way.


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#43 2011-11-29 13:02:22

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Scratch Team needs help making an updated / improved .msi installer.

Lightnin wrote:

Great news! I just tried asking the nice folks at Advanced Installer Maker if they'd give us a free license, and they said yes! w00t! So we should be able to solve it that - a - way.

Cool! Tell em you need adobe flash cs5.5 prefessional for eh, education purposes. I've got some plans...  roll


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#44 2011-11-29 15:07:55

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Scratch Team needs help making an updated / improved .msi installer.

Lightnin wrote:

Great news! I just tried asking the nice folks at Advanced Installer Maker if they'd give us a free license, and they said yes! w00t! So we should be able to solve it that - a - way.

Awesome!  big_smile


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#45 2011-12-01 02:42:31

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: Scratch Team needs help making an updated / improved .msi installer.

Lightnin wrote:

Ah, unfortunately it looks like you can't create .msi installers with NSIS (See upthread for the discussion). Although, there seems to be some contradictory info about that online. So I think Wix is the only option.

I can't believe I missed that... >_<

I assume the Advanced Installer Maker licence means you can't do it in an open source way.  hmm


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#46 2011-12-11 10:02:51

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: Scratch Team needs help making an updated / improved .msi installer.

blob8108 wrote:

Lightnin wrote:

Ah, unfortunately it looks like you can't create .msi installers with NSIS (See upthread for the discussion). Although, there seems to be some contradictory info about that online. So I think Wix is the only option.

I can't believe I missed that... >_<

I assume the Advanced Installer Maker licence means you can't do it in an open source way.  hmm

Not that we found. But it's cool that they gave us a license for free!  smile 

Ok, closing this thread....


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 
  • Index
  •  » Advanced Topics
  •  » Scratch Team needs help making an updated / improved .msi installer.

Board footer